Hi team,
I have a customer using Ti-CLANG complier for MSPM0 device, but they find the .bin/.hex/.txt will have some no data flash areas, which makes their OTA function abnormal. Below is the details description.
With current complier grammar, when there is no data at the segment end address, it will end directly instead of filling it with FF data. This caused the customer to fail to identify this piece of empty data when performing an OTA upgrade, resulting in misalignment of subsequent data.
Refers to below: marked with red, it should be 0xFF data in this area, but complier output it with no data. It works well with debugger tools, such as XDS110. But for customer OTA function, they can not recongnize this area and automatically fill it with 0xFF, especially customer are converting the data from the BIN file rather than TI-TXT file and then send it out by serial port.
On the compiler side, is there a way to fill unused addresses with FF data?
B.R.
Sal