公告

大中华汽车电子生态圈社区并入开发者社区- 更多资讯点击此

Tip / 登入 to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
流浪者
Level 1
Level 1
First question asked First reply posted
我需要将一个区域的代码,全部拷贝到RAM中执行,这个PFLASH区域可能会有地址中没有写入数据,如果读取,程序就会卡死。但是,在Debug模式下,程序能够正常运行
0 点赞
16 回复数
User12775
Level 5
Level 5
First solution authored First like received
所谓的卡死, 要么发生未处理的异常, 要么就是等某个bit, 可以加打印语句看卡死在哪一步. Debug与正常运行不同,我估计是Flash读取的等待设置不同
0 点赞
wanggaoyong
Level 4
Level 4
10 comments on blog 5 comments on blog First comment on blog
Debug模式下直接在RAM里运行的吧
0 点赞
海中水
Level 5
Level 5
750 replies posted 500 replies posted 250 replies posted
Debug模式下程序并没有访问实际的PFlash中的数据,实际运行中访问的实际的,而实际的又是不能访问的,就会出现程序异常的的现象,说白了其实还是访问了非法地址。
0 点赞
Motor_Controlle
Level 3
Level 3
50 replies posted 25 replies posted 10 replies posted
这不赖
0 点赞
118
Level 4
Level 4
用debug
0 点赞
imwxzwsam
Level 3
Level 3
50 replies posted 25 replies posted 10 replies posted
学习了
0 点赞
robbert
Level 3
Level 3
学习了
0 点赞
飞马
Level 5
Level 5
100 comments on blog 50 comments on blog 25 comments on blog
学习
0 点赞
chengeer
Level 4
Level 4
First like received 100 replies posted 50 replies posted
请问你问题怎么解决的?我在搞bootloader,也遇到了这个问题
0 点赞
Zhanxb
Level 4
Level 4
250 replies posted 100 replies posted 50 replies posted
百度一下
0 点赞
sxgaocong
Level 2
Level 2
50 replies posted 25 replies posted 10 replies posted
非法地址访问了 tricore系列不可以访问一些地址的 访问了就会出错 这属于它的安全保护机制
0 点赞
iLongMarch
Level 1
Level 1
5 replies posted First question asked First reply posted
学习了
0 点赞
天河之外
Level 5
Level 5
100 replies posted 50 replies posted 25 replies posted
学习了
0 点赞
独秀一郎
Level 5
Level 5
Welcome! 50 comments on blog 25 comments on blog
希望每个解决问题的人都能够简单介绍一下如何解决的,这样可以帮助更多人解决问题。
0 点赞
User22064
Level 5
Level 5
10 sign-ins First like given 5 sign-ins
学习学习
0 点赞
SIX_66
Level 6
Level 6
First comment on blog 500 replies posted 250 replies posted
学习啦
0 点赞