Hi Community Members,
We have flashed our own hardware board with S32K146 with an ELF file via Segger J Link Lite version. The file is attached.
Now, I was trying to flash a different mot file with a different SW, however it does not allow me to program the chip. I even tried erasing the complete chip, however I get the error saying "CPU could not be halted".
(The current consumption through the board is approx. 0.6A with just one Digital output configured. In our other SW, that has around 20 IOs and 20 CAN messages, the current consumption is generally 0.13A.)
Is there any other way that we can erase the chip using Segger - jlink SW tool or any other SW?
And can we generate .hex/.bin file from the S32DS for s32k146 projects?
解決済! 解決策の投稿を見る。
Could you read the MDM_AP registers?
Try to follow the instructions with J-Link commander from the following post: Unbricking S32K146 - NXP Community
(Also trying to hold the reset pin low externally if the J-Link commander cannot communicate.)
Best regards,
Julián
You can look into the J-Link Flash Download directly from SEGGER. This tool supports the S32K146 and may help with manual programming:
As for the .hex/.bin files, you can refer to this community post: HOWTO: Generate S-Record/Intel HEX/Binary file - NXP Community
Best regards,
Julián
@Julián_AragónM Thanks for the support, It really help in resolving the issues that I'm currently facing with creating .hex/.bin file generation.
@Julián_AragónM We tried using Manual programming as referred by you to erase the data from the chip, but it's not even connecting to the CPU when Erase Chip is clicked. It's throwing message like "CPU can't be halted".
Please do refer some other way to erase the chip.
Thanks,
Coding_Torque-SDRS
Could you read the MDM_AP registers?
Try to follow the instructions with J-Link commander from the following post: Unbricking S32K146 - NXP Community
(Also trying to hold the reset pin low externally if the J-Link commander cannot communicate.)
Best regards,
Julián