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.
解決済! 解決策の投稿を見る。
Hi,
This could be related to the default MPU configuration. The image below provides this information:
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":
Please, let us know.
Hello,
commenting out this line worked for me:
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 ?