AnsweredAssumed Answered

Error in Programming Demo Example in OM13098

Question asked by Hemanth S on Jun 30, 2020
Latest reply on Jul 7, 2020 by ZhangJennie

Hello ,


I am using the OM13098 LPC54628 development board.

I tried using one of the PWM demo driver "lpcxpresso54628_sctimer_pwm_with_dutycyle_change"


I get frequent problem in downloading the binary to the target using the on-board lpc link-2

Attached is the log of the error I am getting.


Reconnected to existing LinkServer process.
Using memory from core 0 after searching for a good core
( 30) Emulator Connected
( 40) Debug Halt
( 50) CPU ID
debug interface type      = Cortex-M3/4 (DAP DP ID 2BA01477) over SWD TAP 0
processor type            = Cortex-M4 (CPU ID 00000C24) on DAP AP 0
number of h/w breakpoints = 6
number of flash patches   = 2
number of h/w watchpoints = 4
Probe(0): Connected&Reset. DpID: 2BA01477. CpuID: 00000C24. Info: <None>
Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
Content of CoreSight Debug ROM(s):
RBASE E00FF000: CID B105100D PID 04000BB4C4 ROM (type 0x1)
ROM 1 E000E000: CID B105E00D PID 04000BB00C Gen SCS (type 0x0)
ROM 1 E0001000: CID B105E00D PID 04003BB002 Gen DWT (type 0x0)
ROM 1 E0002000: CID B105E00D PID 04002BB003 Gen FPB (type 0x0)
ROM 1 E0000000: CID B105E00D PID 04003BB001 Gen ITM (type 0x0)
ROM 1 E0040000: CID B105900D PID 04000BB9A1 CSt TPIU type 0x11 Trace Sink - TPIU
ROM 1 E0041000: CID B105900D PID 04000BB925 CSt ETM type 0x13 Trace Source - Core
NXP: LPC54628J512
DAP stride is 4096 bytes (1024 words)
Inspected v.2 On-chip Flash Memory LPC5460x_512K.cfx
Image 'LPC5460x (512K Flash) Feb 17 2020 13:57:14'
Inspected v.2 External Flash Device on SPI LPC546xx_SPIFI_SFDP.cfx
Image 'LPC540xx_JEDEC_SFDP Feb 17 2020 13:57:09'
Opening flash driver LPC546xx_SPIFI_SFDP.cfx
Sending SYSRESETREQ to run flash driver
Flash variant 'JEDEC_SFDP_EF7018' detected (16MB = 256*64K at 0x10000000)
Closing flash driver LPC546xx_SPIFI_SFDP.cfx
( 65) Chip Setup Complete
Connected: was_reset=true. was_stopped=false
( 70) License Check Complete
Loading 'lpcxpresso54628_sctimer_pwm_with_dutycyle_change___ver2.axf' ELF 0x00000000 len 0x3D90
Opening flash driver LPC5460x_512K.cfx
Sending SYSRESETREQ to run flash driver
Flash device supported (512KB = 16*32K at 0x0)
Writing 15760 bytes to address 0x00000000 in Flash
(  0) Mass erasing Flash
Mass erased flash in 112msec
1 of 1 (  0) Writing sectors 0-0 at 0x00000000 with 15760 bytes
(  0) at 00000000: 0 bytes - 0/15760
Unable to perform operation!
Command failed with exit code -1073741819

Could you kindly let me the issue?