S32K116 JTAG Program error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K116 JTAG Program error

1,573 Views
rjmalmeida0
Contributor III

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

Labels (1)
0 Kudos
Reply
3 Replies

1,487 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi rjmalmeida0@gmail.com,

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

0 Kudos
Reply

1,487 Views
rjmalmeida0
Contributor III

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.

0 Kudos
Reply

1,487 Views
danielmartynek
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply