- 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.-------------------------------------------------------------------------------

Attachments

I have also reproduced it myself: CW11.x crash when trying to flash a .elf file containing const value while debugging.

So debugging is not possible anymore if using "const".

This is not the case when Flashing the .sw file using "Flash file to target" menu.

Was your customer able to flash project with const in EEPROM with right target MCU setting until something happened?

If yes, then it could be caused by double bit ECC error in EEPROM, which may lead to machine exception and make CW unable to complete the task. Try temporary disabling const in code and change debugger settings to erase everything, not just used locations. Once you connect with full EEPROM+flash wipe, CW should be able to program EEPROM again.

I saw CW unable to flash S12ZVCA. Error was clearly caused by ECC double bit error + machine excetption in area which CW checksums to check if code really needs to be reflashed.