5 posts / 0 new
Last post
huamingshen
Offline
Last seen:5 years 2 weeks ago
加入:2015-08-21 04:13
custom board and debug fault

Hi,
I am developing the BLE app on DA14580. And after my cunstom board is done, I find the keil cannot debug on my board. I use the example project "ble_app_barebone", and do nothing with it. The log is here:
Target info:
------------
Device: ARMCM0
VTarget = 3.300V
State of Pins: TCK: 0, TDI: 0, TDO: 0, TMS: 1, TRES: 1, TRST: 1
Hardware-Breakpoints: 4
Software-Breakpoints: 8192
Watchpoints: 2
JTAG speed: 4000 kHz

/* KILL BUTTON * */
/* DEFINE BUTTON "Reset DK580" , "include ../../../misc/sysram_case23.ini" */
RESET
E long 0x50000012 = 0xa4
E long 0x50003308 = 0x2e
LOAD %L
*** error 122, line 6: AGDI: memory read failed (0x00505358)
SP = _RDWORD (0x20000000)
$ = _RDWORD (0x20000004)

And the cursor point to here:
if ((GetWord16(SYS_STAT_REG) & DBG_IS_UP) == DBG_IS_UP)
__asm("BKPT #0\n");

My sch file is in the attachment. Many Thanks!!!

Attachment:
Device:
MT_dialog
Offline
Last seen:1 month 1 week ago
Staff
加入:2015-06-08 11:34
Hi huamingshen,

Hi huamingshen,

Can you debug the same program on a dev kit and please disable sleep? The errors seem to be from the start up file.

Thanks MT_dialog

huamingshen
Offline
Last seen:5 years 2 weeks ago
加入:2015-08-21 04:13
Thanks for your reply. I

Thanks for your reply. I debug the same program an a kev kit, and it runs well. And I disble the sleep. But it is no use.........

huamingshen
Offline
Last seen:5 years 2 weeks ago
加入:2015-08-21 04:13
anyone can help???

anyone can help???

MT_dialog
Offline
Last seen:1 month 1 week ago
Staff
加入:2015-06-08 11:34
Hi huamingshen,

Hi huamingshen,

A dialog's local team member will conatct you for solving your problem.

Thanks MT_dialog