Programming External Flash via J-link

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Programming External Flash via J-link

ソリューションへジャンプ
979件の閲覧回数
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 解決策
959件の閲覧回数
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 返信
960件の閲覧回数
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 件の賞賛
返信