LPC800 mini kit - cannot enter ISP & Reset mode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC800 mini kit - cannot enter ISP & Reset mode

386 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by gazelle on Mon May 20 00:02:18 MST 2013

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:


<ul>
<li>I cannot reset any longer the device (NGX board OM13002+598) - (pushing reset button does not affect the blinking process)</li>
<li>I cannot enter ISP mode any longer ... pushing ISP button (+reset button) does not enter device in ISP mode, blinking process continues</li>
</ul>

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


Labels (1)
0 Kudos
4 Replies

358 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by gwm521 on Sun Jun 16 20:48:38 MST 2013

Thanks for your  answer.

0 Kudos

358 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by gazelle on Mon May 20 07:17:47 MST 2013

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

0 Kudos

358 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ktownsend on Mon May 20 05:43:23 MST 2013

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>

0 Kudos

358 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by hendriyawan achmad on Mon May 20 05:00:39 MST 2013

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-&gt;PINENABLE0 = 0xffffffffUL;), build it and upload *.hex file using FlashMagic. done!

0 Kudos