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

ModusToolbox™ General Forum Discussions

yangyong
Level 4
5 likes given 5 solutions authored 25 replies posted
Level 4

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

yoya_4785701_0-1652316504935.png

 

0 Likes
6 Replies
Vison_Zhang
Moderator
Moderator 10 likes given 500 replies posted 100 sign-ins
Moderator

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 4
5 likes given 5 solutions authored 25 replies posted
Level 4

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

yoya_4785701_0-1652681358215.png

 

0 Likes
Vison_Zhang
Moderator
Moderator 10 likes given 500 replies posted 100 sign-ins
Moderator

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

0 Likes
yangyong
Level 4
5 likes given 5 solutions authored 25 replies posted
Level 4

2.4.0版的

0 Likes
yangyong
Level 4
5 likes given 5 solutions authored 25 replies posted
Level 4

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

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

Hi:

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

0 Likes