Hi,
I'm currently using the S32K116 microcontroller. When I flashed a previously working program using JTAG into the microcontroller, it asserted an error during flashing/debugging and the microcontroller entered into the DefaultISR handler. When I flashed I got this error: ERROR: Could not detect CPU clock speed. Failed to execute RAMcode for RAM check.
Any ideas how to fix this issue?
Regards,
Rui Almeida
What programmer / IDE are you using?
Can you re-flash the MCU with another project/example?
If so, can you share the project that cannot be loaded?
Thanks,
BR, Daniel
Hello Daniel,
I'm using the S32 Design Studio and Segger JLINK debugger. When I flashed the MCU with another project, it goes straight to Reset handler without even entering SystemInit or main function.
Hello Rui,
Since this is a Segger error message, I would recommend contacting their support:
J-Link/Flasher related - SEGGER - Forum
If you have an EVB, have you tried reprogramming it with OpenSDA?
Or do you have any other programmer?
BR, Daniel