Problem with program,flashloader on FLEXSPI2_A

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

Problem with program,flashloader on FLEXSPI2_A

1,628件の閲覧回数
JayCao
Contributor III

I have a problem with Program, Flashloader for IMXRT1176 on Flexspi2 Instance A.
I have designed my custom board with QSPI flash on the following pins

JayCao_0-1695688908820.png

I also tried to change the Driver as below

JayCao_1-1695689011003.png

But error still happen as shown in the image.

JayCao_2-1695689129423.png

After that, I followed some guides from the community to try to burn from Fuse or change but It showed another problem, could not erase or write when using the Boot Utility tool.

- Scan and burn into the IC

JayCao_3-1695689670964.png

- read from the Boot Device Memory tab

JayCao_4-1695689713435.png

But an error happens when clicking the "Erase" or "Write" button.

I wonder if I was wrong in something.

Could you help me to solve this problem?

 

Thanks and BRs,

 

 

ラベル(1)
0 件の賞賛
返信
5 返答(返信)

1,497件の閲覧回数
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, I reviewed your case, could you download the next tool MCUXpresso Secure Provisioning Tool | NXP Semiconductors this will be needed for the next test. Could you tell me what kind of memory you have? I mean the ID number.

For the first step will try to check the communication to the memory.

Pavel_Hernandez_0-1695857764870.png

1. Select board.
2. Select communication, put the board in serial download.
3. Select memory.
4. Test the memory.

Best regards,
Pavel

0 件の賞賛
返信

1,458件の閲覧回数
JayCao
Contributor III

Hello,

Thanks for your response.

I succeeded in testing with a setting as below.

JayCao_0-1696378702525.png

But still can not erase, flash the firmware via Flash Program Tool

JayCao_1-1696378886083.png

Thank you!

 

 

0 件の賞賛
返信

1,430件の閲覧回数
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, sorry for the late response, I was researching more information about this case, and I found the next. 

MCUBLHOSTUG.pdf (nxp.com)

4.2.5 flash-erase-all [memoryID]

If any flash regions are protected, the command fails with an error. If any flash regions are reserved by the bootloader, they are ignored (not erased). If the VerifyWrites property is enabled, the flash-erase-all command performs a flash verify erase all operation, or multiple flash verify erase options if decomposed due to reserved regions.

Please review this thread maybe could help you.

Solved: blhost fails to erase flash region - NXP Community

Best regards,
Pavel

 

0 件の賞賛
返信

1,593件の閲覧回数
JayCao
Contributor III

Error when clicking the Erase and Write button was "Failed to erase boot device, error code is 20106"

JayCao_0-1695695843078.png

Thanks and BRs,

0 件の賞賛
返信

1,529件の閲覧回数
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, my name is Pavel, and I will be supporting your case, let me get into your case and when I have more information, I will contact you.

Best regards,
Pavel

0 件の賞賛
返信