Flash failed. 9x possibly bricked. Please help.

Everything about the smartie programmer and backlight kit!
cmgreenman
Posts: 20
Joined: Tue Apr 14, 2015 2:07 pm
Country: -

Flash failed. 9x possibly bricked. Please help.

Post by cmgreenman »

Hello,
This is my first time flashing the 9x. I have the V2 (according to HK) and the Smartieparts V2.4 board. I'm flashing using eePe on Linux and can communicate with the 9x. I have read the existing firmware and saved it. I then tried to flash the 9x and it gets all the way through the verification and throws an error saying there's a mismatch. The 9x resets and starts acting crazy. sometimes the buzzer goes off constantly, sometimes there's garbled text on the screen but no matter what I couldn't get it to complete using avrdude 6.0.2.1.

I grabbed avrdude 5.11 and that let me complete the flash without error however it still isn't working on the transmitter. The transmitter still acts as above.

I've even tried manually erasing the firmware using avrdude on the command line. I've also verified the fuses are at 0e, 89, and ff (default) using eepe.
I don't know what else to try at this point.

Any suggestions?

Thanks,
Chris

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

Re: Flash failed. 9x possibly bricked. Please help.

Post by jhsa »

What firmware are you trying to flash?

João
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
cmgreenman
Posts: 20
Joined: Tue Apr 14, 2015 2:07 pm
Country: -

Re: Flash failed. 9x possibly bricked. Please help.

Post by cmgreenman »

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

Re: Flash failed. 9x possibly bricked. Please help.

Post by jhsa »

Ok, but what version. what is the name of the file eepe is downloading ? (assuming you are downloading it using eepe)

João
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
cmgreenman
Posts: 20
Joined: Tue Apr 14, 2015 2:07 pm
Country: -

Re: Flash failed. 9x possibly bricked. Please help.

Post by cmgreenman »

Sorry for the slow response. It looks like my posts arebeing moderated.I assume it's because I'm a new user.


I downloaded it directly. Eepe did download something but I have no idea where it put the file. Not sure of the version but I got the hex file from this link:

http://er9x.googlecode.com/svn/trunk/er9x.hex

EDIT: the changelog says R817
Last edited by cmgreenman on Tue Apr 14, 2015 2:57 pm, edited 1 time in total.

cmgreenman
Posts: 20
Joined: Tue Apr 14, 2015 2:07 pm
Country: -

Re: Flash failed. 9x possibly bricked. Please help.

Post by cmgreenman »

Looks like I'm no longer moderated. :-)
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Flash failed. 9x possibly bricked. Please help.

Post by jhsa »

I'm approving them ;) so behave yourself :mrgreen:

Please do here:

https://code.google.com/p/er9x/source/b ... k/er9x.hex

Then on the right side at the bottom right click on "View raw file" and select "Save link as"
Then save it SOMEWHERE YOU CAN FIND IT.. :) and flash it.. You could be downloading an html file instead.. Even if it saves with a .hex extension.
Please report back

João
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
cmgreenman
Posts: 20
Joined: Tue Apr 14, 2015 2:07 pm
Country: -

Re: Flash failed. 9x possibly bricked. Please help.

Post by cmgreenman »

Ok. I'll give it a try. I'm on my work laptop and I can't install drivers so I'll have to boot it back into linux. It'll take a few minutes.


And yes, I'll behave :-D
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Flash failed. 9x possibly bricked. Please help.

Post by jhsa »

Good :D

Welcome to the forum ;)

João
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
cmgreenman
Posts: 20
Joined: Tue Apr 14, 2015 2:07 pm
Country: -

Re: Flash failed. 9x possibly bricked. Please help.

Post by cmgreenman »

Ok Just tried that and I have a blank screen after the flash. here is the log output:

Code: Select all

=================================================================================
Started AVRDUDE
/usr/bin/avrdude -c usbasp -p m64 -F -B 5 -P usb -U flash:w:/home/chris/Downloads/er9xraw.hex:i
=================================================================================

avrdude: set SCK frequency to 187500 Hz
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e9602
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
         To disable this feature, specify the -D option.
avrdude: current erase-rewrite cycle count is 538976412 (if being tracked)
avrdude: erasing chip
avrdude: set SCK frequency to 187500 Hz
avrdude: reading input file "/home/chris/Downloads/er9xraw.hex"
avrdude: writing flash (60616 bytes):

Writing | ################################################## | 100% 31.74s

avrdude: 60616 bytes of flash written
avrdude: verifying flash memory against /home/chris/Downloads/er9xraw.hex:
avrdude: load data flash data from input file /home/chris/Downloads/er9xraw.hex:
avrdude: input file /home/chris/Downloads/er9xraw.hex contains 60616 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 16.89s

avrdude: verifying ...
avrdude: 60616 bytes of flash verified

avrdude done.  Thank you.


=================================================================================
AVRDUDE done - SUCCESSFUL
=================================================================================
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Flash failed. 9x possibly bricked. Please help.

Post by jhsa »

NEVER, EVER use the -F option to flash your radio.. That can brick it, if you didn't already :(

Please USE EEPE to flash the radio.

Apart from having a blank screen, can you control a servo with it?
Please try to download your eeprom USING EEPE.
See if you are able to. If so, please save it where you can find it, zip it, and post it here..

João
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
cmgreenman
Posts: 20
Joined: Tue Apr 14, 2015 2:07 pm
Country: -

Re: Flash failed. 9x possibly bricked. Please help.

Post by cmgreenman »

ok Tried it again without the -F. same result. Unfortunately I can't control a servo without reconnecting the original module. (btw does the module have to be installed to flash?). I'm using an OrangeRX module with a CCPM only lemonrx receiver. I'll try bringing up cleanflight and seeing if it can see receiver input.

Here is the eeprom.
Attachments
eeprom.zip
(892 Bytes) Downloaded 391 times
cmgreenman
Posts: 20
Joined: Tue Apr 14, 2015 2:07 pm
Country: -

Re: Flash failed. 9x possibly bricked. Please help.

Post by cmgreenman »

Just put the module back in. It's not even powering up so there's no way it'll even talk to the receiver.
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Flash failed. 9x possibly bricked. Please help.

Post by jhsa »

What? the radio/module is not powering up? :o

João
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
cmgreenman
Posts: 20
Joined: Tue Apr 14, 2015 2:07 pm
Country: -

Re: Flash failed. 9x possibly bricked. Please help.

Post by cmgreenman »

The radio powers up, I get a blank screen and the backlight comes on. No beeps whatsoever and the module on the back doesn't do anything. no lights and no beeps.
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Flash failed. 9x possibly bricked. Please help.

Post by jhsa »

Ok, the contrast was set to zero, hence the blank screen. Please flash the eeprom attached to my post (USING EEPE) back to the radio. You should have your display back..

