lpcware

LPC1317 doesn't seem to be executing code

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by dhames on Fri Sep 27 16:32:51 MST 2013
Hello everyone.

I am using an LPC1317 on a board of my own design. I am using LPCXpresso 5.2.6 for compiling, and FlashMagic to program the target MCU via ISP.

FlashMagic programs and verifies the MCU without reporting any problems.

When I power cycle the board after programming, I don't seem to have any code running. I have tried running some of the example projects in LPCXpresso (changing the target to LPC1317) such as systick and blinky, but they all have the same symptoms after programming: all IO pins are logic high and nothing seems to be happening.

Does this indicate that my user code isn't valid? I have set the target MCU, and FlashMagic should automatically create the required checksum (according to http://support.code-red-tech.com/CodeRedWiki/OutputFormats).

I have checked the reset pin on startup and it is staying high, so I don't think it is trying to enter ISP mode.

Any suggestions would be greatly appreciated.

Outcomes