This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LPC802 debug failure with arm ds

I import a LPC802 hello_world keil example into arm ds. It could build pass and generate .axf file.

But I have met an error when debugging.

Here is my debug configuration:

When I click debug, here is the error log :

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Stopping running target LPC804_DFP_LPC804M101JDH24 on connection
Connected to running target LPC804_DFP_LPC804M101JDH24
Execution stopped in Privileged Thread mode at 0x00001330
0x00001330 CMP r0,#0
cd "C:\Users\nxf47831\Documents\arm_ds_workspace4"
Execution stopped in Privileged Thread mode at 0x00001330
0x00001330 CMP r0,#0
Working directory "C:\Users\nxf47831\Documents\arm_ds_workspace4"
reset reset.hardware
flash load-multiple "C:\Users\nxf47831\Documents\repo_11_1\mcu-sdk-2.0\boards\lpcxpresso804\demo_apps\hello_world\hello_world_hello_world_debug\Debug\hello_world_hello_world_debug.axf"
ERROR(CMD720-FLP25-FLP6-FLP4):
! Flash programming failed
! Flash method setup failed
! Bus error on memory operation.
! Exception NativeException thrown in Python script null at line <Unknown>
file "C:\Users\nxf47831\Documents\repo_11_1\mcu-sdk-2.0\boards\lpcxpresso804\demo_apps\hello_world\hello_world_hello_world_debug\Debug\hello_world_hello_world_debug.axf"
reset reset.hardware
ERROR(TAD43-?):
! Failed to reset device Cortex-M0+
!
Debug Sequence failed:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

And the window was switched to Disassembly tab:

When using keil,  this project could build and debug successfully. I don't know why encounter error in arm ds. Because all the files and options are same, and the compilers are both arm compiler 5.

Does anyone know the reason of this error ? It will be appreciated for any suggestion.

0