Hi,
I am working with S32K344 T172 EVB, and I accidentally issued the flash memory of the device.
Now, when I try to flash my binary to the board via S32 Design Studio IDE, I receive the message:
I also tried to enable Full chip erase, but then it said that the Mass erase not support
Can anyone please help me to resolve this issue so that I can re-flash my board? Thanks
解決済! 解決策の投稿を見る。
Hi @quangvuanh
I am afraid that when the Flash configuration is set to AB_SWAP, it is not possible to go back to the FULL_MEM configuration. Hence, only an AB_SWAP HSE Firmware image can be used in this configuration.
Thanks @VaneB for replying me
I think I am using HSE Arp, with this setup I can flash to other S32K344 EVBs
Hi @quangvuanh
With this, instead of loading the executable, it will simply be attached to the microcontroller, and with this, you can try to pause to see in which memory address it was running. If it is at address 0x20400100 or similar, it means that it is in recovery mode.
Additionally, if you manage to pause the microphone, you could share an image of memory address 0x4039C028 to see the HSE GPR.
Hi @VaneB
I follow your guideline, then the program pause here -> seem that your assumption is correct
And the value stored at 0x4039C028
Hi @quangvuanh
It seems that the device is currently going into recovery mode.
Can you please look for the registers FSR and GSR of the MU_B? That may help us identify if there is anything wrong occurring with the initialization of the HSE FW.
B.R.
VaneB
Hi @quangvuanh
What was the last thing you uploaded to your device? How did you do it? Also, what type of HSE FW does your device have? Do you have a standard one or is premium one?
I took the board from my colleague and now I dont know what was the last thing being flashed into the device. We will check again on our side.
About HSE FW, what can I do to check the version of it? The FW was loaded into S32K3x4 EVB board before delivery, right?
Update:
I checked with my colleague and he has loaded another HSE firmware to the board HSE_FW_S32K3XX_0_2_1_0, with AB_SWAP algorithm. Well, I think now I know where the issue is
Question:
Is there any way back so that I can reload HSE FULL_MEM to my board @VaneB ?
Hi @quangvuanh
I am afraid that when the Flash configuration is set to AB_SWAP, it is not possible to go back to the FULL_MEM configuration. Hence, only an AB_SWAP HSE Firmware image can be used in this configuration.
Hi @quangvuanh
S32K3 devices do not support mass erase as shown in the last shared image.
Are you using HSE FULL MEM or AB SWAP? It looks like you are using the wrong program.
B.R.
VaneB