run Gpt_example_S32G247A_M7 from SD card

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

run Gpt_example_S32G247A_M7 from SD card

ソリューションへジャンプ
1,089件の閲覧回数
won0020
Contributor III

Hello, I cannot run the example "Gpt_example_S32G247A_M7" from the SD card according to the instructions "S32G-GOLDBOX-SW-UG.pdf". After editing the linker file according to the instructions, I am able to run "Can_Llce_DS_Loopback_S32G274A_M7" and "Fee_example_S32G274A_M7". While debugging "Gpt_Example", I found that after reducing "int_sram_no_cacheable" from 0x34500000 to a lower value, the example starts to throw "undefined_handler" exception. Thanks in advance for any idea.

0 件の賞賛
返信
1 解決策
1,037件の閲覧回数
won0020
Contributor III

Hello,
commenting out this line worked for me:

won0020_0-1686695207852.png

 

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,063件の閲覧回数
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

This could be related to the default MPU configuration. The image below provides this information:

DanielAguirre_0-1686679185999.png

If no configuration for the MPU is provided, the default will be used, hence the "undefined_handler" you might be seeing.

You could try and disable the MPU enabling, by comment the following lines under "project/Project_Settings/Startup_Code/system.c":

DanielAguirre_1-1686679506744.png

Please, let us know.

1,038件の閲覧回数
won0020
Contributor III

Hello,
commenting out this line worked for me:

won0020_0-1686695207852.png

 

0 件の賞賛
返信
1,075件の閲覧回数
SSyb
Contributor III

I have not used the Goldbox examples yet, but "undefined handler" sounds like there is an interrupt raised, for which there is no handler. check in the NIVC (in a hardware debugger) which interrupt this is ?

0 件の賞賛
返信