Content originally posted in LPCWare by lpcxpresso-support on Wed Nov 18 15:37:00 MST 2015
You say you reset the chip, but what kind of reset? The Reset Handling option allows you to select between hard (nRESET), system (SYSRESETREQ), and core (VECTRESET) reset. The latter two are signals issued through the debug interface, so require a debug connection. The hard reset option cannot really be used as part of a debug connect sequence. A connect script solution might get you most of the way there, but for now, I recommend using a button or jumper sequence to boot the part into the ISP. The idea is to prevent the reset from vectoring to user code and initiating another sleep cycle.
LPCXpresso will soon offer a specific server command for ISP reset which can be used standalone (server console), or via a connect script. This is meant to work with the LPCXpresso V2/V3 board configurations.
You can also experiment with the project launch configuration 'Vector catch' setting. The debugger connect sequence includes additional reset handling when the 'Vector catch' setting is 'true'.
Thanks and regards,
LPCXpresso Support