Hello Together,
i have some problems with a S32K142
I was able to debug and flash the device for quite some time.
Now, after i had some connection problems, i can still connect to the Debug-Interface (via Segger Jlink) but it tells me that the either CPU cannot be halted or that the device is in permanent reset .
After connecting the reset-pin to GND and another access via Jlink, I tried to unlock the device (which was successful).
After this, i can - sometimes - access the memory, but it keeps changing the content which is shown.
erase/flash/etc. is not possible
I tried SWD and JTAG, i also changed the speed.
As far as i can see from the datasheet, the device cannot start the internal RC Oscillator to provide a clock to the CPU and the memory.
To give some more hint: because i had an error in the design, i provided a signal on a pin before i had a power connected. I resolved the problem, so this was not happening any more at the time the above error occured.
Is it possible that i ruined the port or the oscillator unit with the "supply via ESD Diode"?
It doesn't seem that i had a latch-up because the ports still worked fine (and the connection via SWD/JTAG is still possible).
Thanks for your help
Roland