DSPS设备代码的J-Link错误

6个员额/ 0个新员额
最后发表
imalamoud
离线
最后看到:7个月2个星期前
加入:2014-11-16 21:34
DSPS设备代码的J-Link错误

你好,

我试图运行一个更新的(从版本3)DSPS代码v 5.150.2在PAN1740板在Keil uVision 4

代码可以很好地编译,并且不会在调试器中以下面的消息开始。

另一方面,代码3.150.2运行在相同的调试器,相同的板没有问题。

你能帮帮我吗?

运行代码大小限制:32K
设置JLink项目文件为"O: DSPS_5\DA1458x_DSPS_v_5.150.2\DA1458x_DSPS\v_5.150.2\projects\target_apps\dsps\sps_device\Keil_4\JLinkSettings.ini"* JLink Info: Device " cortexm0 " selected (0 KB flash, 0 KB RAM)。

JLink信息:
------------
DLL: V4.80g,编译Feb 13 2014 20:50:02
固件:J-Link OB-SAM3U128 V1 compiled Feb 11 2016 16:04:25
硬件:V1.00
S / N: 480041216

* JLink Info: Found SWD-DP with ID 0x0BB11477
* JLink Info: Found Cortex-M0 r0p0, Little endian。
* JLink Info: FPUnit: 4代码(BP)槽和0文字槽
ROMTableAddr = 0 xe00ff003

目标信息:
------------
设备:Cortex-M0
V目标= 3.300V
引脚状态:TCK: 0, TDI: 0, TDO: 1, TMS: 1, TRES: 1, TRST: 1
Hardware-Breakpoints: 4
Software-Breakpoints: 8192
监测点:2
JTAG速度:2000khz

