Cobra 3 not responding

Hi,
I recently purchased a Cobra 3 , and apart from writing a short program to check the on-board LEDs would flash I’ve not used it. Now its not responding. I tried pinging the device from FEZ Config but its not there even though the name G120_Gadgeteer appears in the Device box.
I tried to Reboot TinyCLR and that didn’t work either. There is a TinyBooter update option, but its only for the Cobra 2. Will it work with the Cobra 3?

Thanks
Alastair

yes, updating the firmware is the same since they are both based on the G120. I think that’s what you need to do, remove your app as it seems to be causing the contention on the device

Many thanks Brett, worked a treat.
Alastair

that’s awesome news.
Now there’s some possible reasons why your app gets in a state like this, it’s most likely that the app gets into a CPU-bound condition (tight loops with no thread.sleep) and the debugging thread never gets a chance to respond. Often while you’re in iterative development/deploy stage its worth putting some startup “delay” so that if you reset the board the main application, the debugger gets all the time it needs. That could be as simple as a 5 second delay before doing meaningful work, or coding a loop so that the system waits until a button press occurs before proceeding.

Thanks Brett, I’ll remember that.

1 Like