Hello,
I'm having a problem where sometimes flashing S32K344-WB from TRACE32 fails with: "FLASH algorithm did not execute completely" error. From my investigation it seems that the error is influenced by what is currently flashed, and not what it's going to be flash. The code in question is a Zephyr application, and somehow the problem could be related to the alignment.
For example, if I flash file1.elf(output of readelf attached bellow), next time when I try to flash anything, I got the error. The workaround for this is, after the flashing is stopped by the error, manually execute: `B::FLASH.ReProgram ALL /Erase`, then hit `Go` and run the script again.
But what is interesting, is that if I have file2.elf flashed, then the error does not happen anymore. The difference between file1.elf and file2.elf is just 4 bytes, and I want to understand why this error happens to get a proper fix for the issue.
The flashing driver is the one from Lauterbach, and the status in the parameter block has value 7 for which I didn't find any documentation about it.
