Hello - I have similar phenomenon - Initially the LPC800 mini board was entering ISP boot mode (http://www.lpcware.com/lpc800-mini-kit).
I downloaded latest FlashMagic ... 7.47.3157 and connection with board was established and was able to read back Device signature ...
However later I erased first the memory and Flashed<strong> LPC810M021FN8</strong> device with LPC810_Blinky_0_2.hex(https://github.com/microbuilder/LPC810_CodeBase/tree/master/tools)
and observed that:
So I also noticed I had "Erase all Flash+Code Rd Prot" flag ON during Erase process - could this affect the initial bootloader to become erased ?
Another assumption is that the pin configuration file is wrong and causes ISP mode to become inaccessible ... -
Does any one knows how I can put these devices back into ISP mode ?
Is the pin assignment file the cause or is also the factory bootloader erased ?
I have attached the settings of FlashMagic as I used it to flash the demo *.hex file
Thanks for all help !
Michel
Thanks for your answer.
Hello Kevin - Thanks !
I have tried your feedback on two NGX boards and it seems to be solved !
It was little bit scary as boards did not react any longer on RESET pin, but issue with PIN MUX tool explains it.
Thanks !
Gazelle
The reset pin was being disabled by default in the PINENABLE0 register (there is a bug in the PinMux tool that this pin is never updated). If you try the new blinky .hex file here the reset should work now: <a href="https://github.com/microbuilder/LPC810_CodeBase/tree/master/tools">https://github.com/microbuilder/LPC810_CodeBase/tree/master/tools</a>
The updated PINENABLE0 code is visible here: <a href="https://github.com/microbuilder/LPC810_CodeBase/blob/master/src/main.c">https://github.com/microbuilder/LPC810_CodeBase/blob/master/src/main.c</a>
Hi michel,
I've solved those problem as yours, the way is so simple: TURN OFF LPC800 mini kit - then push ISP BUTTON - then TURN ON again - and release the ISP button, that's it! your board is entering ISP MODE now. next you must change LPC_SWM configuration, try to change like this one in your main.c (LPC_SWM->PINENABLE0 = 0xffffffffUL;), build it and upload *.hex file using FlashMagic. done!