LPC82x debugging error

Content originally posted in LPCWare by pgr on Wed Jan 28 03:55:38 MST 2015Dear 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:

Content originally posted in LPCWare by pgr on Wed Jan 28 06:05:25 MST 2015The 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 ?