failed to read memory

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

cross mob
yangyong
Level 5
Level 5
Distributor - Jingchuan(GC)
5 comments on blog First comment on blog 50 questions asked

i'm debug a program,  the console displays the following error:

yoya_4785701_0-1652316504935.png

 

0 Likes
6 Replies
Vison_Zhang
Moderator
Moderator
Moderator
First comment on KBA 750 replies posted 250 sign-ins

1. 请问通过 ModusToolBox + Miniprog4(KitProg3) 是否可以对芯片正常烧录?排除SWD硬件连接问题。

2. 用户代码中是否使能了 WDT,如果是的话,请暂时关闭,防止芯片在 debugger 模式下被 WDT复位。

3. 请查看一下 Device Configurator--> System-->Debug 选项卡下的 Debug Mode 是否是 SWD 模式,以及 SWD IO 是否配置正确。

Capture.PNG

4. 尝试一下给板子外部供电和不给板子外部供电两种供电模式下使用 Miniprog4(KitProg3) 做 debug 的结果。看是否和供电方式或供电冲突有关。

0 Likes
yangyong
Level 5
Level 5
Distributor - Jingchuan(GC)
5 comments on blog First comment on blog 50 questions asked

我发现是程序容量超过芯片的容量导致的,为什么编译还能通过呢?

yoya_4785701_0-1652681358215.png

 

0 Likes
Vison_Zhang
Moderator
Moderator
Moderator
First comment on KBA 750 replies posted 250 sign-ins

请问您用的 ModusToolBox 是哪个版本?

0 Likes
yangyong
Level 5
Level 5
Distributor - Jingchuan(GC)
5 comments on blog First comment on blog 50 questions asked

2.4.0版的

0 Likes
yangyong
Level 5
Level 5
Distributor - Jingchuan(GC)
5 comments on blog First comment on blog 50 questions asked

请问一下,我现在程序想优化一下,怎么去掉capsense,hal库,我在library manager里,勾选框去不掉。

0 Likes
YuZh
Moderator
Moderator
Moderator
100 replies posted 10 likes received 50 sign-ins

Hi:

这个问题是MTB的一本BUG,正在处理中,请你耐心等待下,有具体反馈,我们会在这里及时给你反馈。

0 Likes