I am using AUTOSAR MCAL 4.0 for S32Kx, and trying to run the demo program on the S32K148.
After compiling the demo program, the elf file is loaded through OpenSDA via S32 Design tool. However, just after resetting the device message, it always encounters the issue as follows:
Initializing. Target has been RESET and is active. UsageFault: The processor has attempted to execute an undefined instruction. BusFault: A bus fault has occurred on exception entry. HardFault: A fault has been escalated to a hard fault. Disconnected from "127.0.0.1" via 127.0.0.1. Disconnection by port "49853" from 6224
Could you please advice me what I should do next ? Any suggestion is helpful.
Condition:
AUTOSAR MCAL : S32K14X_MCAL4_0_RTM_1_0_4
Compiler : arm-none-eabi-gcc.exe (Linaro GCC 6.3-2017.06~dev) 6.3.1 20170509
Target board: S32K148