共2条
1/1 1 跳转至页
DataAbort 取数据中止DataAbort是什么意思?

问
使用ADS1.2调试程序,选取DebuginFlash后进入AXD调试环境,程序运行,停止后程序始终在此停止
;取数据中止
DataAbort
B DataAbort
使用DebuginRAM程序可以运行并且完全实现要求功能,请教DataAbort是什么意思?数据访问存储器出错是指什么?是指程序下载过程中的数据出错还是程序已经下载进ARM单片机里运行时取数据出错?
调试过程中有warning
Warning : C2215W: Deprecated declaration RemoveByteFromBuffer1() - give arg types
main.c line 38
Warning : C2215W: Deprecated declaration RemoveByteFromBuffer2() - give arg types
main.c line 40
Warning : C2916W: use of '=' in condition context
main.c line 247
Warning : C2916W: use of '=' in condition context
main.c line 277
C:\Program Files\ARM\doubleuart\src\main.c: 4 warnings, 0 errors, 0 serious errors
Warning : L6329W: .\src\mem_b.scf(line 37, col 13) Pattern *(RW) only matches removed unused sections.
mem_b.scf line 37
================================================================================
Image component sizes
Code RO Data RW Data ZI Data Debug
1600 64 0 6184 11892 Object Totals
796 0 0 96 840 Library Totals
================================================================================
Code RO Data RW Data ZI Data Debug
2396 64 0 6280 12732 Grand Totals
================================================================================
Total RO Size(Code + RO Data) 2460 ( 2.40kB)
Total RW Size(RW Data + ZI Data) 6280 ( 6.13kB)
Total ROM Size(Code + RO Data + RW Data) 2460 ( 2.40kB)
================================================================================
Finished: 0 information, 1 warning and 0 error messages.
答 1: 是这样的取数据终止是指程序运行时执行了一个取指指令的地址范围不在系统规定存储器范围内!即读取的数据不存在!比如,你执行了MOV R1,0X10000000
这个0x10000000不是flash和ram的区域!
使用ADS1.2调试程序,选取DebuginFlash后进入AXD调试环境,程序运行,停止后程序始终在此停止
;取数据中止
DataAbort
B DataAbort
使用DebuginRAM程序可以运行并且完全实现要求功能,请教DataAbort是什么意思?数据访问存储器出错是指什么?是指程序下载过程中的数据出错还是程序已经下载进ARM单片机里运行时取数据出错?
调试过程中有warning
Warning : C2215W: Deprecated declaration RemoveByteFromBuffer1() - give arg types
main.c line 38
Warning : C2215W: Deprecated declaration RemoveByteFromBuffer2() - give arg types
main.c line 40
Warning : C2916W: use of '=' in condition context
main.c line 247
Warning : C2916W: use of '=' in condition context
main.c line 277
C:\Program Files\ARM\doubleuart\src\main.c: 4 warnings, 0 errors, 0 serious errors
Warning : L6329W: .\src\mem_b.scf(line 37, col 13) Pattern *(RW) only matches removed unused sections.
mem_b.scf line 37
================================================================================
Image component sizes
Code RO Data RW Data ZI Data Debug
1600 64 0 6184 11892 Object Totals
796 0 0 96 840 Library Totals
================================================================================
Code RO Data RW Data ZI Data Debug
2396 64 0 6280 12732 Grand Totals
================================================================================
Total RO Size(Code + RO Data) 2460 ( 2.40kB)
Total RW Size(RW Data + ZI Data) 6280 ( 6.13kB)
Total ROM Size(Code + RO Data + RW Data) 2460 ( 2.40kB)
================================================================================
Finished: 0 information, 1 warning and 0 error messages.
答 1: 是这样的取数据终止是指程序运行时执行了一个取指指令的地址范围不在系统规定存储器范围内!即读取的数据不存在!比如,你执行了MOV R1,0X10000000
这个0x10000000不是flash和ram的区域!
共2条
1/1 1 跳转至页
回复
打赏帖 | |
---|---|
嵌入式LinuxC语言程序调试和宏使用技巧被打赏50分 | |
让代码中包含最新的编译时间信息被打赏50分 | |
rtthread硬件加密--2crc加密分析被打赏10分 | |
【分享开发笔记,赚取电动螺丝刀】mcxa156使用低功耗定时器适配硬件RTC框架被打赏26分 | |
【STM32F769】AI之与本地deepseek对接被打赏50分 | |
Buck电路工作在CCM模式下电感电流的计算公式是什么?被打赏5分 | |
buck电路工作原理被打赏5分 | |
基于MSPM0L1306的MODBUS-RTU协议通讯实验被打赏100分 | |
我想要一部加热台+多合一调试工具被打赏18分 | |
每周了解几个硬件知识+485硬件知识分享被打赏10分 |