Other Parts Discussed in Thread: LP-MSPM0G3507, UNIFLASH, , MSPM0G3507
Tool/software:
Hello,
I tried to update a MSPM0G controller via UART. As flash master I use the TI Evalboard LP-MSPM0G3507 which I connected to my PC via USB.
I used the BSL_GUI_EXE V1_2 from the SDK mspm0_sdk_2_03_00_07.
This had worked without errors before but now I found out that some applications are not flashed completely. The GUI says firmware sent successfully, an error is displayed though:

I read the memory of the target controller after the failed update via debugger and saw that the first 16 bytes and the last 32 bytes were not written.
So, I tried to compare the differences between the firmware images that could be flashed without errors and the ones that were not flashed completely.
I removed some random code from the software that could not be flashed so that it is a little bit smaller. The smaller image can be flashed, the bigger image not.
End of smaller image:

End of bigger image:

Is it possible that some parts of the memory must not be written? (Maybe when address 0x6400 is exceeded?? Something with the alignment??)
Or is there maybe a bug/timeout in the GUI?
My assumption that this issue has something to do with the size of the firmware could be totally wrong, but I am pretty sure that the code which I removed in my software should not be responsible for flash fails.
Please let me know what could be the root cause for this and how to solve this.
Thanks in advance and best regards,
Fabian


