Continuous speaker beep when powered on

General mods that are considered worth doing; regardless of the end firmware you use.
Post Reply
andrewju
Posts: 784
Joined: Tue Aug 21, 2012 7:29 am
Country: Russian Federation
Location: Moscow

Continuous speaker beep when powered on

Post by andrewju »

Hi All,

I am salvaging a stock 9x mainboard after a battery reverse polarity brick and a series of unsuccessful recovery attempts. For some reason, the previous owner decided to replace both 5V and 3.3V regulators. He didn't have the right components, and didn't care so much to look for datasheets or read the Inet... When I got the board it already had a number of tracks and pads damaged, both VRs missing and there were some huge wires soldered around the place where VRs used to be. According to the information from the owner, he tried to replace 5V reg first, but it didn't work so he went for 3.3V reg as well. And then he realized he put in the 5V reg wrong because it was in a larger package and he didn't check the pinout... He's not really sure, but he thinks the battery voltage may have reached +5V or +3.3V line while he was experimenting...


I cleaned the board as much as I could, restored broken tracks and put in new VRs. When powered on, there is now the correct voltage on +5V and +3.3V lines. But there's nothing on the screen, and the stock beeper makes continuous 'beeeeeeeep' as long as the power is supplied.

Did someone see a similar behavior?
Does that look like a dead Atmega, or shall I check something else before I put a new chip in?
Last edited by andrewju on Sat Apr 19, 2014 9:38 am, edited 2 times in total.

User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Continuous speaker beep when powered on

Post by jhsa »

is it also the same LCD he had? if he put battery voltage on it for sure it is dead. does the programer see the chip? can you read the eeprom?
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
andrewju
Posts: 784
Joined: Tue Aug 21, 2012 7:29 am
Country: Russian Federation
Location: Moscow

Re: Continuous speaker beep when powered on

Post by andrewju »

No, no, it's just the mainboard that was "tortured" before. All other components (including the screen) are from a known working system.

I didn't try to read the chip yet. I thought I won't even try it, since I suspected the chip to be bad. Thinking of it now, well, it won't do any harm to put a programmer and try reading the chip. Will try it tomorrow. Thanks!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Continuous speaker beep when powered on

Post by jhsa »

if you succeed to read the chip, that could mean that is good....
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
andrewju
Posts: 784
Joined: Tue Aug 21, 2012 7:29 am
Country: Russian Federation
Location: Moscow

Re: Continuous speaker beep when powered on

Post by andrewju »

Now this is interesting! I was able to successfully read EEPROM and Firmware from the chip:

Code: Select all

=================================================================================
Started AVRDUDE
C:/Program Files/eePe/avrdude.exe -c usbasp -p m64 -v -U eeprom:r:D:/Firmware/er9x/123.bin:r
=================================================================================

avrdude.exe: Version 5.10, compiled on Jan 19 2010 at 10:45:23
             Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
             Copyright (c) 2007-2009 Joerg Wunsch

             System wide configuration file is "C:\Program Files\eePe\avrdude.conf"

             Using Port                    : lpt1
             Using Programmer              : usbasp
             AVR Part                      : ATMEGA64
             Chip Erase delay              : 9000 us
             PAGEL                         : PD7
             BS2                           : PA0
             RESET disposition             : dedicated
             RETRY pulse                   : SCK
             serial program mode           : yes
             parallel program mode         : yes
             Timeout                       : 200
             StabDelay                     : 100
             CmdexeDelay                   : 25
             SyncLoops                     : 32
             ByteDelay                     : 0
             PollIndex                     : 3
             PollValue                     : 0x53
             Memory Detail                 :

                                      Block Poll               Page                       Polled
               Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
               ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
               eeprom         4    20    64    0 no       2048    8      0  9000  9000 0xff 0xff
               flash         33     6   128    0 yes     65536  256    256  4500  4500 0xff 0xff
               lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
               hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
               efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
               lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
               calibration    0     0     0    0 no          4    0      0     0     0 0x00 0x00
               signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

             Programmer Type : usbasp
             Description     : USBasp, http://www.fischl.de/usbasp/

avrdude.exe: auto set sck period (because given equals null)
avrdude.exe: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.02s

avrdude.exe: Device signature = 0x1e9602
avrdude.exe: reading eeprom memory:

Reading | ################################################## | 100% 0.34s

avrdude.exe: writing output file "D:/Firmware/er9x/123.bin"

avrdude.exe done.  Thank you.


=================================================================================
AVRDUDE done - SUCCESSFUL
=================================================================================



=================================================================================
Started AVRDUDE
C:/Program Files/eePe/avrdude.exe -c usbasp -p m64 -v -U flash:r:D:/Firmware/er9x/123-fw.bin:r
=================================================================================

avrdude.exe: Version 5.10, compiled on Jan 19 2010 at 10:45:23
             Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
             Copyright (c) 2007-2009 Joerg Wunsch

             System wide configuration file is "C:\Program Files\eePe\avrdude.conf"

             Using Port                    : lpt1
             Using Programmer              : usbasp
             AVR Part                      : ATMEGA64
             Chip Erase delay              : 9000 us
             PAGEL                         : PD7
             BS2                           : PA0
             RESET disposition             : dedicated
             RETRY pulse                   : SCK
             serial program mode           : yes
             parallel program mode         : yes
             Timeout                       : 200
             StabDelay                     : 100
             CmdexeDelay                   : 25
             SyncLoops                     : 32
             ByteDelay                     : 0
             PollIndex                     : 3
             PollValue                     : 0x53
             Memory Detail                 :

                                      Block Poll               Page                       Polled
               Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
               ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
               eeprom         4    20    64    0 no       2048    8      0  9000  9000 0xff 0xff
               flash         33     6   128    0 yes     65536  256    256  4500  4500 0xff 0xff
               lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
               hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
               efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
               lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
               calibration    0     0     0    0 no          4    0      0     0     0 0x00 0x00
               signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

             Programmer Type : usbasp
             Description     : USBasp, http://www.fischl.de/usbasp/

avrdude.exe: auto set sck period (because given equals null)
avrdude.exe: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.02s

avrdude.exe: Device signature = 0x1e9602
avrdude.exe: reading flash memory:

Reading | ################################################## | 100% 10.84s

avrdude.exe: writing output file "D:/Firmware/er9x/123-fw.bin"

avrdude.exe done.  Thank you.


=================================================================================
AVRDUDE done - SUCCESSFUL
=================================================================================

The current fuses are:

Code: Select all

avrdude.exe: safemode: lfuse reads as E
avrdude.exe: safemode: hfuse reads as 89
avrdude.exe: safemode: efuse reads as FF
avrdude.exe: safemode: Fuses OK
What does it mean? May it be that there are just some Atmega outputs damaged, so it doesn't output anything to the LCD, and beeper control line is also broken?

User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Continuous speaker beep when powered on

Post by jhsa »

what happens if you try to flash the FW?
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
andrewju
Posts: 784
Joined: Tue Aug 21, 2012 7:29 am
Country: Russian Federation
Location: Moscow

Re: Continuous speaker beep when powered on

Post by andrewju »

Funny, after I wrote my previous post I tried to flash the new FW - and it worked!
Going to test if all is really working...

Very strange, it means the original FW got corrupted somehow...


Thanks a lot, Joao! :)
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Continuous speaker beep when powered on

Post by jhsa »

Glad you fot it working ;)

Sent from my GT-I9195 using Tapatalk
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

Post Reply

Return to “Electronic Mods”