2418286_en-US

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

2418286_en-US

2418286_en-US

RT1160 Spread Spectrum crashing...

Looking for help here, I've looked over all other forum posts, and followed everything I could find, but still getting crashes when trying to enable Spread Spectrum on a RT1160 MCU.

As you can see from the screenshots, I've moved fsl_clock.o to RAM as well as *flexspi.o to RAM.

You can see, using Segger Ozone, exactly where the crash occurs, along with the generated exception and exception register settings.

Any idea what's wrong here?


Re: RT1160 Spread Spectrum crashing...

Hi @application_ninja,

Although you've moved fsl_clock.o to RAM, the function SDK_DelayAtLeastUs() is located on fsl_common_arm.o, which is still flash resident. At least, all of the call chain that performs the change for the clock should be located on the internal RAM. This is why on AN12879 (How to Enable Spread Spectrum for RT Family) all of the code was loaded either on ITCM or DTCM.

Re: RT1160 Spread Spectrum crashing...Thank you for the response, however moving fsl_common_arm.o still causes the device to crash. This time however it does get past "SDK_DelayAtLeastUs", but the crash is a very hard one and the debugger does not stop to note where the crash occurs.

The program is quite large and I cannot run it all from ITCM / DTCM.
标记 (1)
无评分
版本历史
最后更新:
25 分钟之前
更新人: