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
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
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 Petr,
Here is my example project. It has the sigtrap error when i compile and program on the eval board.
Also here is a photo of my eval baord. As far as I can tell, the jumpers are still in their default position.
20250430_150525.jpg
BR,
Pierre
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
Hello,
I add a screenshot with the live content of the register MC_RGM
pba_lcx_0-1745911275971.png
BR, 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
PetrS_0-1745839951638.png
What if you modify main code to not leave it, let LED blinks forever.
BR, Petr
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
pba_lcx_0-1745824951597.png
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 :
pba_lcx_2-1745825104718.png
pba_lcx_1-1745825099507.png
I am stuck here, I can't run the MCAL example.
Any help would be appreciated.
Pierre