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
1,785 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
1,753 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
1,744 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
1,754 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
%3CLINGO-SUB%20id%3D%22lingo-sub-1949714%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EEVK%20cannot%20run%20to%20main%20code%20and%20stack%20overflow%20handed%20in%20debug%20mode%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1949714%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20firstly%20use%20RT685%20EVK%20board.%20I%20imported%20the%20SDK%20example%20code%2C%20and%20the%20code%20is%20built%20ok.%20I%20debug%20as%20SEGGER%20J-Link%20probes%2C%20and%20program%20flash%20is%20no%20problem.%20But%20the%20code%20hanged%20in%20as%20below%3A%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23FF0000%22%3EBreak%20at%20address%20%220x1c04a%22%20with%20no%20debug%20information%20available%2C%20or%20outside%20of%20program%20code.%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23FF00FF%22%3E0001c04a%3A%20b.n%200x1c04a%3C%2FFONT%3E%3C%2FP%3E%3CP%3EI%20don't%20know%20why%20that%3F%20I%20suspend%20this%20in%20debug%2C%20the%20stack%20usage%20is%20showed%20as%20Overflow.%20Now%20I%20cannot%20take%20the%20next%20step.%20Who%20can%20help%20me%3F%20Thank%20very%20much.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fc-pwmxy87654%2Fi.MX-RT600%2Fpd-p%2Fi.MX-RT600%22%20class%3D%22lia-product-mention%22%20data-product%3D%22522-1%22%20target%3D%22_blank%22%3Ei.MX-RT600%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E