lpcware

7.5.0 -> 7.7.2 unable to program flash in LPC1114FN/102

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by rdrosenber on Fri May 01 19:10:00 MST 2015
I just upgraded from 7.5.0 to 7.7.2.  Loading and debugging programs on LPC1114FN/102 in a custom hardware board works fine with 7.5.0.  After upgrading to 7.7.2, I cannot program the flash nor load/debug a program.


Log 7.7.2 for load/debug:

LPCXpresso RedlinkMulti Driver v7.7 (Mar 31 2015 21:02:36 - crt_emu_cm_redlink build 317)
Emu(0): Conn&Reset. DpID: 0BB11477. CpuID: 410CC200. Info: (null)
Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
loaded v.2 On-chip Flash Memory LPC11_12_13_32K_4K.cfx
image 'LPC11_12_13 (32K Flash, min 4K RAM) Mar 17 2015 09:28:32'
Connected: was_reset=false. was_stopped=false
LPCXpresso Free License - Download limit is 256K
Writing 14948 bytes to address 0x00000000 in Flash
Target error from Commit Flash write: Em(12). System rejected access at location 0x10000AE4 - verify Population of memory and peripherals
(crt_emu_cm_redlink) terminating due to request from GDB


Log 7.7.2 for program flash:

Ni: LPCXpresso RedlinkMulti Driver v7.7 (Mar 31 2015 21:02:36 - crt_emu_cm_redlink build 317)
Pc: (  0) Reading remote configuration
Pc: (  5) Remote configuration complete
Pc: ( 30) Emulator Connected
Xl:
Xc:
Pc: ( 40) Debug Halt
Pc: ( 50) CPU ID
Nc: Emu(0): Conn&Reset. DpID: 0BB11477. CpuID: 410CC200. Info: (null)
Nc: Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
Nc: loaded v.2 On-chip Flash Memory LPC11_12_13_32K_4K.cfx
Nc: image 'LPC11_12_13 (32K Flash, min 4K RAM) Mar 17 2015 09:28:32'
Pc: ( 65) Chip Setup Complete
Nt: Connected: was_reset=false. was_stopped=false
Cr:v LPCXpresso Free License - Download limit is 256K
Pc: ( 70) License Check Complete
Nt: Loading ELF file 'Serial_Port_Relay_Control_CmdI.axf' at location 00000000
Nt: Writing 14948 bytes to address 0x00000000 in Flash
Pb: 1 of 1 (  0) Writing pages 0-3 at 0x00000000 with 14948 bytes
Ps: (  0) at 00000000: 0 bytes - 0/14948
Pb: (100) Writing Flash ended with an error.
Ed:05: File 'Serial_Port_Relay_Control_CmdI.axf' load failure: Em(12). System rejected access at location 0x10000BF0 - verify Population of memory and peripherals
Pc: (100) Target Connection Failed


Log 7.5.0 for load/debug:

LPCXpresso RedlinkMulti Driver v7.5 (Oct 24 2014 22:18:51 - crt_emu_cm_redlink build 172)
Emu(0): Conn&Reset. DpID: 0BB11477. CpuID: 410CC200. Info: (null)
Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
Loaded LPC11_12_13_32K_4K.cfx: LPC11_12_13 (32K Flash, min 4K RAM) Oct 13 2014 15:50:32  On-chip Flash Memory
Connected: was_reset=false. was_stopped=true
v LPCXpresso Free License - Download limit is 256K
Writing 14824 bytes to address 0x00000000 in Flash
Erased/Wrote page  0-3 with 14824 bytes in 3406msec
Flash Write Done
Flash Program Summary: 14824 bytes in 3.41 seconds (4.25 KB/sec)
Stopped (Was Reset)  [Reset from Unknown]
Stopped: Breakpoint #1


Log 7.5.0 for program flash operation:

Ni: LPCXpresso RedlinkMulti Driver v7.5 (Oct 24 2014 22:18:51 - crt_emu_cm_redlink build 172)
Pc: (  0) Reading remote configuration
Pc: (  5) Remote configuration complete
Pc: ( 30) Emulator Connected
Pc: ( 40) Debug Halt
Pc: ( 50) CPU ID
Nc: Emu(0): Conn&Reset. DpID: 0BB11477. CpuID: 410CC200. Info: (null)
Nc: Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
Nc: Loaded LPC11_12_13_32K_4K.cfx: LPC11_12_13 (32K Flash, min 4K RAM) Oct 13 2014 15:50:32  On-chip Flash Memory

Pc: ( 65) Chip Setup Complete
Nt: Connected: was_reset=false. was_stopped=false
Cr:v LPCXpresso Free License - Download limit is 256K
Pc: ( 70) License Check Complete
Nt: Loading ELF file 'Serial_Port_Relay_Control_CmdI.axf' at location 00000000
Nt: Writing 14824 bytes to address 0x00000000 in Flash
Pb: 1 of 1 (  0) Writing pages 0-3 at 0x00000000 with 14824 bytes
Ps: (  0) Page  0 at 00000000
Ps: (  0) Page  0 at 00000000: 2048 bytes
Ps: ( 13) Page  0 at 00000800: 2048 bytes
Ps: ( 27) Page  1 at 00001000: 2048 bytes
Ps: ( 41) Page  1 at 00001800: 2048 bytes
Ps: ( 55) Page  2 at 00002000: 2048 bytes
Ps: ( 69) Page  2 at 00002800: 2048 bytes
Ps: ( 82) Page  3 at 00003000: 2048 bytes
Ps: ( 96) Page  3 at 00003800: 488 bytes
Nt: Erased/Wrote page  0-3 with 14824 bytes in 3412msec
Pb: (100) Finished writing Flash successfully.
Nt: Flash Write Done


Thanks,
Rob

Outcomes