Hi
For MCAL, S32R27X-37X_MCAL_4.2_RTM_2.0.1, its default configuration is for S32R372, not for S32R274.
If you want to config with S32R274, you should change the configuration at Resource and disable z7_0 in Mcu.
Before run Launch.bat in cmd window, you'd better execute the follow instructions.
del .\cfg\include\*.h
del .\cfg\src\*.c
copy .\Tresos\workspace\Sample_app_S32R274\output\generated\include\*.h .\cfg\include
copy .\Tresos\workspace\Sample_app_S32R274\output\generated\src\*.c .\cfg\src
After compiled successfully, enjoy the debugging!!!
Cheers!
Oliver