Program flash using Segger IMXRT1176 Coral Board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Program flash using Segger IMXRT1176 Coral Board

1,055 Views
TM_MI
Contributor III

Hello,

I am using Google Coral Micro Dev Board.

https://www.mouser.ca/ProductDetail/Coral/G650-07968-01?qs=vvQtp7zwQdPSmuDFGLyQqQ%3D%3D

I was able to use their flash-tool. They use USB and JTAG for serial download; both methods work.

Now, I am using Mcuxpresso to debug our current project. I was able to debug using JTAG but the application must be linked to RAM otherwise i get the following errors.

if i flash program:

****** Error: Failed to perform RAMCode-sided Prepare()
Error while determining flash info (Bank @ 0x30000000)
Unspecified error -1
Script processing completed.
Unable to perform operation!
Command failed with exit code 1

 

or if i debug without linking ram:

NXP Debugg Problem.png

 

 

0 Kudos
7 Replies

1,035 Views
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 Kudos

1,022 Views
TM_MI
Contributor III

Hello @Pavel_Hernandez ,

Thank you. I contacted Coral for info and they suggested to contact NXP.

It seems that the QSPI cannot be accessed, the board uses FLEXSPI_A but it is a NAND memory.

This is the Jlink Log for flash and erase.

TM_MI_0-1681400816250.png

TM_MI_1-1681400847150.png

TM_MI_0-1681401117875.png

TM_MI_1-1681401164498.png

 

 

 

0 Kudos

1,000 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, I suggest reviewing the information about the boot config of this board, and review the FCB.

Best regards,
Pavel

0 Kudos

968 Views
TM_MI
Contributor III

Hello @Pavel_Hernandez 

The board have two booting modes. I was able to verify both methods. The only issue is to flash in MCUxpresso.

I was following the reference manual example to modify the flexspi to serial NAND but no luck so far.

Do you have an SDK example that uses NAND QSPI ?

TM_MI_0-1681748138162.png

Thanks

0 Kudos

956 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, yes there are some examples in the SDK you can modify as you need them.

Pavel_Hernandez_0-1681764790066.png

Best regards,
Pavel

0 Kudos

941 Views
TM_MI
Contributor III

Hello @Pavel_Hernandez ,

Thank you.

I was looking for examples that uses NAND FLexSPI instead of NOR FlexSPI as this is likely what need to be changed to flash correctly. I attached a picture of the error above.

I guess the EVK board doesn't support that therefore such examples might not be available.

 

 

0 Kudos

902 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, sorry for the late response, I'm afraid you may need test you flash communication, for this use the secure provisioning tool.

Select your target.

Pavel_Hernandez_0-1682046273270.png

select a driver.

Pavel_Hernandez_1-1682046300664.png

Then test the driver and convert.

Pavel_Hernandez_2-1682046336630.png

Best regards,
Pavel

 

 

0 Kudos