S32K312 BusFault using AUTOSAR RTOS

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

S32K312 BusFault using AUTOSAR RTOS

ソリューションへジャンプ
480件の閲覧回数
eusebiudapatech
Contributor II

Hello,

I am getting a BusFault at the following generated line:

eusebiudapatech_0-1744479144916.png

eusebiudapatech_2-1744480142903.png

The function is called in StartOs() function and it write the STM0 control register.

The code is generated from Tresos using the RTOS and RTD plugins.

I have checked the address and it's the correct STM0 control register address.

eusebiudapatech_1-1744480116734.png

 

 

0 件の賞賛
返信
1 解決策
438件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @eusebiudapatech,

Is the STM0 clock enabled?

MC_ME PRTN1_COFB0_STAT[29]

danielmartynek_0-1744621231780.png

 

Thanks

 

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
439件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @eusebiudapatech,

Is the STM0 clock enabled?

MC_ME PRTN1_COFB0_STAT[29]

danielmartynek_0-1744621231780.png

 

Thanks

 

0 件の賞賛
返信
431件の閲覧回数
eusebiudapatech
Contributor II
Thank you for the hint. I didn't call the Mcu_SetMode API to switch to RUN mode where STM0 is enabled. That solved the problem.
0 件の賞賛
返信