Post Go back to editing

ADuCM355 J-Flash Lite "Erase Chip" locks flash, IAR cannot download

Hello,

I've made the mistake of using J-Flash Lite's "Erase Chip" option with the EVAL-ADuCM355QSPZ. Now the device does not respond to the IAR Project -> Download -> Erase Memory using the RESET/BOOT switch process as described in:

Page 21/22 of https://www.analog.com/media/en/technical-documentation/user-guides/EVAL-ADuCM355QSPZ-UG-1308.pdf 
https://ez.analog.com/analog-microcontrollers/precision-microcontrollers/f/q-a/111116/aducm355-flash-lock/388711#388711
https://ez.analog.com/analog-microcontrollers/precision-microcontrollers/f/q-a/535499/aducm355-evaluation-board-flash-locked-and-no-longer-downloading-to-device

Is there any hope to recover the device to an operable state? If not, is it because the ADuCM355 does not have a hardware boot loader? What tool should I have used to flash a firmware binary larger than IAR's licensed limit of 32K?

J-Link Commander:

SEGGER J-Link Commander V6.14b (Compiled Mar 9 2017 08:46:23)
DLL version V6.14b, compiled Mar 9 2017 08:46:04

Connecting to J-Link via USB...O.K.
Firmware: J-Link V11 compiled Nov 12 2020 10:07:08
Hardware version: V11.00
S/N: 71000342
License(s): RDI, GDB
OEM: MIDAS
VTref = 3.301V


Type "connect" to establish a target connection, '?' for help
J-Link>connect
Please specify device / core. <Default>: ADUCM355
Type '?' for selection dialog
Device>
Please specify target interface:
TIF>swd
Specify target interface speed [kHz]. <Default>: 4000 kHz
Speed>
Device "ADUCM355" selected.


Found SWD-DP with ID 0x2BA01477
AP-IDR: 0x24770011, Type: AHB-AP
AHB-AP ROM: 0xE00FF000 (Base addr. of first ROM table)
Found Cortex-M3 r2p1, Little endian.
FPUnit: 2 code (BP) slots and 0 literal slots
CoreSight components:
ROMTbl 0 @ E00FF000
ROMTbl 0 [0]: FFF0F000, CID: B105E00D, PID: 000BB000 SCS
ROMTbl 0 [1]: FFF02000, CID: B105E00D, PID: 003BB002 DWT
ROMTbl 0 [2]: FFF03000, CID: B105E00D, PID: 002BB003 FPB
Cortex-M3 identified.
J-Link>h
PC = 00040144, CycleCnt = 00000000
R0 = 40002040, R1 = 00006E65, R2 = 00000194, R3 = A79C3203
R4 = 00000004, R5 = 40018020, R6 = 00000027, R7 = 00000001
R8 = 00000000, R9 = 00000000, R10= 00000000, R11= 00000000
R12= 00000000
SP(R13)= 20004000, MSP= 20004000, PSP= 00000000, R14(LR) = 00040101
XPSR = 21000000: APSR = nzCvq, EPSR = 01000000, IPSR = 000 (NoException)
CFBP = 00000000, CONTROL = 00, FAULTMASK = 00, BASEPRI = 00, PRIMASK = 00
J-Link>

J-Flash Lite:

Downloading ----.bin to ADUCM355 via SWD-Interface@1000kHz
Programming Thread started.
Device "ADUCM355" selected.
Found SWD-DP with ID 0x2BA01477
AP-IDR: 0x24770011, Type: AHB-AP
AHB-AP ROM: 0xE00FF000 (Base addr. of first ROM table)
Found Cortex-M3 r2p1, Little endian.
FPUnit: 2 code (BP) slots and 0 literal slots
CoreSight components:
ROMTbl 0 @ E00FF000
ROMTbl 0 [0]: FFF0F000, CID: B105E00D, PID: 000BB000 SCS
ROMTbl 0 [1]: FFF02000, CID: B105E00D, PID: 003BB002 DWT
ROMTbl 0 [2]: FFF03000, CID: B105E00D, PID: 002BB003 FPB
Debugger initialized successfully.
Core did not halt after reset, manually halting CPU...
J-Link: Flash download: Restarting flash programming due to program error (possibly skipped erasure of half-way erased sector).
J-Link: Flash download: Skip optimizations disabled for second try.
Programming Thread exited
Programming done

