How I can flash memory at the first time?

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

How I can flash memory at the first time?

跳至解决方案
509 次查看
emdev
Contributor III

Hello,

When I bring up custom board, I can't write firmware to flash memory (AT25SF128A).

And I can find "https://community.nxp.com/t5/i-MX-RT/RT1051-and-QSPI/m-p/795639".

With this, I execute "evkmimxrt1010_flexspi_nor_polling_transfer" at RAM with Debugger or openSDA.

I can fuse firmware to flash memory after that.

[Question]

Without debugger or OpenSDA, can I fuse firmware to flash memory but with only BootUtility(https://github.com/JayHeng/NXP-MCUBootUtility)?

Because it is hard to use debugger or OpenSDA at factory.

Thanks.

 

标签 (1)
0 项奖励
1 解答
494 次查看
Alexis_A
NXP TechSupport
NXP TechSupport

Hello @emdev,

It looks like the issue is that by default the QE bit is not set by default, so you would need to set the respective Quad mode bit according to the memory that you're using:

Alexis_A_0-1612910887666.png

Best Regards,

Alexis Andalon

在原帖中查看解决方案

0 项奖励
2 回复数
472 次查看
emdev
Contributor III

With your comment, I can download image to new custom board.

But I must use not "Set StatusReg2[1]" but "Set StatusReg2[1] by 3".

Thanks for your help.

0 项奖励
495 次查看
Alexis_A
NXP TechSupport
NXP TechSupport

Hello @emdev,

It looks like the issue is that by default the QE bit is not set by default, so you would need to set the respective Quad mode bit according to the memory that you're using:

Alexis_A_0-1612910887666.png

Best Regards,

Alexis Andalon

0 项奖励