Hello all,
I am using the S32K3X4EVB-T172, connected through USB - OpenSDA (J40) and with +12V power supply.
I installed s32DS 3.6.0, Platform_Software_Integration_S32K3XX and SW32K3_S32M27x_RTD_R21-11_5.0.0.
I tried examples from S32K3XX Autosar R21-11 RTD 5.0.0, in particular the example Port_Example_s32k344.
After building and launching the code, the user led lights red (as coded in the example) but the program immediately suspends with the SIGTRAP, as seen in screenshot.
I have the same SIGTRAP problem with the example Uart_Example_S32K344 which also uses MCAL .
I don't have the problem when I try the example Siul2_Port_Ip_Example_S32K344 which does not use MCAL. I can run this example perfectly.
Can you help me understand why this SIGTRAP appears in MCAL examples ?
Thanks
Pierre
Solved! Go to Solution.
Hi,
try to change jumper setting, one of below
-set VDD_HV_A to 3.3V using J18.2-3.
-source V15_MCU from ballast transistor using J31.2-3.
BR, Petr
Hello,
I add a screenshot with the live content of the register MC_RGM
BR, Pierre
Adding complementary info on my post:
I use the unmodified example project "Port_Example_S32K344".
I have this warning when I open example_Port.mex for the first time
I didnt modify the debug pins set in "UnTouchedPortPin" in Peripherals menu.
And when the SIGTRAP interrupt triggers, i have the following content inside the MC_RGM registers :
I am stuck here, I can't run the MCAL example.
Any help would be appreciated.
Pierre
Hi,
I tried that example and it worked fine with same SW/HW.
Red LED blinks few time and main left finally and code stops at
What if you modify main code to not leave it, let LED blinks forever.
BR, Petr
Hi,
can you share your full project with elf as well so I can test.
Also share board picture to check jumper setting you have.
BR, Petr
Hi,
try to change jumper setting, one of below
-set VDD_HV_A to 3.3V using J18.2-3.
-source V15_MCU from ballast transistor using J31.2-3.
BR, Petr
hi Petr,
the solution to my problem was to "source V15_MCU from ballast transistor using J31.2-3."
When i do this I dont have the interrupt SIGTRAP I previously saw and can run the example perfectly.
Thanks for the solution.
Note:
The first part doesnt work: "set VDD_HV_A to 3.3V using J18.2-3". I can't program the evb and I ave the following message