AnsweredAssumed Answered

Problem about re-flash the demo program into LPC8N04 development board

Question asked by Bryan Ng on Jul 14, 2019
Latest reply on Jul 15, 2019 by Alice_Yang

Console message : 

Executing flash operation 'Program' (Program file into flash: Release/app_demo.axf) - Mon Jul 15 09:08:09 SGT 2019
Checking MCU info...
Scanning for targets...
Executing flash action...
MCUXpresso IDE RedlinkMulti Driver v10.2 (Jul 25 2018 11:25:37 - crt_emu_cm_redlink.exe build 555)
( 0) Reading remote configuration
Wc(03). No cache support.
( 5) Remote configuration complete
Reconnected to existing link server
Connecting to probe 1 core 0:0 (using server started externally) gave 'OK'
Probe Firmware: LPC11U3x CMSIS-DAP v1.0.4 (NXP Semiconductors)
Serial Number: 0100C028
VID:PID: 1FC9:0132
USB Path: \\?\hid#vid_1fc9&pid_0132&mi_00#8&1297237a&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
Using memory from core 0:0 after searching for a good core
( 30) Emulator Connected
( 40) Debug Halt
( 50) CPU ID
debug interface type = Cortex-M0+ (DAP DP ID 0BC11477) over SWD TAP 0
processor type = Cortex-M0+ (CPU ID 00000C60) on DAP AP 0
number of h/w breakpoints = 4
number of flash patches = 0
number of h/w watchpoints = 2
Probe(0): Connected&Reset. DpID: 0BC11477. CpuID: 00000C60. Info: <None>
Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
Content of CoreSight Debug ROM(s):
RBASE E00FF000: CID B105100D PID 04000BB4C0 ROM dev (type 0x1)
ROM 1 E000E000: CID B105E00D PID 04000BB008 ChipIP dev SCS (type 0x0)
ROM 1 E0001000: CID B105E00D PID 04000BB00A ChipIP dev DWT (type 0x0)
ROM 1 E0002000: CID B105E00D PID 04000BB00B ChipIP dev FPB (type 0x0)
Inspected v.2 On-chip Flash Memory LPC8N0x_30K.cfx
Image 'LPC8N0x (30K) Jul 25 2018 11:18:51'
NXP: LPC8N04
( 65) Chip Setup Complete
Connected: was_reset=true. was_stopped=false
( 70) License Check Complete
Loading 'app_demo.axf' ELF 0x00000000 len 0x298C
Opening flash driver LPC8N0x_30K.cfx
Sending SYSRESETREQ to run flash driver
Writing 10636 bytes to address 0x00000000 in Flash
1 of 1 ( 0) Writing pages 0-10 at 0x00000000 with 10636 bytes
( 0) at 00000000: 0 bytes - 0/10636
( 9) at 00000000: 1024 bytes - 1024/10636
( 19) at 00000400: 1024 bytes - 2048/10636
( 28) at 00000800: 1024 bytes - 3072/10636
( 38) at 00000C00: 1024 bytes - 4096/10636
( 48) at 00001000: 1024 bytes - 5120/10636
( 57) at 00001400: 1024 bytes - 6144/10636
( 67) at 00001800: 1024 bytes - 7168/10636
( 77) at 00001C00: 1024 bytes - 8192/10636
( 86) at 00002000: 1024 bytes - 9216/10636
( 96) at 00002400: 1024 bytes - 10240/10636
(100) at 00002800: 1024 bytes - 11264/10636
Erased/Wrote page 0-10 with 10636 bytes in 851msec
Closing flash driver LPC8N0x_30K.cfx
(100) Finished writing Flash successfully.
Flash Write Done
Loaded 0x298C bytes in 1147ms (about 9kB/s)
Reset target (system)
Starting execution using system reset

 

I'm using GUI flash programming to re-flash the demo program into LPC8n04, i unplug the power and power up the board, the program is gone, can anyone solve the problem?

Outcomes