IAR:
Mon Mar 08, 2021 15:45:48: IAR Embedded Workbench 8.50.6 (C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.4\arm\bin\armproc.dll)
Mon Mar 08, 2021 15:45:49: JLINK command: ProjectFile = ---\aducm355-examples\examples\DigitalDie\M355_Bootloader\iar\settings\M355_Example_Application_Debug.jlink, return = 0
Mon Mar 08, 2021 15:45:49: Device "ADUCM355" selected.
Mon Mar 08, 2021 15:45:49: DLL version: V6.14b, compiled Mar 9 2017 08:46:04
Mon Mar 08, 2021 15:45:49: Firmware: J-Link V11 compiled Nov 12 2020 10:07:08
Mon Mar 08, 2021 15:45:49: Selecting SWD as current target interface.
Mon Mar 08, 2021 15:45:49: JTAG speed is initially set to: 1000 kHz
Mon Mar 08, 2021 15:45:49: Found SWD-DP with ID 0x2BA01477
Mon Mar 08, 2021 15:45:49: AP-IDR: 0x24770011, Type: AHB-AP
Mon Mar 08, 2021 15:45:49: AHB-AP ROM: 0xE00FF000 (Base addr. of first ROM table)
Mon Mar 08, 2021 15:45:49: Found Cortex-M3 r2p1, Little endian.
Mon Mar 08, 2021 15:45:49: FPUnit: 2 code (BP) slots and 0 literal slots
Mon Mar 08, 2021 15:45:49: CoreSight components:
Mon Mar 08, 2021 15:45:49: ROMTbl 0 @ E00FF000
Mon Mar 08, 2021 15:45:49: ROMTbl 0 [0]: FFF0F000, CID: B105E00D, PID: 000BB000 SCS
Mon Mar 08, 2021 15:45:49: ROMTbl 0 [1]: FFF02000, CID: B105E00D, PID: 003BB002 DWT
Mon Mar 08, 2021 15:45:49: ROMTbl 0 [2]: FFF03000, CID: B105E00D, PID: 002BB003 FPB
Mon Mar 08, 2021 15:45:49: Core did not halt after reset, manually halting CPU...
Mon Mar 08, 2021 15:45:49: Hardware reset with strategy 7 was performed
Mon Mar 08, 2021 15:45:49: Initial reset was performed
Mon Mar 08, 2021 15:45:53: J-Link: Flash download: Restarting flash programming due to program error (possibly skipped erasure of half-way erased sector).
Mon Mar 08, 2021 15:45:53: J-Link: Flash download: Skip optimizations disabled for second try.
Mon Mar 08, 2021 15:45:57: 6883 bytes downloaded and verified (0.93 Kbytes/sec)
Mon Mar 08, 2021 15:45:57: Warning: Verify error, failed to read memory at address 0x00002000 - 0x00003AE2
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002000, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002001, target byte: 0xAA, byte in file: 0x20
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002002, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002003, target byte: 0xAA, byte in file: 0x20
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002004, target byte: 0xAA, byte in file: 0xE5
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002005, target byte: 0xAA, byte in file: 0x38
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002006, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002007, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002008, target byte: 0xAA, byte in file: 0xE3
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002009, target byte: 0xAA, byte in file: 0x2A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000200A, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000200B, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000200C, target byte: 0xAA, byte in file: 0x2B
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000200D, target byte: 0xAA, byte in file: 0x2D
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000200E, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000200F, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002010, target byte: 0xAA, byte in file: 0x5F
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002011, target byte: 0xAA, byte in file: 0x2F
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002012, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002013, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002014, target byte: 0xAA, byte in file: 0xDB
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002015, target byte: 0xAA, byte in file: 0x30
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002016, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002017, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002018, target byte: 0xAA, byte in file: 0xAF
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002019, target byte: 0xAA, byte in file: 0x31
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000201A, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000201B, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000201C, target byte: 0xAA, byte in file: 0xD5
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000201D, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000201E, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000201F, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002020, target byte: 0xAA, byte in file: 0xD5
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002021, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002022, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002023, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002024, target byte: 0xAA, byte in file: 0xD5
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002025, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002026, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002027, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002028, target byte: 0xAA, byte in file: 0xD5
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002029, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000202A, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000202B, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000202C, target byte: 0xAA, byte in file: 0xFF
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000202D, target byte: 0xAA, byte in file: 0x33
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000202E, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000202F, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002030, target byte: 0xAA, byte in file: 0xAF
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002031, target byte: 0xAA, byte in file: 0x37
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002032, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002033, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002034, target byte: 0xAA, byte in file: 0xD5
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002035, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002036, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002037, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002038, target byte: 0xAA, byte in file: 0x0F
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002039, target byte: 0xAA, byte in file: 0x38
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000203A, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000203B, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000203C, target byte: 0xAA, byte in file: 0xE3
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000203D, target byte: 0xAA, byte in file: 0x38
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000203E, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000203F, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002040, target byte: 0xAA, byte in file: 0x67
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002041, target byte: 0xAA, byte in file: 0x39
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002042, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002043, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002044, target byte: 0xAA, byte in file: 0x9F
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002045, target byte: 0xAA, byte in file: 0x39
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002046, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002047, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002048, target byte: 0xAA, byte in file: 0x53
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002049, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000204A, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000204B, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000204C, target byte: 0xAA, byte in file: 0x75
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000204D, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000204E, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000204F, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002050, target byte: 0xAA, byte in file: 0x77
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002051, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002052, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002053, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002054, target byte: 0xAA, byte in file: 0x79
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002055, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002056, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002057, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002058, target byte: 0xAA, byte in file: 0x7B
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002059, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000205A, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000205B, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000205C, target byte: 0xAA, byte in file: 0x7D
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000205D, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000205E, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000205F, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002060, target byte: 0xAA, byte in file: 0x7F
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002061, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002062, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002063, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002064, target byte: 0xAA, byte in file: 0xBF
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002065, target byte: 0xAA, byte in file: 0x32
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002066, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002067, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002068, target byte: 0xAA, byte in file: 0xDF
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002069, target byte: 0xAA, byte in file: 0x32
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000206A, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000206B, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000206C, target byte: 0xAA, byte in file: 0x81
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000206D, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000206E, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000206F, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002070, target byte: 0xAA, byte in file: 0x83
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002071, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002072, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002073, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002074, target byte: 0xAA, byte in file: 0x85
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002075, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002076, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002077, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002078, target byte: 0xAA, byte in file: 0x87
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002079, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000207A, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000207B, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000207C, target byte: 0xAA, byte in file: 0x89
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000207D, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000207E, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000207F, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002080, target byte: 0xAA, byte in file: 0x8B
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002081, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002082, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002083, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002084, target byte: 0xAA, byte in file: 0x8D
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002085, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002086, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002087, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002088, target byte: 0xAA, byte in file: 0x8F
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002089, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000208A, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000208B, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000208C, target byte: 0xAA, byte in file: 0x91
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000208D, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000208E, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000208F, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002090, target byte: 0xAA, byte in file: 0x93
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002091, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002092, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002093, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002094, target byte: 0xAA, byte in file: 0x95
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002095, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002096, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002097, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002098, target byte: 0xAA, byte in file: 0xD5
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x00002099, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000209A, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000209B, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000209C, target byte: 0xAA, byte in file: 0xD5
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000209D, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000209E, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x0000209F, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020A0, target byte: 0xAA, byte in file: 0x97
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020A1, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020A2, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020A3, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020A4, target byte: 0xAA, byte in file: 0x99
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020A5, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020A6, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020A7, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020A8, target byte: 0xAA, byte in file: 0xD5
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020A9, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020AA, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020AB, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020AC, target byte: 0xAA, byte in file: 0xD5
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020AD, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020AE, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020AF, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020B0, target byte: 0xAA, byte in file: 0x9B
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020B1, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020B2, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020B3, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020B4, target byte: 0xAA, byte in file: 0x9D
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020B5, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020B6, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020B7, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020B8, target byte: 0xAA, byte in file: 0x9F
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020B9, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020BA, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020BB, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020BC, target byte: 0xAA, byte in file: 0xA1
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020BD, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020BE, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020BF, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020C0, target byte: 0xAA, byte in file: 0xA3
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020C1, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020C2, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020C3, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020C4, target byte: 0xAA, byte in file: 0xA5
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020C5, target byte: 0xAA, byte in file: 0x3A
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020C6, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020C7, target byte: 0xAA, byte in file: 0x00
Mon Mar 08, 2021 15:45:57: Warning:
Mon Mar 08, 2021 15:45:57: Verify error at address 0x000020C8, target byte: 0xAA, byte in file: 0xA7
Mon Mar 08, 2021 15:45:57: Warning: Too many verify errors, only the first 200 are displayed
Mon Mar 08, 2021 15:45:58: Warning: There were warnings during download, see Log Window
Mon Mar 08, 2021 15:45:58: Loaded debugee: ---\aducm355-examples\examples\DigitalDie\M355_Bootloader\iar\Debug\Exe\M355_CRC.out
Mon Mar 08, 2021 15:45:58: Core did not halt after reset, manually halting CPU...
Mon Mar 08, 2021 15:45:58: Warning: CPU could not be halted
Mon Mar 08, 2021 15:45:58: Warning: CPU did not halt after reset.
Mon Mar 08, 2021 15:45:58: Software reset was performed
Mon Mar 08, 2021 16:05:26: Target reset
Mon Mar 08, 2021 16:05:26: There was 1 warning during the initialization of the debugging session.

