LPC82x debugging error

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

LPC82x debugging error

236 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by pgr on Wed Jan 28 03:55:38 MST 2015
Dear all I am using LPCXpresso 7.5.0 with a LPC824 on a custom board.
I can start debugging but after going to a break point when I press F8 to resume i get the following error:

  10: Could not start execution from stop: Ee(4C). Fatal Error

This is really annoying as I can't debug my application.

Any idea why I get this ?

Thanks in advance for any help

0 Kudos
2 Replies

217 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by pgr on Wed Jan 28 06:05:25 MST 2015
The SWCLK signal on my custom board is conencted to SWD connector and an external pull-down resistor as recommended in the LPC82x datasheet (page 30).
On my software I disable internal pull-up to reduce power consumption using the following line of code:

Chip_IOCON_PinSetMode(LPC_IOCON, IOCON_PIO3,  PIN_MODE_INACTIVE);

Then the debugging session crash with the error message 10 (as in my first post).
If I remove this line of code everything work nicely. Is sound strange to add an external pull-down and having an internal pull-up activated by default. What do you think ? Should I remove the external pull-down ?

Thanks in advance foe your feedback
0 Kudos

217 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by pgr on Wed Jan 28 04:00:46 MST 2015
Ok my fault I was changing configuration pin pad for SWCLK and SWDIO
0 Kudos