Content originally posted in LPCWare by CodeRedSupport on Fri Sep 30 16:30:38 MST 2011
We're sorry for the inconvenience. At the present time, the '-flash-load-exec=' and '-flash-load-partial=' options are mutually exclusive.
Regards,
CodeRedSupport
Edit:
Zero, you might want to verify the flash dialog operation is what you expect when you select 'mass' erase. The debug utility may not actually have 'mass' erased the part. For example, if the image you're trying to program is already in flash, the programming operation does nothing (i.e. see 'Verified-same' in output log below). If you select the check box for 'Erase only required pages', it also shows 'Verified-same'. No program or erase operation was performed in either case. To guarantee the part gets erased, you should use the 'Erase flash memory' tab.
Pc: ( 0) Reading remote configuration
Ni: Code Red Technologies Debug Driver v4.0 (Sep 26 2011 08:36:21)
Nc: Looked for chip XML file in C:/code_red/RedSuite_4.1.0_281/redsuite/bin/LPC1114/301.xml
Nc: Looked for vendor directory XML file in C:/code_red/RedSuite_4.1.0_281/redsuite/bin/nxp_directory.xml
Nc: Found generic directory XML file in C:/code_red/RedSuite_4.1.0_281/redsuite/bin/crt_directory.xml
Pc: ( 5) Remote configuration complete
Pc: ( 30) Emulator Connected
Pc: ( 40) Debug Halt
Pc: ( 50) CPU ID
Nc: Emu(0): Conn&Reset. DpID: BB11477. Info: T1S6RGRIA
Nc: SWD Frequency: 250 KHz. RTCK: False. Vector catch: False.
Nc: Packet delay: 0 Poll delay: 0.
Nc: NXP: LPC1114/301 Part ID: 0x0444102B
Pc: ( 65) Chip Setup Complete
Nt: Connected: was_reset=false. was_stopped=false
Cf:v Full license, no download limit
Pc: ( 70) License Check Complete
Nt: Loading ELF file 'LPCXpresso1114_systick_twinkle.axf' at location 00000000
Nt: Writing 2640 bytes to 0000 in Flash (assumed clock: 48.0MHz)
Pb: 1 of 1 ( 0) Writing pages 0-0 at 0x00000000 with 2640 bytes
Ps: ( 0) Page 0 at 00000000
Ps: ( 38) Page 0 at 00000000: 1024 bytes
Ps: ( 77) Page 0 at 00000400: 1024 bytes
Ps: (100) Page 0 at 00000800: 592 bytes
Nt: Verified-same page 0-0 with 2640 bytes in 516msec
Pb: (100) Finished writing Flash successfully.
Nt: Flash write Done
Nc: nSRST assert (if available)
Nc: Executing in user flash.