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.

TMS320F28P559SJ-Q1: clarify the problem to generate bin file with C2000 hex utility

Part Number: TMS320F28P559SJ-Q1

Tool/software:

Hi Expert

Customer want to generate the bin file for F28P55 firmware update, the last post shown in this link shares a method to generate the bin file with C2000 Hex Utility: link

I want to confirm some questions below:

1. according to the description in the post, I think I need to create a ROM directive file in the debug folder and the name is ROMS.in, is that correct?

2. looks like the ROMs directive need to be changed according to customer's CMD file to ensure the "holes" is properly placed in Bin file?

3. What's your recommend methods to generate the bin file?

Thanks

Joe

  • To create a binary file for C28x system, please used the method described in this forum post.  Among other details, it requires specifying a ROMS directive in a hex command file.  To learn how to integrate a hex command file into a CCS project, please see the last part of the article Hex utility in CCS.

    Thanks and regards,

    -George

  • Hi George

    Thanks for your reply, I still have 2 questions below:

    1. Can customer change the data format between big endian and little endian with tiobj2bin?

    2. Can I understand that ROM directive is also the file to allocate the data in device memory? What are the differences between ROM directive and cmd file?

    Thanks

    Joe

  • 1. Can customer change the data format between big endian and little endian with tiobj2bin?

    No

    2. Can I understand that ROM directive is also the file to allocate the data in device memory? What are the differences between ROM directive and cmd file?

    I think you are confusing two different command files.  The linker supports a command file as input.  So does the hex utility.  These files are similar in that they are text files.  But, otherwise, they are different.  For an introduction to linker command files, please see the article Linker Command File Primer.  For the documentation on hex utility command files, please search the C28x assembly tools manual for the sub-chapter titled Invoking the Hex Conversion Utility With a Command File.  

    Thanks and regards,

    -George

  • Hi George

    Thanks for your support, no more questions

    Best regards

    Joe