How to Trigger a Functional Reset on S32G

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

How to Trigger a Functional Reset on S32G

ソリューションへジャンプ
2,172件の閲覧回数
Jeff-CF-Huang
Contributor III

Hi Sir,

Could you please let me know how to trigger a FUNCTIONAL_RESET?
If I run reboot, it will be DESTRUCTIVE_RESET.

Best regards,

Jeff Huang

0 件の賞賛
返信
1 解決策
2,147件の閲覧回数
carlos_o
NXP TechSupport
NXP TechSupport

Hi @Jeff-CF-Huang,

Thanks for your questions.

Are you trying to run the Functional Reset on M7 core or A53? 

At the reference manual of the S32G2 you could find the following:

carlos_o_0-1742495471349.png

 

[page 1144, S32G2 Reference Manual, Rev. 8, February 2024]

The software functional reset can be trigger at the following register:

carlos_o_1-1742495601485.png

carlos_o_2-1742495637789.png

[page 1311, S32G2 Reference Manual, Rev. 8, February 2024]

 

From the Linux BSP side I found the following at the BSP 42 User Manual:

carlos_o_3-1742495967978.png

 

Let me know if this information helps, otherwise please give a more detail information of your setup and what you want to accomplish. 

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
2,148件の閲覧回数
carlos_o
NXP TechSupport
NXP TechSupport

Hi @Jeff-CF-Huang,

Thanks for your questions.

Are you trying to run the Functional Reset on M7 core or A53? 

At the reference manual of the S32G2 you could find the following:

carlos_o_0-1742495471349.png

 

[page 1144, S32G2 Reference Manual, Rev. 8, February 2024]

The software functional reset can be trigger at the following register:

carlos_o_1-1742495601485.png

carlos_o_2-1742495637789.png

[page 1311, S32G2 Reference Manual, Rev. 8, February 2024]

 

From the Linux BSP side I found the following at the BSP 42 User Manual:

carlos_o_3-1742495967978.png

 

Let me know if this information helps, otherwise please give a more detail information of your setup and what you want to accomplish. 

0 件の賞賛
返信
2,137件の閲覧回数
Jeff-CF-Huang
Contributor III

Hi Carlos,

We are working with the S32G3 platform using a multi-core (A53 running Linux and M7 running RTOS).
Is there an easier way to trigger a functional reset?
The reboot command mentioned in the user manual triggers a destructive reset, not a functional reset.

Best regards,
Jeff Huang

0 件の賞賛
返信
2,099件の閲覧回数
carlos_o
NXP TechSupport
NXP TechSupport

Hi @Jeff-CF-Huang,

I'm assuming that you refer to the BSP User Manual with the reboot command to run on the Linux terminal. 

Another way to run a functional reset is to request it to the registers I share before. At your M7 core using the RTDs you can request the functional reset with the fuctions at Power_IP or Mcu.

Some functions you can review to run the fuctional reset can be:

Power_Ip_PerformReset (definition at Power_Ip.c)
Power_Ip_MC_RGM_PerformReset (definition at Power_Ip_MC_RGM.c)
Mcu_Ipw_PerformReset (definition at Mcu_Ipw.c)
Mcu_PerformReset (definition at Mcu.c)
 
