EVK cannot run to main code and stack overflow handed in debug mode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

EVK cannot run to main code and stack overflow handed in debug mode

Jump to solution
993 Views
vicchen23456
Contributor II

I firstly use RT685 EVK board. I imported the SDK example code, and the code is built ok. I debug as SEGGER J-Link probes, and program flash is no problem. But the code hanged in as below:

Break at address "0x1c04a" with no debug information available, or outside of program code.

0001c04a: b.n 0x1c04a

I don't know why that? I suspend this in debug, the stack usage is showed as Overflow. Now I cannot take the next step. Who can help me? Thank very much.

i.MX-RT600 

Tags (1)
0 Kudos
Reply
1 Solution
962 Views
mayliu1
NXP Employee
NXP Employee
Hi,@vicchen23456
 
    感谢您关注恩智浦半导体RT685系列产品,很高兴为您提供支持。
 
    为了更好的给您提供专业的服务,我借用之前Case的一个例程为您解答。
sctimer_pwm_with_dutycyle_change 版本运行正常。
硬件:MIMXRT685-EVK
SDK版本:SDK_2_16_000_EVK-MIMXRT685.zip 
IDE版本:MCUXpresso IDE v11.10.0
 
 mayliu1_0-1725876842781.png

 

 

 

同时我也咨询 RT685系列产品专家,建议您检查以下几点:
1:确认您的板子是否是MIMXRT685-EVK ,以及硬件Boot  Mode模式以及其他设置是否正确。
mayliu1_1-1725876842810.png 
 

 

 

 

2:在SDK安装包中找到readme.md ,路径如下所示:
 
MIMXRT685\SDK_2_16_000_EVK-MIMXRT685.zip\boards\evkmimxrt685\driver_examples\sctimer\pwm_with_dutycyle_change
里面描述了硬件,SDK版本、MCUXPresso版本号等,需要对应匹配。
 
mayliu1_2-1725876843023.png 
 

 

 

 

 
 
3:确认MCUXPresso导入工程是否正确。
 
mayliu1_3-1725876843155.png 
 

 

 

希望对您有帮助,如果有任何问题,欢迎随时沟通。
 
Best Regards
mayliu

View solution in original post

0 Kudos
Reply
2 Replies
953 Views
vicchen23456
Contributor II

現在已經可以正常工作了, 原來是我下載了SDK_2_16_000_MIMXRT685-AUD-EVK.zip, 但是我的開發板是RT685-EVK, 我重新下載SDK_2_16_000_EVK-MIMXRT685.zip已可以正常工作, 謝謝NXP的支持與協助.
,

0 Kudos
Reply
963 Views
mayliu1
NXP Employee
NXP Employee
Hi,@vicchen23456
 
    感谢您关注恩智浦半导体RT685系列产品,很高兴为您提供支持。
 
    为了更好的给您提供专业的服务,我借用之前Case的一个例程为您解答。
sctimer_pwm_with_dutycyle_change 版本运行正常。
硬件:MIMXRT685-EVK
SDK版本:SDK_2_16_000_EVK-MIMXRT685.zip 
IDE版本:MCUXpresso IDE v11.10.0
 
 mayliu1_0-1725876842781.png

 

 

 

同时我也咨询 RT685系列产品专家,建议您检查以下几点:
1:确认您的板子是否是MIMXRT685-EVK ,以及硬件Boot  Mode模式以及其他设置是否正确。
mayliu1_1-1725876842810.png 
 

 

 

 

2:在SDK安装包中找到readme.md ,路径如下所示:
 
MIMXRT685\SDK_2_16_000_EVK-MIMXRT685.zip\boards\evkmimxrt685\driver_examples\sctimer\pwm_with_dutycyle_change
里面描述了硬件,SDK版本、MCUXPresso版本号等,需要对应匹配。
 
mayliu1_2-1725876843023.png 
 

 

 

 

 
 
3:确认MCUXPresso导入工程是否正确。
 
mayliu1_3-1725876843155.png 
 

 

 

希望对您有帮助,如果有任何问题,欢迎随时沟通。
 
Best Regards
mayliu
0 Kudos
Reply