Hi there.
I'm working with the evaluation board "S32K144 _EVB - Q100".
I'm performing an integration of the SDK drivers examples within a project (drivers are provided in the S32DS installation folder, I did some modifications but mainly they are the same).
The tool chain used is:
After the latest change I did on the IO ports configuration something strange happen:
The microcontroller seems to be completely inaccessible from the DEBUG and the FLASHER.
However the SW inside the the microcontroller works.
After some investigation seems that the RESET port is just like inhibited.
If I generate a reset pulse on the uC pin the SW keep to work.
The change I did seems to be related somehow to the RESET pin configuration: see below...
The configuration structure is re-adaptation (for my project) of the "pin_settings_config_t" that I found in an SDK example.
That configuration affects the PORTA PIN5 connected to the RESET of the EVB: see below...
I've got a couple of questions:
Thanks in advance.
BR.
A.
Solved! Go to Solution.
Hi,
Yes, the PTA5 reset pin can be reconfigured for alternative functions. The reset function is the default one, so you need to reset the device. Since you cannot use that pin to restart the MCU, you need to connect to the MCU after power-on-reset in the short time window before it gets reprogrammed again.
P&E has a recovery utility that tries to halt the execution during the start-up sequence.
Please refer to Bricking and Recovering FRDM-KL25Z Boards: Reset, SWD Clock and Low Power
Regards,
Daniel
Hi,
Yes, the PTA5 reset pin can be reconfigured for alternative functions. The reset function is the default one, so you need to reset the device. Since you cannot use that pin to restart the MCU, you need to connect to the MCU after power-on-reset in the short time window before it gets reprogrammed again.
P&E has a recovery utility that tries to halt the execution during the start-up sequence.
Please refer to Bricking and Recovering FRDM-KL25Z Boards: Reset, SWD Clock and Low Power
Regards,
Daniel