在仿真的时候程序运行几秒钟就停止了(运行按钮变为显色,有时候我发现虽然这个按钮变为显色了,但是手机是可以搜索到这个设备的)。寄存器里面全部是0,命令
中的信息如下,
**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警告:CPU无法停止
***JLink错误:无法读取内存位置0x2000333E时,试图清除软RAM BP
***JLink Error: Can not read register 0 (R0) while CPU is running . ***JLink Error: Can not read register 0 (R0) while CPU is running
***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 Error: Can not read register 2 (R2) while CPU is running . ***JLink Error: Can not read register 2 (R2) while CPU is running
***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 Error: Can not read register 4 (R4) while CPU is running . ***JLink Error: Can not read register 4 (R4) while CPU is running
***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 Error: Can not read register 6 (R6) while CPU is running . ***JLink Error: Can not read register 6 (R6) while CPU is running
***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 Error: Can not read register 8 (R8) while CPU is running . ***JLink Error: Can not read register 8 (R8) while CPU is running
***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 Error: Can not read register 10 (R10) while CPU is running . ***JLink Error: Can not read register 10 (R10) while CPU is running
***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
我觉的这是个软件问题,请问应该怎么解决这个问题?
const静态sleep_state_t app_default_sleep_mode = ARCH_SLEEP_OFF;睡眠模式已经确定设置为关了
另外关于DA1458x_SDK_5.0.3和工程DA1458x_DSPS_v_5.150.2, DA1458x_IOT_V5.160.1.19,这三个的SDK哪一个是最新的,是看版本序号吗?
非常感谢
1.这个只有单步走看看是哪里跑飞了
2. sdk正式发布的版本,目前最新的是5.0.3。工程DA1458x_DSPS_v_5.150.2 DA1458x_IOT_V5.160.1.19,这两个工程是在SDK基础上做的功能拓展。
但是我对比代码SDK并不太一样,尤其是app.c文件,差异很大