Hi,
our previous version we were using the MCU S32K144 (BMSV1.0) for this version we configured the pin mux (pin5) RESET NoRouted for signal selection and NoRouted for signal direction, and coming to the current project we were using MCU S32K146 for this version we configured the pin mux (pin5) RESET pin configured as a GPIO for signal selection and OUTPUT for signal direction , at that time RESET pin is not working as expected. but after we changed RESET pin direction to INPUT, MCU is still not coming to power ON,for that we were using Kinetis_Recovery_Utility tool to recover a MCU , for that we used 2 methods 1.Through JTAG ,2.Through SWD
1.JTAG:-
while using JTAG we are unable to recover the MCU we were facing error number $8882, its finally failed.
2.SWD:-
while using SWD Method we connected S32K146 Evaluation board to S312K146(main board), during the processing time we were able to halt the MCU but after closing Kinetis_Recovery_Utility tool, we tried to flash the code but MCU is still in the sleep mode, we were unable to flash the code .
For This Problem Please Provide a Idea to solve this issue.
click the link to watch pin_mux configuration as explained above
Hi
Please modify the BMS V2 configuration according to V1. Do not select PTA5 as input in GPIO window. It will affect the default Reset_b function on this pin.
Please using SWD halt the MCU by Kinetis_Recovery_Utility tool. Have you try to checked the Emergency Kinetis Device Recovery by Full Chip Erase?
After mass erase, does simple LED example works?
START_FROM_FLASH should be define in Standard S32DS Assembler -> Preprocessor
Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------