I am getting the following error when attempting to flash the 512 first bytes of a LPC810M021FN8 with a binary file
containing 512 null bytes:
****** Error: Target system has not enough RAM.
Here is a transcript of my J-Link Commander session:
SEGGER J-Link Commander V4.68 ('?' for help)
Compiled Apr 6 2013 00:11:06
DLL version V4.68, compiled Apr 6 2013 00:10:46
Firmware: J-Link ARM V8 compiled Nov 14 2012 22:34:52
Hardware: V8.00
S/N: <my J-Link serial number>
OEM: SEGGER-EDU
Feature(s): FlashBP, GDB
VTarget = 2.594V
Info: Found SWD-DP with ID 0x0BC11477
Info: FPUnit: 4 code (BP) slots and 0 literal slots
Info: Found Cortex-M0 r0p0, Little endian.
Found 1 JTAG device, Total IRLen = 4:
Cortex-M0 identified.
JTAG speed: 100 kHz
J-Link>h
R0 = 00000000, R1 = 00000002, R2 = FFFFFFFF, R3 = 00000000
R4 = 40048000, R5 = FFFFFFFF, R6 = 12345678, R7 = FFFFFFFF
R8 = FFFFFFFF, R9 = FFFFFFFF, R10= FFFFFFFF, R11= FFFFFFFF
R12= FFFFFFFF, R13= 100003DC, MSP= 100003DC, PSP= FFFFFFFC
R14(LR) = 1FFF025D, R15(PC) = 1FFF0240
XPSR = 01000000, APSR = 00000000, EPSR = 01000000, IPSR = 00000000
CFBP = 00000000, CONTROL = 00, FAULTMASK = 00, BASEPRI = 00, PRIMASK = 00
CycleCnt = 00000000
J-Link>exec device = LPC810M021
Info: Device "LPC810M021" selected (4 KB flash, 1 KB RAM).
J-Link>loadbin 512-zeroes.bin,0
Loading binary file... [512-zeroes.bin]
Writing bin data into target memory @ 0x00000000.
****** Error: Target system has not enough RAM.
J-Link>
Is this a known issue with this specific device ? I looked in the manual for any mention of something similar to 'exec setworkram' that would need to be used for flashing internal flash memory of devices with small amount of available RAM, but did not find anything that could explain this problem yet.
Thanks in advance,
containing 512 null bytes:
****** Error: Target system has not enough RAM.
Here is a transcript of my J-Link Commander session:
SEGGER J-Link Commander V4.68 ('?' for help)
Compiled Apr 6 2013 00:11:06
DLL version V4.68, compiled Apr 6 2013 00:10:46
Firmware: J-Link ARM V8 compiled Nov 14 2012 22:34:52
Hardware: V8.00
S/N: <my J-Link serial number>
OEM: SEGGER-EDU
Feature(s): FlashBP, GDB
VTarget = 2.594V
Info: Found SWD-DP with ID 0x0BC11477
Info: FPUnit: 4 code (BP) slots and 0 literal slots
Info: Found Cortex-M0 r0p0, Little endian.
Found 1 JTAG device, Total IRLen = 4:
Cortex-M0 identified.
JTAG speed: 100 kHz
J-Link>h
R0 = 00000000, R1 = 00000002, R2 = FFFFFFFF, R3 = 00000000
R4 = 40048000, R5 = FFFFFFFF, R6 = 12345678, R7 = FFFFFFFF
R8 = FFFFFFFF, R9 = FFFFFFFF, R10= FFFFFFFF, R11= FFFFFFFF
R12= FFFFFFFF, R13= 100003DC, MSP= 100003DC, PSP= FFFFFFFC
R14(LR) = 1FFF025D, R15(PC) = 1FFF0240
XPSR = 01000000, APSR = 00000000, EPSR = 01000000, IPSR = 00000000
CFBP = 00000000, CONTROL = 00, FAULTMASK = 00, BASEPRI = 00, PRIMASK = 00
CycleCnt = 00000000
J-Link>exec device = LPC810M021
Info: Device "LPC810M021" selected (4 KB flash, 1 KB RAM).
J-Link>loadbin 512-zeroes.bin,0
Loading binary file... [512-zeroes.bin]
Writing bin data into target memory @ 0x00000000.
****** Error: Target system has not enough RAM.
J-Link>
Is this a known issue with this specific device ? I looked in the manual for any mention of something similar to 'exec setworkram' that would need to be used for flashing internal flash memory of devices with small amount of available RAM, but did not find anything that could explain this problem yet.
Thanks in advance,