Content originally posted in LPCWare by Petervg on Tue Nov 18 13:43:03 MST 2014
I'm using a custom board with an LPC1769 and an LPCLink2 to download the code using the jtag interface. The weird part is that when downloading the .axf file to the cpu, the process often hangs at random points (sometimes 13%, sometimes 49%, ...) and sometime it works without problems. If it doesn't work, the progress bar just hangs and everything freezes until I unplug the USB cable of the LPCLink2.
when trying to debug the same target I get the same issues (in lpcxpresso I can see in the left bottom corner "54%: Downloaded 61440 bytes", in the right lower corner "Launching lpc176x_freer... Debug: (97%) and then lpcxpresso simply freezes up.
The ISP pin has a 10K pullup resistor to +3V3 and I have tried different (short and longer) jtag cables and I tried recompiling the code without any breakpoints set.
I'm using LPCXpresso 7.5.0.
Can anybody help me out a little here what I should check?
Thanks!
Peter