lpcware

Debugging Code in the QUIAD-SPI-FLASH memory

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by g.seidl on Mon Apr 07 01:32:31 MST 2014
Hello

we are using an NXP LPC1857 with internal Flash and an external QUADSPI Flash memory.The QUADSPI Flash is connected via the SPIFI interface. We are booting from the internal Flash but have some Code in the external QUADSPI Flash memory. Everything semms to work. But it is impossible to debug the code which is placed in the external QUADSPI Flash memory. When stepping into the code in the QUADSPI flash the debugger (j-link) terminates with the message "CPU is not halted Abort debug session?. We are using IAR Workbench 6.40 with j-link debugger. The question is now: Is it possible to debug code in the QUADSPI Flash via JTAG ?

Outcomes