How to debug qspi flash application using segger jlink

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

How to debug qspi flash application using segger jlink

837 次查看
ganes_rames
Contributor II

HI ,
    I try to debug qspi flash application using segger jlink and mcuxpresso ide, i can't able to flash/debug correctly.

ganes_rames_0-1735281197509.png


the same issue mentioned in this thread. 

ganes_rames_1-1735281348344.png


Am i missing anything ??

Note : When i try to flash the generated hex file manually by using segger jflash, i can able to flash successfully. But i cant able to flash/erase chip from mcuxpresso ide using segger jlink for QSPI. For hyperflash segger jlink works well.

0 项奖励
回复
3 回复数

801 次查看
mayliu1
NXP Employee
NXP Employee

Hi @ganes_rames 

Thank you so much for your interest in our products and for using our community.

Please double check your MCUXPresso IDE JLINK option setting.

mayliu1_0-1735295204241.png

Wish it helps you.
If you still have question about it, please kindly let me know.

BR

mayliu

0 项奖励
回复

795 次查看
ganes_rames
Contributor II

Hi @mayliu1 ,

      I am using jlink version 8.10. In this thread they said earlier jlink V7.68c software and it used to work perfect.

Can you please help me to solve this issue with my current jlink version.

ganes_rames_0-1735297503012.png

 

 

0 项奖励
回复

732 次查看
mayliu1
NXP Employee
NXP Employee

Hi @ganes_rames ,

Thanks for your reply.

The MIMXRT1050-EVKB development board uses the on-board Hyper Flash by default. If you want to use QSPI NOR Flash, you need to make changes to the hardware. It also need different algorithm files when paired with Flash of different attributes.

 RT-UFL  is mainly targeted at the Segger J-Link debugger.

 痞子衡嵌入式:超级下载算法RT-UFL v1.0发布,附J-Link下安装教程 - 痞子衡 - 博客园

The author of this article used J-Link version v6.86f. It is recommended that you also use this version.

RT-UFL v1.0 download address: 

https://github.com/JayHeng/RT-UFL/archive/refs/tags/v1.0.zip

J-Link driver download address:    

https://www.segger.com/downloads/jlink

After installing above drivers, the next step is copy all the files under the path of \RT-UFL-1.0\algo\SEGGER\JLink_Vxxx and overwrite them in the \SEGGER\JLink_V686f\ directory.

We need to specify the J-Link v6.86f driver with the RT-UFL  algorithm patch applied to  the IDE(to replace the built-in J-Link drivers in each IDE), we can realize this with the help of the JLinkDLLUpdater.exe software.   You can also set MCUXPresso IDE as my previous post.

 

Wish it helps you.
If you still have question about it, please kindly let me know.

BR

mayliu

0 项奖励
回复