I have seen this contrast set to zero thing quite often lately :(

João
Attachments
stock eeprom.eepe
(1.69 KiB) Downloaded 538 times
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
cmgreenman
Posts: 20
Joined: Tue Apr 14, 2015 2:07 pm
Country: -

Re: Flash failed. 9x possibly bricked. Please help.

Post by cmgreenman »

Ok, give me a few minutes.
cmgreenman
Posts: 20
Joined: Tue Apr 14, 2015 2:07 pm
Country: -

Re: Flash failed. 9x possibly bricked. Please help.

Post by cmgreenman »

ok just tried to flash that file and here is the result:

Code: Select all

=================================================================================
Started AVRDUDE
/usr/bin/avrdude -c usbasp -p m64 -P usb -U eeprom:w:/home/chris/Downloads/stock eeprom.eepe:a
=================================================================================

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e9602
avrdude: current erase-rewrite cycle count is 538976412 (if being tracked)
avrdude: reading input file "/home/chris/Downloads/stock eeprom.eepe"
avrdude: input file /home/chris/Downloads/stock eeprom.eepe auto detected as invalid format
avrdude: invalid input file format: -1
avrdude: read from file '/home/chris/Downloads/stock eeprom.eepe' failed

avrdude done.  Thank you.


=================================================================================
AVRDUDE done - exit code 1
=================================================================================
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Flash failed. 9x possibly bricked. Please help.

Post by jhsa »

Are you using eepe?

You're probably trying to flash the firmware with the eeprom file.

Open the eeprom I posted in eepe, and then go to the "Burn" menu and select, "Write memory to tx" then select the file and burn it.

João
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
cmgreenman
Posts: 20
Joined: Tue Apr 14, 2015 2:07 pm
Country: -

Re: Flash failed. 9x possibly bricked. Please help.

Post by cmgreenman »

Yes I'm using eepe. The write memory option is greyed out. I used the "Write EEPROM" option from the Burn menu.

I'll doo it again and grab some screen shots.
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Flash failed. 9x possibly bricked. Please help.

Post by jhsa »

Load the eeprom in eepe and try again. Then the option shouldn't be geyed out.
Use the "open file" in eepe to load the eeprom I have posted.

João
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
cmgreenman
Posts: 20
Joined: Tue Apr 14, 2015 2:07 pm
Country: -

Re: Flash failed. 9x possibly bricked. Please help.

Post by cmgreenman »

On a whim I tried flashing using ZFLASHER AVR on my phone. I flashed the er9x.hex to flash. The attached photo shows the display now.
Attachments
20150414_132513.jpg
Last edited by cmgreenman on Tue Apr 14, 2015 5:44 pm, edited 1 time in total.
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Flash failed. 9x possibly bricked. Please help.

Post by jhsa »

Hmmm, it looks like you will have to open that radio and check if the LCD ribbon is well inserted in the connector.
Take a picture of it and post it here please.. Before you do anything else..
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
cmgreenman
Posts: 20
Joined: Tue Apr 14, 2015 2:07 pm
Country: -

Re: Flash failed. 9x possibly bricked. Please help.

Post by cmgreenman »

Here's the photo of the ribbon cable.

Image

And here's a video of what it does when you turn on the TX:

http://youtu.be/ca3wjUQ-KCY
Attachments
20150414_160656.jpg
Daedalus66
Posts: 1844
Joined: Tue Dec 27, 2011 8:22 pm
Country: -
Location: Ottawa

Re: Flash failed. 9x possibly bricked. Please help.

Post by Daedalus66 »

Don't expect any lights or sounds from the Orange module until it gets a valid PPM signal from the transmitter. In other words, till you sort out your firmware issues. Lack of sound and light does not indicate that it's not powered up.

Good luck. You are in good hands.
cmgreenman
Posts: 20
Joined: Tue Apr 14, 2015 2:07 pm
Country: -

Re: Flash failed. 9x possibly bricked. Please help.

Post by cmgreenman »

Hopefully we can get this figured out. I was wanting to use it this weekend.
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Flash failed. 9x possibly bricked. Please help.

Post by jhsa »

we need some help here. if it is not the LCD ribbon, then what is it?

João
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
User avatar
Kilrah
Posts: 11108
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: Flash failed. 9x possibly bricked. Please help.

Post by Kilrah »

Probably the LCD itself... or power supply.
cmgreenman
Posts: 20
Joined: Tue Apr 14, 2015 2:07 pm
Country: -

Re: Flash failed. 9x possibly bricked. Please help.

Post by cmgreenman »

Well, I will say that the TX was working just fine after I installed the smartie parts programmer and before I flashed it.

Sent from my SM-G900V using Tapatalk
cmgreenman
Posts: 20
Joined: Tue Apr 14, 2015 2:07 pm
Country: -

Re: Flash failed. 9x possibly bricked. Please help.

Post by cmgreenman »

Flashing it is what took it out.

Sent from my SM-G900V using Tapatalk

Post Reply

Return to “SMARTIEPARTS PROGRAMMER”