Hi Werner,
Just saw your posts, and thought I'd pipe up.
Early (development) revisions of mbed firmware did use the serial ISP mechanism for boot loading, but we have since moved to JTAG, as it is considerably faster.
There is currently no specific way to remove code protection, other than the way you described, i.e. by forcing the LPC1768 into serial boot loader mode and then using some flashing tools (or if brave, the LPC1768 manual and TeraTerm!) to manually erase the FLASH.
By contrast, we've also not provided any explicit mechanism for creating locked binaries either.
We had considered a "reset to factory default" mechanism to erase and formats the Flash Drive, and I guess this mechanism could also erase the LPC1768 flash too. I guess it depends on how useful locking a binary, and more importantly, the need to unlock it again, is to the mbed community.
Glad you unlocked your mbed okay though.
Thanks,
Chris
Hello,
I just protected my mbed with code protection CRP2 which disables all access to the LPC1768 except for erasing the whole flash via ISP. I believed that the mbed solution uses ISP for programming, but became aware from another thread that this is not the case. So my solution now is protected and I am not able to update software any more. As the mbed chip handles all ISP lines, does it support erasing the flash in a way or at least bringing the LPC into ISP mode by setting P2.10 appropriately ? Otherwise I am thinking to solder an wire to the P2.10 pullup pin to force the processor into ISP mode and then erasing it via an NXP app (lpc21isp or similar). Is there a direct solution with an USB command or similar ?