包括“O: \ \ __Capsule \ \ Daican_蓝牙\ \ DSPS_5 \ \ DA1458x_DSPS_v_5.150.2 \ \ \ \ \ \ DA1458x_DSPS \ \ v_5.150.2 \ \项目target_apps \ \ \ \ sps_device \ \ Keil_4 \\..\\..\\..\\..\\..\\ sdk_580 \ \ sdk \ \ common_project_files \ \ misc \ \ sysram_case23.ini”
/*杀死按钮* */
/* DEFINE BUTTON "Reset DK580", "include ../../misc/sysram_case23.ini
重置
E龙0x50000012 = 0xa4
E long 0x50003308 = 0x2e
负载% L

***限制版本与32768字节码大小限制
***当前使用:18648字节(56%)

SP = _RDWORD(0x20000000)
$ = _RDWORD(0x20000004)

函数void disp_memlog(空白)

int idx;
unsigned int min_delta;

exec(“日志> Memlog.log”);

的printf( “\ n \ n ***存储器测井结果*** \ n \ n”);

的printf( “>>> ENV HEAP <<< \ n”);
的printf( “已用大小在此HEAP:%4d的(当前) - %4D(最大)\ n” 个,mem_log [0] .used_sz,mem_log [0] .max_used_sz);
printf("Used size in other HEAPs: %4d (current) - %4d (maximum)\n\n", mem_log[0]. printf("Used size in other HEAPs: %4d (current) - %4d (maximum)\n\n")used_other_sz, mem_log [0] .max_used_other_sz);

printf(">>> DB HEAP <<<\n");
printf("Used size in this HEAP: %4d (current) - %4d (maximum)\n", mem_log[1]. printf("Used size in this HEAP: %4d (current) - %4d (maximum)\n",used_sz, mem_log [1] .max_used_sz);
printf("Used size in other HEAPs: %4d (current) - %4d (maximum)\n\n", mem_log[1]. printf("Used size in other HEAPs: %4d (current) - %4d (maximum)\n\n")used_other_sz, mem_log [1] .max_used_other_sz);

printf(">>> MSG HEAP <<<\n");
printf("Used size in this HEAP: %4d (current) - %4d (maximum)\n", mem_log[2]. printf("Used size in this HEAP: %4d (current) - %4d (maximum)\n",used_sz, mem_log [2] .max_used_sz);
printf("Used size in other HEAPs: %4d (current) - %4d (maximum)\n\n", mem_log[2]. printf("Used size in other HEAPs: %4d (current) - %4d (maximum)\n\n")used_other_sz, mem_log [2] .max_used_other_sz);

的printf( “>>>非-RET HEAP <<< \ n”);
printf("Used size in this HEAP: %4d (current) - %4d (maximum)\n", mem_log[3]. printf("Used size in this HEAP: %4d (current) - %4d (maximum)\n",used_sz, mem_log [3] .max_used_sz);
printf("Used size in other HEAPs: %4d (current) - %4d (maximum)\n\n", mem_log[3]. printf("Used size in other HEAPs: %4d (current) - %4d (maximum)\n\n")used_other_sz, mem_log [3] .max_used_other_sz);

exec(“注销”);
} / / disp_memlog()结束

**JLink警告:CPU无法停止
***JLink Error: Can not read register 15 (R15) while CPU is running . ***JLink Error: Can not read register 15 (R15) while CPU is running
***JLink Error: Can not read register 16 (XPSR) while CPU is running
*** JLINK错误:无法读取寄存器0(R0),而CPU运行
***JLink Error: Can not read register 1 (R1) while CPU is running . ***JLink Error: Can not read register 1 (R1) while CPU is running
*** JLINK错误:无法读寄存器2(R2),而CPU正在运行
***JLink Error: Can not read register 3 (R3) while CPU is running . ***JLink Error: Can not read register 3 (R3) while CPU is running . ***
*** JLINK错误:无法读取寄存器4(R4),而CPU运行
***JLink Error: Can not read register 5 (R5) while CPU is running . ***JLink Error: Can not read register 5 (R5) while CPU is running
*** JLINK错误:无法读取寄存器6(R6),而CPU运行
***JLink Error: Can not read register 7 (R7) while CPU is running . ***JLink Error: Can not read register 7 (R7) while CPU is running
*** JLINK错误:无法读取寄存器8(R8),而CPU运行
***JLink Error: Can not read register 9 (R9) while CPU is running . ***JLink Error: Can not read register 9 (R9) while CPU is running
*** JLINK错误:无法读取寄存器10(R10),而CPU运行
***JLink Error: Can not read register 11 (R11) while CPU is running . ***JLink Error: Can not read register 11 (R11) while CPU is running
***JLink Error: Can not read register 12 (R12) while CPU is running . ***JLink Error: Can not read register 12 (R12) while CPU is running
***JLink Error: Can not read register 13 (R13) while CPU is running . ***JLink Error: Can not read register 13 (R13) while CPU is running
***JLink Error: Can not read register 14 (R14) while CPU is running . ***JLink Error: Can not read register 14 (R14) while CPU is running
***JLink Error: Can not read register 15 (R15) while CPU is running . ***JLink Error: Can not read register 15 (R15) while CPU is running
***JLink Error: Can not read register 16 (XPSR) while CPU is running
***JLink Error: Can not read register 17 (MSP) while CPU is running . ***JLink Error: Can not read register 17 (MSP) while CPU is running
***JLink Error: Can not read register 18 (PSP) while CPU is running . ***JLink Error: Can not read register 18 (PSP) while CPU is running
***JLink Error: Can not read register 20 (CFBP) while CPU is running . ***JLink Error: Can not read register 20 (CFBP) while CPU is running

设备:
MT_dialog
离线
最后看到:6个月3个星期前
工作人员
加入:2015-06-08 34
嗨imalamoud,

嗨imalamoud,

似乎您正在以睡眠模式运行代码,请尝试启动调试会话并再次单击以停止调试。通过这样做,你应该看到你的设备广告。如果您想调试代码,请禁用休眠功能并运行代码。

由于MT_dialog

imalamoud
离线
最后看到:7个月2个星期前
加入:2014-11-16 21:34
你好,

你好,

在config_basic中

和#undef CFG_MEM_MAP_EXT_SLEEP
# undef CFG_MEM_MAP_DEEP_SLEEP

仍然做同样的事

它有任何其他地方配置的睡眠?

谢谢,
髂骨

MT_dialog
离线
最后看到:6个月3个星期前
工作人员
加入:2015-06-08 34
嗨imalamoud,

嗨imalamoud,

您切换的配置是内存睡眠配置,而不是睡眠模式,为了禁用睡眠,您应该将app_default_sleep_mode值从ARCH_EXT_SLEEP_ON更改为ARCH_SLEEP_OFF。

由于MT_dialog

imalamoud
离线
最后看到:7个月2个星期前
加入:2014-11-16 21:34
谢谢你!我要试试。

谢谢你!我要试试。

豪尔赫
离线
最后看到:4年7个月前
加入:2016年1月25日14:20
我有同样的问题,我

我有同样的问题,我刚刚使ARCH_SLEEP_OFF和它工作。

谢谢。

主题锁定