Content originally posted in LPCWare by lpcxpresso-support on Thu Oct 01 11:28:54 MST 2015
A problem has been identified with flash operation using the Flash Dialog generated command-line. You'll notice two command-line changes when the 'Reset target on completion' check box is selected. First the '-flash-load' option changes to 'flash-load-exec'. Second is the addition of the '-reset=vectreset' option.
We'll investigate a fix. In the meantime, you can get the behavior you want by using the the stub from the command-line, minus the '-reset=vectreset' option. Note that the reset type defaults to VECTRESET for this part in either case, so there's no reason to specify.
Here's an example command-line without the '-reset' option:
crt_emu_cm_redlink.exe -flash-load-exec "C:\Users\matys4877\Documents\lpcopen_2_14_1_lpcxpresso_lpcxpresso_54102\multicore_m4master_blinky\Debug\multicore_m4master_blinky.axf" -g -2 -vendor=NXP -pLPC54102J512 -flash-driver=LPC5410x_512K.cfx
Thanks and regards,
LPCXpresso Support