Programming External Flash via J-link

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

Programming External Flash via J-link

跳至解决方案
998 次查看
choix361
Contributor I

In RT1064 EVK, I was able to program directly into external flash via J-link.

However, I cannot do the same in my custom board.

The difference is that my custom board is using kFLEXSPI_PortB1 instead of kFLEXSPI_PortA1.

Also, dqs pin is not used in my custom board. I had to change clock source as kFLEXSPI_ReadSampleClkLoopbackInternally instead of kFLEXSPI_ReadSampleClkLoopbackFromDqsPad.

 

I found i.MXRT1060 - SEGGER wiki page that FLEXSPIA_SS0_B is only supported?

choix361_0-1734565885393.png

https://kb.segger.com/i.MXRT1060

This means my custom board cannot be program/erase directly via J-link because I am using FLEXSPIB_SS0_B = GPIO_SD_B1_04?

 

My custom board mex file snippet is below:

choix361_1-1734565998949.png

 

 

Thanks,

Hyunwoo

标签 (1)
标记 (3)
0 项奖励
回复
1 解答
978 次查看
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @choix361 ,

Thanks for your interest in NXP MIMXRT series!

Yes, the PORTB flash can only be used for IAP. Please kindly check this thread: https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1062-NOR-Flash-on-FlexSPI-B/m-p/1583452

In addition, this Chinese document goes into more detail on this, which can be a good reference: https://www.cnblogs.com/henjay724/p/12375942.html

Best regards,
Gavin

在原帖中查看解决方案

0 项奖励
回复
1 回复
979 次查看
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @choix361 ,

Thanks for your interest in NXP MIMXRT series!

Yes, the PORTB flash can only be used for IAP. Please kindly check this thread: https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1062-NOR-Flash-on-FlexSPI-B/m-p/1583452

In addition, this Chinese document goes into more detail on this, which can be a good reference: https://www.cnblogs.com/henjay724/p/12375942.html

Best regards,
Gavin

0 项奖励
回复