My first inclination with this new board was to interface with a colorimeter via I2C. The colorimeter has a number of registers that must be interacted with. I debugged the class I had written and knew there was an exception in it.
I decided to go ahead and deploy it so I could see how MF would respond to an unhandled exception.
The result was, MF responds to the exception with “waiting for debug commands…” or shows the hard error display.
I’ve tried every combination I know to get either VS2010 or MFDeploy to interact with the device so I could
erase the program and put something minimal on the Spider. I’ve reset the board more than 100 times hoping to catch it at the right point – no joy.
There must be an alternative. Can you help?
(And let this be a warning to others – catch those exceptions!)
Windows detects it.
MF Deploy sees it.
MF Deploy cannot ping it. Returns message of no response from device.
Attempting to deploy returns the same message with MFDeploy. With VS2010, it just hangs.
Unplugging modules did not help. I tried all of those combinations.
I rebooted the PC as well. Everything to get its attention including disconnecting the USB.
The fact that the message “waiting for debug commands…” appears when the exception happens tells me that something dodgy is going on after the exception as opposed to a loop.
There are 4 switches. Switch number 1 and number 3 to “On”. Press and release Reset.
This will force the board to stay in bootloader mode. MF Deploy can then be used to erase the user application. If you erase all then you will have to re-flash GHI firmware. It is not necessary to erase all…
Remember to set all the switches back to Off and reset. Should be back to normal.
The switch configurations are explained on the card found in FEZ Spider’s bag.
And if, at some point, you are not sure what is happening with the board (rarely needed for beginners) you can use FEZ Spider updater application (included in the installed SDK) that reflashes the firmware and erases the user application.
Or you can use the more advanced troubleshooting processes using MFDeploy and accessing GHI boot loader:
[url]http://wiki.tinyclr.com/index.php?title=Firmware_Update_EMX[/url]