This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28P550SJ: Flash API issue

Part Number: TMS320F28P550SJ
Other Parts Discussed in Thread: TMS320F28P550SG

Tool/software:

Hi experts

My customer is working with the TMS320F28P550SG microcontroller and encountering an issue when programming its flash memory. They noticed that programming a single 16-bit word (U16) often results in anomalies.
However, 280039 can programming a single 16-bit word.

Could you help clarify:
1. Does the Flash API for the F28P550SG enforce a minimum programming size that would prevent writing a single U16?
2. Why does programming a single 16-bit word cause anomalies, and what's the recommended approach to handle such cases?
  • Hi Ethan,

    What kind of anomalies are you referring to? Is it programming data incorrectly, or something else?

    Flash writes must be aligned to a 64-bit address and each 64-bit word may only be programmed once per write/erase cycle, see the note in section 6.14.4 of the datasheet. Is the customer issuing multiple program commands to program individual 16-bit words at consecutive addresses?

    Best,

    Alex