LPC800 mini kit can not enter ISP Mode

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

LPC800 mini kit can not enter ISP Mode

618 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by hendriyawan achmad on Tue May 14 22:18:24 MST 2013

Hi, all


i have problem with my LPC800 mini kit, at the beginning my PC have successfully detected LPC800 using FLASHMAGIC and i have tried to upload BLINKY example from <span style="color: black;">https://github.com/microbuilder/LPC810_CodeBase/tree/master/tools several time and no one problem. but after i have uploaded SERIAL HELLOWORLD example from same link, suddenly my LPC800 mini kit can not be detected anymore by FLASHMAGIC even can not enter ISP Mode by pressed ISP + RESET button as i have done before. but strangely application run normally by sending "LPC800, HELLOWORLD" continously and can not be reseted, what happen with it? </span>


 


note: link upload *.hex file (https://github.com/microbuilder/LPC810_CodeBase/blob/master/tools/LPC810_HelloWorld_UART0_115K.hex)

Labels (1)
0 Kudos
Reply
4 Replies

593 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ktownsend on Mon May 20 05:45:31 MST 2013

If you pull the latest code from github this is fixed, and the reset pin is always selected: <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
Reply

593 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by hendriyawan achmad on Sun May 19 03:36:52 MST 2013

Hi TheShed,


Try a power cycle while holding the ISP button work well to enter ISP mode when reset pin was disabled and i think this is the only way to enter ISP mode if reset pin was disabled, and then i change LPC_SWM-&gt;PINENABLE0 = 0xfffffffbUL to re-enable reset pin using Switch Matrix Tool. done!

0 Kudos
Reply

593 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by hendriyawan achmad on Fri May 17 22:33:19 MST 2013

Hi TheShed,


thanks for your suggest, i'll try and report the result soon

0 Kudos
Reply

593 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheShed on Wed May 15 08:35:32 MST 2013

Hi,


Had a quick look at some of the src code and noticed this:


LPC_SWM-&gt;PINENABLE0 = 0xffffffffUL;


which will disable the reset pin (bit 6).


ref:LPC800 User manual 9.5.10.


I guess that this may be the cause of your problem..


Try a power cycle while holding the ISP button, that should put it in ISP mode


-- mike

0 Kudos
Reply