hi
Abnormal reboot during flash programming (use C55 Flash Driver- c55_FlashProgram(), c55_FlashCheckStatus()).
after My JTAG cannot attached MPC5748G.
how to solve this problem?
and Do you plan to make improvements in this area in the future?(chip revision??)
Hi,
I can see in the history that we was already talking about reset escalation feature (MPC5748G Cannot attached JTAG after erase all? ) That's the first reason that could explain such problem.
Second reason is following:
If I can understand your description, the flash operation (program/erase) has been terminated by unexpected reset, so the flash has been left in undetermined state. That leads to ECC errors in affected flash blocks.
There are two HSM code blocks in the memory:
If there are ECC errors in these blocks, the device may stuck in reset. During reset, the SSCM module searches for valid boot header. If it reads corrupted data from HSM blocks, it will not exit the reset. This is security feature and there's no way to recover. It is not sufficiently documented yet, the work related to this behavior is still ongoing. I hope this information will be included in next release of the reference manual. The workaround is: program the HSM blocks only in factory where it is possible to ensure that the programming will not be terminated by unexpected reset or power-off.
Regards,
Lukas