Jump to content


Photo

Did I brick my board?

firmware brick

  • Please log in to reply
7 replies to this topic

#1 swefpv

swefpv

    New Member

  • Members
  • Pip
  • 4 posts
  • Country: flag of Sweden Sweden

Posted 04 November 2011 - 12:36 AM

Hello everyone,
Just received my new shiny CopterControl board and plugged it into my iMac and it showed up in GCS instantly! Sweet :)

Unfortunately I was so excited I went straigth into the firmware-tab and started messing around (even though I knew I shouldn't have). Shame on me...

I believe I hit Rescue and some sequence began... then hit Halt because I felt the process froze.

And now GCS don't find my board :( In the Firmware-tab the following buttons appear with status:
- Halt, Disabled
- Boot, Enabled
- Reset, Disabled
- Rescue, Enabled

If I hit "Boot" it says:
- "Attempting to boot the system through USB.
Could not enter DFU mode."

And if I hit "Rescue" it says:
- Please connect the board...
- No board connection was detected!

My board is connected with USB-cable and the Pwr-led is green and Stat-Led blinks bluish...

Do I have to do a "Emergency Firmware Recovery" as described in?:
http://wiki.openpilo...rmware+Recovery

It clearly says DONT do it unless instructed so.... so I guess I kneed some help/instructions here ;)

regards Jens

Ps. Started to set up development environment but will halt until further instructions ;)

Edited by swefpv, 04 November 2011 - 12:40 AM.


#2 kevo

kevo

    Advanced Member

  • Members
  • PipPipPip
  • 358 posts
  • LocationSuffolk County NY USA
  • Country: flag of United States United States


Posted 04 November 2011 - 12:41 AM

Simple answer is NO ... its almost impossible to "brick" the board because it does have an actual jtag interface ( you may need to solder a connector to it ) But thats an advanced technique .. I really hope it does not come to that.


Now I dont know much about the advanced rescue techniques ..

But for the basic rescue mode , you may need to vary exactly when you plug the board into the usb port. the gcs needs to talk to the board during a very short window as it boots up . So you may need to plug the board in just a moment before you click the rescue button , you may also need to plug it in just a hair after you click.

For me , using last years i7 imac , I need to plug in just a fraction of a second before I click rescue.

Hope this helps.

#3 K Wells

K Wells

    Key Member

  • Members
  • PipPipPip
  • 3220 posts
  • LocationTexas
  • Country: flag of United States United States


Posted 04 November 2011 - 01:01 AM

Make sure you only have USB power to the board...no battery
Looking Forward to the Maiden

#4 peabody124

peabody124

    Banned

  • Banned
  • PipPipPip
  • 5870 posts
  • LocationHouston, TX
  • Country: flag of United States United States


Posted 04 November 2011 - 06:47 PM

It sounds like you did brick it. If you mess around with the wrong think in the bootloader you can break the bootloader we upload. However, you didn't list all the steps that would be required to do that so I'm unsure. Not detecting it in GCS is a bad sign though, especially since it did at first.

As KWellis pointed out though, to get back into the bootloader
1. Unplug everything
2. Restart GCS
3. Go to firmware tab and click rescue
4. Plug in board
Testing crumple zones

#5 dankers

dankers

    Head Lemon Coordinator

  • Members
  • PipPipPip
  • 11058 posts
  • Country: flag of Australia Australia


Posted 04 November 2011 - 07:42 PM

Well, Kevo is right, its impossible to brick it as the JTAG adapter however, there is also a built in serial bootloader also so anything can e recovered from.

However, I don;t even think you will need to do that, I think perhaps the board got confused somehow.

All the boards from this batch have the latest and greatest firmware on them so really, there is no need to change the firmware until the next release, we are waiting on some Spektrum testing for that.

#6 swefpv

swefpv

    New Member

  • Members
  • Pip
  • 4 posts
  • Country: flag of Sweden Sweden

Posted 05 November 2011 - 01:29 PM

Thanks for all the responses!
- I tried the trick with connecting the card in different "timeframes" while hitting the rescue-button but with no success (iMac 2007/08) :(
- Tried different USB/Cables and ports
- Tried removing/reinstalling GCS
- Then I installed GCS on my old windows-laptop and WHOA the board appeared! :D
- Back to th imac. No success. Strange.

I figured since I reinstalled GCS on the iMac it would be like a "fresh start" but I noticed that I didnt get that first popup telling me that "There is no configuration-file", the second time I installed. Maybe there is something broken in that file... so where is it located exactly?

Once i can remove that file, reinstall GCS on iMac, get the first-time-popup telling me configurationfile is missing and THEN not finding the card I guess we can rule out a few things!

regards J

Edited by swefpv, 05 November 2011 - 01:33 PM.


#7 peabody124

peabody124

    Banned

  • Banned
  • PipPipPip
  • 5870 posts
  • LocationHouston, TX
  • Country: flag of United States United States


Posted 05 November 2011 - 03:57 PM

Honestly there is nothing in the config file related to detecting the board (it is located in ~/.config/OpenPilot/OpenPilot.xml . I would try on a different computer if you have access to one.
Testing crumple zones

#8 swefpv

swefpv

    New Member

  • Members
  • Pip
  • 4 posts
  • Country: flag of Sweden Sweden

Posted 05 November 2011 - 08:18 PM

Hmm.... I removed the file and the board appeared! I saved à copy of the old file for debugging and put i back! Still worked... so that was probably not it! My plan was to post both files here for you guys to examine but I managed to delete it/empty trash! Sorry :(
Anyways Im back in business :)
Thank you!