Open this program in the mbed Compiler, where you can edit it and compile it for your hardware.
Download this program as .zip file.
A test program to recreate the system hang bug if you don't have a putc in the interrupt routine handler...
| main.cpp [code] |