Booting from M7 usinf QSPI flash

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Booting from M7 usinf QSPI flash

1,418 次查看
Naveenkumar_Muthusamy
Contributor IV

Hi @Daniel-Aguirre,

we are trying to boot the M7 core 0 from s32g2 in our system. we understood that the s32 flash tool is needed to flash the code to the external flash memory.

The issue we are facing is, flash memory used in our system is Micron, which is not available in the s32 flash tool. then we tried to create an algorithm file using the flashSDK project in s32flashtool folder under NXP, which was also failed to cretae a communication with flash.

here, we need your support for flashing the code without using the S32flash tool.we need to know is there any other way to boot the S32G3, A53 and M7 without using the s32 flashtool from the QSPI flash.

 

0 项奖励
回复
3 回复数

1,388 次查看
Naveenkumar_Muthusamy
Contributor IV

HI @Daniel-Aguirre,

 

Thanks for the reply

we were using S32 flashtool 2.0.3 and we have updated it to the 2.1.2.

we used an example project under the flashtool folder FlashSDK/Qspi. we modified the qSPI_chip_commands.h according to the commands used in the micron flash in our board(MT35XU512ABA), and ran the project on debug mode.

In debugging we are successfully able to read the ID of the device, we are able Erase, we are able to read and write 100 bytes with the project.after this we have changed the project to the release and added the binary file in flash folder and updated flash_devices XML with the device name and binary name.

Now s32 flash tool shows the micron device used in the board. but still we are getting error massage saying failure to establish the communication with target device as soon as i press test connection.

Q1 -> for serial download to QSPI, what are the boot configurations Pins, what is configurations that needs to be taken care.as of now, we see that algorithm file seems to be fine, we need to know about the DIP switch configuration needed to put the device in serial download mode via s32 flash tool.

0 项奖励
回复

1,379 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

We seem to understand that you have opened a case under the NXP online services on this regard. We have provided feedback under the case that was opened.

Please, let us know if you would like for us to mirror the information.

0 项奖励
回复

1,406 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

We understand that, under the following version of S32 Flash Tool:

DanielAguirre_1-1701190633483.png

There was an addition of 2 memory algorithms from Micron, as shown below:

DanielAguirre_0-1701190611440.png

Don't know if they are still not the memories you are using. There could be also the possibility of loading the image serially through UART/CAN interfaces. The following threads talk about this situation (from UART interface):

Solved: How to create an image for serial boot? - NXP Community

Solved: How to boot an image from uart? - NXP Community

Could be another possibility.

Please, let us know.

0 项奖励
回复