Erase 2nd flash using JLink

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

Erase 2nd flash using JLink

3,317 次查看
bp1979
Senior Contributor I

Hi,

We are using a second flash on a custom board using an IMX RT 1024 chip.

We run our firmware from flash1, connected to FlexSPI port A1

We use this second as storage device, connected to FlexSPI port B1.

Everything works fine from software point of view. But we are unable to erase second flash using JLink.

J-Link>erase 0x60400000,0x60500000
'erase': Performing implicit reset & halt of MCU.
ResetTarget() start
ResetTarget() end - Took 121ms
AfterResetTarget() start
AfterResetTarget() end - Took 468us
Erasing selected range...
J-Link: Flash download: 
No Flash bank within given address range 0x60400000, 0x60500000
Erasing done.

 

Is there a way to configure JLink in such a way that it understands that there is another flash connected to FlexSPI B1?

I assume I also need to configure lookup tables so that JLink knows how to erase sectors/blocks/chip.

Any guidance would be appreciated

0 项奖励
回复
3 回复数

3,276 次查看
nxf77486
NXP TechSupport
NXP TechSupport

Hello,

 

Thank you for contacting NXP support.

Please find the following community post that has a similar query regarding the erase of the FlexSPI B1.

And please let me know if you have another question where I can help you.

0 项奖励
回复

3,235 次查看
bp1979
Senior Contributor I

@nxf77486 

That's a very strange answer if I may say so.

First of all, you are referring to my own question.

Second of all, the linked Q&A has nothing to do with this question (except that they are both about "flash2").

My problem is that we are unable to erase flash2 through JLink.

Could you please explain how we should configure JLinkExe / JFlash / whatever to be able to erase the second flash connected to B1 from JLink?

0 项奖励
回复

3,142 次查看
nxf77486
NXP TechSupport
NXP TechSupport

Hello,

 

We currently do not have a document that specify this information, but I think the following Application Note can reach what you are currently looking for.

Please let me know if you found this application note useful.

0 项奖励
回复