Post Go back to editing

Can't download firmware to EVAL-ADuCM355QSPZ

Category: Software

Debugger: mIDAS-Link

IDE: IAR Embedded Workbench

Hi,

I'm trying out the function of EVAL-ADuCM355QSPZ via firmware provided in aducm355-examples and ad5940lib .

At first everything was normal and the measurement results were correct (including M355_ECSns_EIS and M355_GPIO), but when I change to another example, the downloading process fails.

Output log:

Sat Aug 06, 2022 16:39:50: IAR Embedded Workbench 9.30.1 (D:\software\arm\bin\ 
armPROC.dll) 
Sat Aug 06, 2022 16:39:50: JLINK command: ProjectFile = D:\SenseUs\ADuCM355\ 
aducm355-examples-master\examples\ApplicationExamples\M355_ECSns_EIS\iar\ 
settings\M355_ECSns_EIS_Debug.jlink, return = 0 
Sat Aug 06, 2022 16:39:50: Device "ADUCM355" selected. 
Sat Aug 06, 2022 16:39:50: DLL version: V7.70 , compiled Aug  3 2022 17:20:31 
Sat Aug 06, 2022 16:39:50: Firmware: J-Link V11 compiled Jul 22 2022 10:21:23 
Sat Aug 06, 2022 16:39:50: Selecting SWD as current target interface. 
Sat Aug 06, 2022 16:39:50: JTAG speed is initially set to: 1000 kHz 
Sat Aug 06, 2022 16:39:50: ConfigTargetSettings() start 
Sat Aug 06, 2022 16:39:50: Disabling flash programming optimizations: Compare,  
SkipBlankDataOnProg and flash breakpoints 
Sat Aug 06, 2022 16:39:50: ConfigTargetSettings() end 
Sat Aug 06, 2022 16:39:50: Found SW-DP with ID 0x2BA01477 
Sat Aug 06, 2022 16:39:50: DPIDR: 0x2BA01477 
Sat Aug 06, 2022 16:39:50: CoreSight SoC-400 or earlier 
Sat Aug 06, 2022 16:39:50: Scanning AP map to find all available APs 
Sat Aug 06, 2022 16:39:50: AP[1]: Stopped AP scan as end of AP map has been  
reached 
Sat Aug 06, 2022 16:39:50: AP[0]: AHB-AP (IDR: 0x24770011) 
Sat Aug 06, 2022 16:39:50: Iterating through AP map to find AHB-AP to use 
Sat Aug 06, 2022 16:39:50: AP[0]: Core found 
Sat Aug 06, 2022 16:39:50: AP[0]: AHB-AP ROM base: 0xE00FF000 
Sat Aug 06, 2022 16:39:50: CPUID register: 0x412FC231. Implementer code: 0x41  
(ARM) 
Sat Aug 06, 2022 16:39:50: Found Cortex-M3 r2p1, Little endian. 
Sat Aug 06, 2022 16:39:50: FPUnit: 2 code (BP) slots and 0 literal slots 
Sat Aug 06, 2022 16:39:50: CoreSight components: 
Sat Aug 06, 2022 16:39:50: ROMTbl[0] @ E00FF000 
Sat Aug 06, 2022 16:39:50: [0][0]: E000E000 CID B105E00D PID 000BB000 SCS 
Sat Aug 06, 2022 16:39:50: [0][1]: E0001000 CID B105E00D PID 003BB002 DWT 
Sat Aug 06, 2022 16:39:50: [0][2]: E0002000 CID B105E00D PID 002BB003 FPB 
Sat Aug 06, 2022 16:39:50: ResetTarget() start 
Sat Aug 06, 2022 16:39:50: Core did not halt after reset, manually halting CPU... 
Sat Aug 06, 2022 16:39:50: CPU could not be halted 
Sat Aug 06, 2022 16:39:50: CPU did not halt after reset. 
Sat Aug 06, 2022 16:39:50: ResetTarget() end 
Sat Aug 06, 2022 16:39:50: CPU could not be halted 
Sat Aug 06, 2022 16:39:50: Warning: Failed to halt CPU. 
Sat Aug 06, 2022 16:39:50: Hardware reset with strategy 8 was performed 
Sat Aug 06, 2022 16:39:50: Initial reset was performed 
Sat Aug 06, 2022 16:39:57: IAR Embedded Workbench 9.30.1 (D:\software\arm\bin\ 
armPROC.dll) 
Sat Aug 06, 2022 16:39:57: Loading the J-Link Driver driver

I tried out resetting the MCU in J-Link commander, but the same error appears (CPU did not halt after reset.).

Is this a hardware failure? How can I solve the problem?

Thanks