S32G3 bootconfig through serial EEPROM

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

S32G3 bootconfig through serial EEPROM

跳至解决方案
416 次查看
piaochunri
Contributor II

Hi experts,

About S32G3 bootconfig through serial EEPROM how can I obtain current bootconfigwords and fix it. Thank you!

piaochunri_0-1727347815753.png

 

0 项奖励
回复
1 解答
356 次查看
alejandro_e
NXP TechSupport
NXP TechSupport

Hello @piaochunri,

To be able to boot from SerialRCON I recommend you check AN13456 [page 6, S32G3 Boot Process, Rev. 1, 02/2023]

alejandro_e_4-1727475717188.png

You can also get more information in the S32G3 reference manual [page 1319, S32G3 Reference Manual, Rev. 4, 02/202]:

alejandro_e_1-1727475394939.png

This means the 32bits used as boot configurations need to be already present in the EEPROM.

 

If it's possible I can recommend using EEPROM AT24C01C-XPD-T, which is used in the EVB3-Board which supports S32G3 chips. 

alejandro_e_2-1727475510102.png

 

Let me know if this information solved your question

 

 

 

 

在原帖中查看解决方案

0 项奖励
回复
8 回复数
395 次查看
alejandro_e
NXP TechSupport
NXP TechSupport

Hello @piaochunri ,

I’m assuming you are using the RDB3 board. Then the 32 bits (0 – 31) you see in the excel file represent the 4 dip switches present in your board:

alejandro_e_0-1727390519595.jpeg

 

You can check the schematic to see the order of the bytes [page 32, S32G-VNP-RDB3, SPF-53060.pdf] available in deseing files section of the S32G-VNP-RDB3 product page:

alejandro_e_8-1727390728840.png

 

 

 

You can check the User Guide to learn more about the different switch configurations [Starting in page 3, Chapter 3, S32G-VNP-RDB3 Switch Setting, S32G-VNP-RDB3 User Guide, Rev. 1.0, 03/2023] available in de documentation section of the S32G-VNP-RDB3 product page:

alejandro_e_2-1727390519797.png

 

alejandro_e_3-1727390519958.png

 

alejandro_e_4-1727390520109.png

 

alejandro_e_5-1727390520248.png

 

alejandro_e_6-1727390520393.png

 

alejandro_e_7-1727390520506.png

 

Let me know if this information solved your question.

 

0 项奖励
回复
391 次查看
piaochunri
Contributor II

We are debugging a self-developed board with S32G399A. And our board only supports bootconfig through serial RCON not through parallel RCON. I want to known how can I set it.I have tried some commands during u-boot step.But I am not sure it is useful.

piaochunri_0-1727397982339.png

piaochunri_1-1727398020927.png

 

0 项奖励
回复
357 次查看
alejandro_e
NXP TechSupport
NXP TechSupport

Hello @piaochunri,

To be able to boot from SerialRCON I recommend you check AN13456 [page 6, S32G3 Boot Process, Rev. 1, 02/2023]

alejandro_e_4-1727475717188.png

You can also get more information in the S32G3 reference manual [page 1319, S32G3 Reference Manual, Rev. 4, 02/202]:

alejandro_e_1-1727475394939.png

This means the 32bits used as boot configurations need to be already present in the EEPROM.

 

If it's possible I can recommend using EEPROM AT24C01C-XPD-T, which is used in the EVB3-Board which supports S32G3 chips. 

alejandro_e_2-1727475510102.png

 

Let me know if this information solved your question

 

 

 

 

0 项奖励
回复
323 次查看
piaochunri
Contributor II

Yes.We are debugging a self-developed board of S32G399A.The scheme of boot mode part is referred to S32-VNP-RDB3. I was debugging Acore and the version of bsp is 40.0.And I followed the link HOWTO: Program Serial RCON using S32 Debug Probe S32G2xx - NXP Community t o debug it.

piaochunri_0-1727594889200.png

But when I runned the python script it could not pass the initialization whether I inserted the SD card or not.The result seems the same. What should I do?Thank you!

piaochunri_1-1727595008056.png

piaochunri_2-1727595017128.png

piaochunri_3-1727595030200.png

 

piaochunri_4-1727595040068.png

 

 

 

0 项奖励
回复
303 次查看
piaochunri
Contributor II

I have sovled the problem after I set the host name of s32g debug probe and I can config the EEPROM now. Thank you!

0 项奖励
回复
281 次查看
alejandro_e
NXP TechSupport
NXP TechSupport

I'm glad to know you were able to solve the problem! Thanks for marking the answer as accepted.

0 项奖励
回复
227 次查看
piaochunri
Contributor II

Thank you!Yes,I have read these documents.We are debugging a self-developed board of S32G399A. The designed scheme of boot mode is referred S32G-VNP-RDB3(RCON12 and RCON13).I also referred the link HOWTO: Program Serial RCON using S32 Debug Probe S32G2xx - NXP Community to debug the EEPROM.But it stopped during initialization.My A core bsp  version is 40.0.

piaochunri_0-1727588203882.png

I used S32 debug probe.Is it necessary to connect the debugger to my laptop through ethernet or USB connection is ok?The info of probe is as follows. And I runned the python script.It resulted in error.What should I do?Thank you!

 

piaochunri_1-1727589505515.png

piaochunri_4-1727589704942.png

 

piaochunri_2-1727589600147.png

piaochunri_5-1727589756099.png

 

 

0 项奖励
回复
150 次查看
alejandro_e
NXP TechSupport
NXP TechSupport

Hello @piaochunri,

Sorry for the late response, once you select a correct answer the topic is marked as closed and I stop receiving notifications. Please create a new post with your new problem as it is not completely related to the original post so one of my teammates or myself can help you. 

 

Sorry again for the late response

0 项奖励
回复