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.

TMS320F28388D: Flash memory address boundary alignment

Part Number: TMS320F28388D
Other Parts Discussed in Thread: C2000WARE, UNIFLASH

Hi champs,

I see the flash linker command file in C2000WARE use ALIGN(8) for flash memory, but in datasheet we say the main array flash programming must be aligned to 64-bit address boundaries.

Should we use ALIGN(4) or ALIGN(8) for flash memory in cmd file? What's the concern if we use ALIGN(4) for flash memory please?

Regards,

Luke

  • Hi Luke,

    If using either CCS Flash Plugin or Uniflash, ALIGN(4) is fine as it refers to 64-bit address boundary. If too many sections, ALIGN(4) will help with saving memory. In the scenario there are fewer sections or the customer is looking to use a 3rd party tool, ALIGN(8) should be used. ALIGN(8) also helps with migration to other devices.

    Concern with using ALIGN(4) is if the 3rd party tool used does not match CCS image, you may need to change how the alignment is in production.

    Thanks and regards,

    Charles