LPC1317 doesn't seem to be executing code

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

LPC1317 doesn't seem to be executing code

512 Views
lpcware
NXP Employee
NXP Employee
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.
Labels (1)
0 Kudos
1 Reply

473 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Sat Sep 28 08:50:30 MST 2013
Use a debugger...
0 Kudos