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.

CCS/TMS320F28388D: ARM HEX utility question, regarding --romwidth and --memwidth

Part Number: TMS320F28388D

Tool/software: Code Composer Studio

Hi expert,

My customer would like to do below configuration, change --romwidth and --memwidth from 16 to 32.

After they didn't this, they get warning shown below. What deos this warning mean? Will that be acceptable?

Thanks

Sheldon

  • Sheldon,

    I don't see any issue here. It's just aligning the address to 32bit boundary but I am assigning this thread to our compiler team to confirm it further.

    BTW, do you know why are they trying to make this change?

    Regards,

    Vivek Singh

  • For ARM devices, --memwidth=32 is the default.  It is typical to also set --romwidth=32, otherwise the output is split into multiple files.  

    As to the warnings about sections being padded ... Whether that is a problem depends on the utility which reads the hex file as input.  I'm not aware of any case where it is a problem.  But it is possible.  The warning is emitted to let you know those sections are not the exact same size as in the executable file.

    Thanks and regards,

    -George