Parents
  • Hi,

     I did 'Erase Chip', and I am able to do erase memory in IAR. See logs below:

    J-Flash Lite:

    Erase Thread exited
    Erase done

    J-Link Commander:

    SEGGER J-Link Commander V6.14b (Compiled Mar 9 2017 08:46:23)
    DLL version V6.14b, compiled Mar 9 2017 08:46:04

    Connecting to J-Link via USB...O.K.
    Firmware: J-Link V11 compiled Aug 14 2019 16:21:09
    Hardware version: V11.00
    S/N: 71000762
    License(s): RDI, GDB
    OEM: MIDAS
    VTref = 3.328V


    Type "connect" to establish a target connection, '?' for help
    J-Link>connect
    Please specify device / core. <Default>: ADUCM355
    Type '?' for selection dialog
    Device>ADUCM355
    Please specify target interface:
    TIF>?
    TIF>'?'
    TIF>swd
    Specify target interface speed [kHz]. <Default>: 4000 kHz
    Speed>
    Device "ADUCM355" selected.


    Found SWD-DP with ID 0x2BA01477
    SWD speed too high. Reduced from 4000 kHz to 2025 kHz for stability
    AP-IDR: 0x24770011, Type: AHB-AP
    AHB-AP ROM: 0xE00FF000 (Base addr. of first ROM table)
    Found Cortex-M3 r2p1, Little endian.
    FPUnit: 2 code (BP) slots and 0 literal slots
    CoreSight components:
    ROMTbl 0 @ E00FF000
    ROMTbl 0 [0]: FFF0F000, CID: B105E00D, PID: 000BB000 SCS
    ROMTbl 0 [1]: FFF02000, CID: B105E00D, PID: 003BB002 DWT
    ROMTbl 0 [2]: FFF03000, CID: B105E00D, PID: 002BB003 FPB
    Cortex-M3 identified.
    J-Link>h
    PC = 00005FDE, CycleCnt = 00000000
    R0 = 00000000, R1 = 00000000, R2 = 20001FD0, R3 = 000065C5
    R4 = 20000234, R5 = 00000190, R6 = 00000028, R7 = 00000000
    R8 = 00000000, R9 = 00000000, R10= 00000000, R11= 00000000
    R12= 00000000
    SP(R13)= 20001FE8, MSP= 20001FE8, PSP= 00000000, R14(LR) = 00005FE3
    XPSR = 61000000: APSR = nZCvq, EPSR = 01000000, IPSR = 000 (NoException)
    CFBP = 00000000, CONTROL = 00, FAULTMASK = 00, BASEPRI = 00, PRIMASK = 00
    J-Link>

    IAR debug log:

    Wed Mar 10, 2021 00:07:15: IAR Embedded Workbench 8.50.6 (C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.4\arm\bin\armproc.dll)
    Wed Mar 10, 2021 00:07:17: Loaded macro file: C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.4\arm\config\flashloader\AnalogDevices\FlashADUCM355.mac
    Wed Mar 10, 2021 00:07:17: JLINK command: ProjectFile = C:\Users\AMarimut\Documents\work\ADuCM355\Codes\aducm355-examples-master\aducm355-examples-master\examples\ApplicationExamples\
    M355_ECSns_EIS\iar\settings\M355_ECSns_EIS_Debug.jlink, return = 0
    Wed Mar 10, 2021 00:07:17: Device "ADUCM355" selected.
    Wed Mar 10, 2021 00:07:17: DLL version: V6.14b, compiled Mar 9 2017 08:46:04
    Wed Mar 10, 2021 00:07:17: Firmware: J-Link V11 compiled Aug 14 2019 16:21:09
    Wed Mar 10, 2021 00:07:17: Selecting SWD as current target interface.
    Wed Mar 10, 2021 00:07:17: JTAG speed is initially set to: 1000 kHz
    Wed Mar 10, 2021 00:07:17: Found SWD-DP with ID 0x2BA01477
    Wed Mar 10, 2021 00:07:17: AP-IDR: 0x24770011, Type: AHB-AP
    Wed Mar 10, 2021 00:07:17: AHB-AP ROM: 0xE00FF000 (Base addr. of first ROM table)
    Wed Mar 10, 2021 00:07:17: Found Cortex-M3 r2p1, Little endian.
    Wed Mar 10, 2021 00:07:17: FPUnit: 2 code (BP) slots and 0 literal slots
    Wed Mar 10, 2021 00:07:17: CoreSight components:
    Wed Mar 10, 2021 00:07:17: ROMTbl 0 @ E00FF000
    Wed Mar 10, 2021 00:07:17: ROMTbl 0 [0]: FFF0F000, CID: B105E00D, PID: 000BB000 SCS
    Wed Mar 10, 2021 00:07:17: ROMTbl 0 [1]: FFF02000, CID: B105E00D, PID: 003BB002 DWT
    Wed Mar 10, 2021 00:07:17: ROMTbl 0 [2]: FFF03000, CID: B105E00D, PID: 002BB003 FPB
    Wed Mar 10, 2021 00:07:18: Core did not halt after reset, manually halting CPU...
    Wed Mar 10, 2021 00:07:18: Hardware reset with strategy 0 was performed
    Wed Mar 10, 2021 00:07:18: Initial reset was performed
    Wed Mar 10, 2021 00:07:18: -I- execUserFlashInit!
    Wed Mar 10, 2021 00:07:18: 904 bytes downloaded (19.19 Kbytes/sec)
    Wed Mar 10, 2021 00:07:18: Loaded debugee: C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.4\arm\config\flashloader\AnalogDevices\FlashADUCM355.out
    Wed Mar 10, 2021 00:07:18: Target reset
    Wed Mar 10, 2021 00:07:18: Unloaded macro file: C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.4\arm\config\flashloader\AnalogDevices\FlashADUCM355.mac
    Wed Mar 10, 2021 00:07:18: Flash memory has been erased.
    Wed Mar 10, 2021 00:07:18: IAR Embedded Workbench 8.50.6 (C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.4\arm\bin\armproc.dll)

    After clicking 'download and debug' button in IAR:

    Debug Log:

    Wed Mar 10, 2021 00:08:17: IAR Embedded Workbench 8.50.6 (C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.4\arm\bin\armproc.dll)
    Wed Mar 10, 2021 00:08:17: Loaded macro file: C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.4\arm\config\flashloader\AnalogDevices\FlashADUCM355.mac
    Wed Mar 10, 2021 00:08:17: JLINK command: ProjectFile = C:\Users\AMarimut\Documents\work\ADuCM355\Codes\aducm355-examples-master\aducm355-examples-master\examples\ApplicationExamples\
    M355_ECSns_EIS\iar\settings\M355_ECSns_EIS_Debug.jlink, return = 0
    Wed Mar 10, 2021 00:08:17: Device "ADUCM355" selected.
    Wed Mar 10, 2021 00:08:17: DLL version: V6.14b, compiled Mar 9 2017 08:46:04
    Wed Mar 10, 2021 00:08:17: Firmware: J-Link V11 compiled Aug 14 2019 16:21:09
    Wed Mar 10, 2021 00:08:17: Selecting SWD as current target interface.
    Wed Mar 10, 2021 00:08:17: JTAG speed is initially set to: 1000 kHz
    Wed Mar 10, 2021 00:08:17: Found SWD-DP with ID 0x2BA01477
    Wed Mar 10, 2021 00:08:17: AP-IDR: 0x24770011, Type: AHB-AP
    Wed Mar 10, 2021 00:08:17: AHB-AP ROM: 0xE00FF000 (Base addr. of first ROM table)
    Wed Mar 10, 2021 00:08:17: Found Cortex-M3 r2p1, Little endian.
    Wed Mar 10, 2021 00:08:17: FPUnit: 2 code (BP) slots and 0 literal slots
    Wed Mar 10, 2021 00:08:17: CoreSight components:
    Wed Mar 10, 2021 00:08:17: ROMTbl 0 @ E00FF000
    Wed Mar 10, 2021 00:08:17: ROMTbl 0 [0]: FFF0F000, CID: B105E00D, PID: 000BB000 SCS
    Wed Mar 10, 2021 00:08:17: ROMTbl 0 [1]: FFF02000, CID: B105E00D, PID: 003BB002 DWT
    Wed Mar 10, 2021 00:08:17: ROMTbl 0 [2]: FFF03000, CID: B105E00D, PID: 002BB003 FPB
    Wed Mar 10, 2021 00:08:17: Core did not halt after reset, manually halting CPU...
    Wed Mar 10, 2021 00:08:17: Hardware reset with strategy 0 was performed
    Wed Mar 10, 2021 00:08:17: Initial reset was performed
    Wed Mar 10, 2021 00:08:17: -I- execUserFlashInit!
    Wed Mar 10, 2021 00:08:17: 904 bytes downloaded (18.78 Kbytes/sec)
    Wed Mar 10, 2021 00:08:17: Loaded debugee: C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.4\arm\config\flashloader\AnalogDevices\FlashADUCM355.out
    Wed Mar 10, 2021 00:08:17: Target reset
    Wed Mar 10, 2021 00:08:18: Unloaded macro file: C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.4\arm\config\flashloader\AnalogDevices\FlashADUCM355.mac
    Wed Mar 10, 2021 00:08:18: Downloaded C:\Users\AMarimut\Documents\work\ADuCM355\Codes\aducm355-examples-master\aducm355-examples-master\examples\ApplicationExamples\
    M355_ECSns_EIS\iar\Debug\Exe\M355_AirQual.out to flash memory.
    Wed Mar 10, 2021 00:08:18: 24685 bytes downloaded into FLASH (17.37 Kbytes/sec)
    Wed Mar 10, 2021 00:08:18: Hardware reset with strategy 0 was performed
    Wed Mar 10, 2021 00:08:19: Loaded debugee: C:\Users\AMarimut\Documents\work\ADuCM355\Codes\aducm355-examples-master\aducm355-examples-master\examples\ApplicationExamples\
    M355_ECSns_EIS\iar\Debug\Exe\M355_AirQual.out
    Wed Mar 10, 2021 00:08:19: Software reset was performed
    Wed Mar 10, 2021 00:08:19: Target reset

  • Hi,

    You may try the "Program Device" button in J-Flash Lite for programming larger firmware binary, before starting with the IAR.

  • Hi, I've solved this issue using J-Link Commander. It looks like I got unlucky and the device decided to seize and lock flash after using J-Flash Lite..? Now IAR can build, flash, and run my firmware again.

    Commands:

    >connect
    >swd
    >h
    >r
    >erase
    >exit

    SEGGER J-Link Commander V6.14b (Compiled Mar 9 2017 08:46:23)
    DLL version V6.14b, compiled Mar 9 2017 08:46:04

    Connecting to J-Link via USB...O.K.
    Firmware: J-Link V11 compiled Nov 12 2020 10:07:08
    Hardware version: V11.00
    S/N: 71000342
    License(s): RDI, GDB
    OEM: MIDAS
    VTref = 3.283V


    Type "connect" to establish a target connection, '?' for help
    J-Link>connect
    Please specify device / core. <Default>: ADUCM355
    Type '?' for selection dialog
    Device>
    Please specify target interface:
    TIF>swd
    Specify target interface speed [kHz]. <Default>: 4000 kHz
    Speed>
    Device "ADUCM355" selected.


    Found SWD-DP with ID 0x2BA01477
    AP-IDR: 0x24770011, Type: AHB-AP
    AHB-AP ROM: 0xE00FF000 (Base addr. of first ROM table)
    Found Cortex-M3 r2p1, Little endian.
    FPUnit: 2 code (BP) slots and 0 literal slots
    CoreSight components:
    ROMTbl 0 @ E00FF000
    ROMTbl 0 [0]: FFF0F000, CID: B105E00D, PID: 000BB000 SCS
    ROMTbl 0 [1]: FFF02000, CID: B105E00D, PID: 003BB002 DWT
    ROMTbl 0 [2]: FFF03000, CID: B105E00D, PID: 002BB003 FPB
    Cortex-M3 identified.
    J-Link>h
    PC = 00000802, CycleCnt = 00000000
    R0 = 00000000, R1 = 2000119C, R2 = 00000400, R3 = 20001FC4
    R4 = 200017C4, R5 = 2000119C, R6 = 00000400, R7 = 00000000
    R8 = 2000119C, R9 = 00000000, R10= 00000000, R11= 00000000
    R12= DE87A5A0
    SP(R13)= 20001FB8, MSP= 20001FB8, PSP= 00000000, R14(LR) = 0000084D
    XPSR = 41000000: APSR = nZcvq, EPSR = 01000000, IPSR = 000 (NoException)
    CFBP = 00000000, CONTROL = 00, FAULTMASK = 00, BASEPRI = 00, PRIMASK = 00
    J-Link>r
    Reset delay: 0 ms
    Reset type NORMAL: Resets core & peripherals via SYSRESETREQ & VECTRESET bit.
    J-Link>erase
    Erasing device ((null))...
    J-Link: Flash download: Total time needed: 1.461s (Prepare: 0.024s, Compare: 0.000s, Erase: 1.434s, Program: 0.000s, Verify: 0.000s, Restore: 0.002s)
    Erasing done.
    J-Link>exit

  • Hi, I was using an old version of the SEGGER toolchain! The following commands
    >connect
    >swd
    >h
    >r
    >erase
    >exit

    Work on the newest toolchain (SEGGER J-Link Commander V6.98a (Compiled Mar  5 2021 17:02:18)

    Thank you!

Reply Children
No Data