Those function are from RTD 4.4 4.0.2 the names can vary in the different versions. 
0 件の賞賛
返信
%3CLINGO-SUB%20id%3D%22lingo-sub-2065489%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32G%E3%81%A7%E6%A9%9F%E8%83%BD%E3%83%AA%E3%82%BB%E3%83%83%E3%83%88%E3%82%92%E3%83%88%E3%83%AA%E3%82%AC%E3%83%BC%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2065489%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF%E3%80%81%3C%2FP%3E%3CP%3E%3CSPAN%3EFUNCTIONAL_RESET%3C%2FSPAN%3E%E3%81%AE%E3%83%88%E3%83%AA%E3%82%AC%E3%83%BC%E6%96%B9%E6%B3%95%E3%82%92%E6%95%99%E3%81%88%E3%81%A6%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84%E3%80%82%3CBR%20%2F%3E%E5%86%8D%E8%B5%B7%E5%8B%95%E3%82%92%E5%AE%9F%E8%A1%8C%E3%81%99%E3%82%8B%E3%81%A8%E3%80%81%3CSPAN%3EDESTRUCTIVE_RESET%E3%81%AB%E3%81%AA%E3%82%8A%E3%81%BE%E3%81%99%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%E3%82%88%E3%82%8D%E3%81%97%E3%81%8F%E3%81%8A%E9%A1%98%E3%81%84%E3%81%84%E3%81%9F%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%3CP%3E%E3%82%B8%E3%82%A7%E3%83%95%E3%83%BB%E3%83%9B%E3%82%A2%E3%83%B3%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2067547%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3AS32G%E3%81%A7%E6%A9%9F%E8%83%BD%E3%83%AA%E3%82%BB%E3%83%83%E3%83%88%E3%82%92%E3%83%88%E3%83%AA%E3%82%AC%E3%83%BC%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2067547%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F218967%22%20target%3D%22_blank%22%3E%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF%40Jeff-CF-Huang%3C%2FA%3E%E3%80%81%3C%2FP%3E%0A%3CP%3ELinux%E3%82%BF%E3%83%BC%E3%83%9F%E3%83%8A%E3%83%AB%E3%81%A7%E5%AE%9F%E8%A1%8C%E3%81%99%E3%82%8B%E3%81%9F%E3%82%81%E3%81%AB%E3%80%81reboot%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89%E3%81%A7BSP%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%E3%83%9E%E3%83%8B%E3%83%A5%E3%82%A2%E3%83%AB%E3%82%92%E5%8F%82%E7%85%A7%E3%81%97%E3%81%A6%E3%81%84%E3%82%8B%E3%81%A8%E4%BB%AE%E5%AE%9A%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%0A%3CP%3E%E6%A9%9F%E8%83%BD%E3%83%AA%E3%82%BB%E3%83%83%E3%83%88%E3%82%92%E5%AE%9F%E8%A1%8C%E3%81%99%E3%82%8B%E5%88%A5%E3%81%AE%E6%96%B9%E6%B3%95%E3%81%AF%E3%80%81%E4%BB%A5%E5%89%8D%E3%81%AB%E5%85%B1%E6%9C%89%E3%81%97%E3%81%9F%E3%83%AC%E3%82%B8%E3%82%B9%E3%82%BF%E3%81%AB%E8%A6%81%E6%B1%82%E3%81%99%E3%82%8B%E3%81%93%E3%81%A8%E3%81%A7%E3%81%99%E3%80%82M7%20%E3%82%B3%E3%82%A2%E3%81%A7%E3%81%AF%E3%80%81RTD%20%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%80%81Power_IP%20%E3%81%BE%E3%81%9F%E3%81%AF%20MCU%20%E3%81%AE%E9%96%A2%E6%95%B0%E3%81%A7%E6%A9%9F%E8%83%BD%E3%83%AA%E3%82%BB%E3%83%83%E3%83%88%E3%82%92%E3%83%AA%E3%82%AF%E3%82%A8%E3%82%B9%E3%83%88%E3%81%A7%E3%81%8D%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%0A%3CP%3E%E6%A9%9F%E8%83%BD%E3%83%AA%E3%82%BB%E3%83%83%E3%83%88%E3%82%92%E5%AE%9F%E8%A1%8C%E3%81%99%E3%82%8B%E3%81%9F%E3%82%81%E3%81%AB%E7%A2%BA%E8%AA%8D%E3%81%A7%E3%81%8D%E3%82%8B%E6%A9%9F%E8%83%BD%E3%81%AB%E3%81%AF%E3%80%81%E6%AC%A1%E3%81%AE%E3%82%88%E3%81%86%E3%81%AA%E3%82%82%E3%81%AE%E3%81%8C%E3%81%82%E3%82%8A%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%0A%3CDIV%3E%0A%3CDIV%3E%3CSPAN%3EPower_Ip_PerformReset(Power_Ip.c%E3%81%A7%E3%81%AE%E5%AE%9A%E7%BE%A9)%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%0A%3CDIV%3E%0A%3CDIV%3E%3CSPAN%3EPower_Ip_MC_RGM_PerformReset(Power_Ip_MC_RGM.c%E3%81%A7%E5%AE%9A%E7%BE%A9)%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%0A%3CDIV%3E%0A%3CDIV%3E%3CSPAN%3EMcu_Ipw_PerformReset(Mcu_Ipw.c%E3%81%A7%E3%81%AE%E5%AE%9A%E7%BE%A9)%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%0A%3CDIV%3E%0A%3CDIV%3E%3CSPAN%3EMcu_PerformReset%20(Mcu.c%20%E3%81%A7%E5%AE%9A%E7%BE%A9)%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%E3%81%93%E3%82%8C%E3%82%89%E3%81%AE%E6%A9%9F%E8%83%BD%E3%81%AFRTD%204.4%E3%80%814.0.2%E3%81%8B%E3%82%89%E3%81%AE%E3%82%82%E3%81%AE%E3%81%A7%E3%80%81%E5%90%8D%E5%89%8D%E3%81%AF%E3%83%90%E3%83%BC%E3%82%B8%E3%83%A7%E3%83%B3%E3%81%AB%E3%82%88%E3%81%A3%E3%81%A6%E7%95%B0%E3%81%AA%E3%82%8B%E5%A0%B4%E5%90%88%E3%81%8C%E3%81%82%E3%82%8A%E3%81%BE%E3%81%99%E3%80%82%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2065913%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3AS32G%E3%81%A7%E6%A9%9F%E8%83%BD%E3%83%AA%E3%82%BB%E3%83%83%E3%83%88%E3%82%92%E3%83%88%E3%83%AA%E3%82%AC%E3%83%BC%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2065913%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF%E3%82%AB%E3%83%AB%E3%83%AD%E3%82%B9%E3%80%81%3CBR%20%2F%3E%3CBR%20%2F%3ES32G3%E3%83%97%E3%83%A9%E3%83%83%E3%83%88%E3%83%95%E3%82%A9%E3%83%BC%E3%83%A0%E3%81%AF%E3%80%81%E3%83%9E%E3%83%AB%E3%83%81%E3%82%B3%E3%82%A2(A53%E3%81%AFLinux%E3%80%81M7%E3%81%AFRTOS)%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%3CBR%20%2F%3E%E6%A9%9F%E8%83%BD%E3%83%AA%E3%82%BB%E3%83%83%E3%83%88%E3%82%92%E3%83%88%E3%83%AA%E3%82%AC%E3%83%BC%E3%81%99%E3%82%8B%E7%B0%A1%E5%8D%98%E3%81%AA%E6%96%B9%E6%B3%95%E3%81%AF%E3%81%82%E3%82%8A%E3%81%BE%E3%81%99%E3%81%8B%3F%3CBR%20%2F%3E%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%E3%83%9E%E3%83%8B%E3%83%A5%E3%82%A2%E3%83%AB%E3%81%AB%E8%A8%98%E8%BC%89%E3%81%95%E3%82%8C%E3%81%A6%E3%81%84%E3%82%8B%E5%86%8D%E8%B5%B7%E5%8B%95%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89%E3%81%AF%E3%80%81%E6%A9%9F%E8%83%BD%E3%83%AA%E3%82%BB%E3%83%83%E3%83%88%E3%81%A7%E3%81%AF%E3%81%AA%E3%81%8F%E3%80%81%E7%A0%B4%E5%A3%8A%E7%9A%84%E3%81%AA%E3%83%AA%E3%82%BB%E3%83%83%E3%83%88%E3%82%92%E3%83%88%E3%83%AA%E3%82%AC%E3%83%BC%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%E3%82%88%E3%82%8D%E3%81%97%E3%81%8F%E3%81%8A%E9%A1%98%E3%81%84%E3%81%84%E3%81%9F%E3%81%97%E3%81%BE%E3%81%99%3CBR%20%2F%3E%E3%82%B8%E3%82%A7%E3%83%95%E3%83%BB%E3%83%9B%E3%82%A2%E3%83%B3%3C%2FP%3E%3C%2FLINGO-BODY%3E