How I can flash memory at the first time?

cancel
Showing results for 
Search instead for 
Did you mean: 

How I can flash memory at the first time?

Jump to solution
479 Views
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.

 

Labels (1)
0 Kudos
1 Solution
464 Views
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

View solution in original post

0 Kudos
2 Replies
442 Views
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 Kudos
465 Views
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 Kudos