This note discusses an experimental (== unsupported) mbed interface firmware version which allows you to instruct it to power down. This has the effect of disconnecting the interface as a debugger and disabling the USB interface.
The semantics are:
- The target can make a semihosting call to the interface to request it to power down
- If USB is not connected, the interface will detach its debug connection to the target, then power down
- If USB is connected, it will be ignored and the mbed will function as normal
- The interface will be restored again after a power cycle
The experimental firmware is at:
To load it, drag it on to your mbed and power-cycle. If you want to revert to the standard firmware at any time, go to /handbook/Firmware.
To request a powerdown, take a look at the example program:
Note, as the call is ignored when USB is connected, you can always plug in your mbed and reprogram it as normal.
Please log in to post a comment.