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:
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
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.
Hello, I suggest reviewing the information about the boot config of this board, and review the FCB.
Best regards,
Pavel
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 ?
Thanks
Hello, yes there are some examples in the SDK you can modify as you need them.
Best regards,
Pavel
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.
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.
select a driver.
Then test the driver and convert.
Best regards,
Pavel