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/TMS320F28374S: CCS integrated C2000 Hex Utility: --memwidth and --romwidth values

Part Number: TMS320F28374S


Tool/software: Code Composer Studio

Hello,

I would like to use hex2000 utility, integrated in CCS, for generating intel hex output file.

Which are the correct values for --memwidth and --romwidth options for F28374S, to obtain a single .hex output file?

Using default options, I obtain two output files: a .hex file and a .i01 file.

Thank you,

Carlo.

  • Carlo,

    Check out this wiki page that discusses the hex utility tool in CCS: processors.wiki.ti.com/.../Hex_Utility_in_CCS

    Regards,
    Ozino
  • Hello Ozino,

    in the wiki page is written:

    "Memory width is the physical width (in bits) of the memory system, which is usually the same width as the target processor width, (ie) a 16-bit processor has a 16-bit memory architecture".

    and:

    "The values specified for memwidth and romwidth determine the number of hex output files:
    - If memory width ≥ ROM width: number of files = memory width ÷ ROM width
    - If memory width < ROM width: number of files = 1"

    Because I am working with a C2000 32 bit processor, and I want a single output .hex file, I set the following values:
    --memwidth=32
    --romwidth=32

    In this case I obtain the following warning: "warning: memwidth(32) is greater than target width(16)".

    So I tried the following values:
    --memwidth=16
    --romwidth=16

    In this case it seems to work, and I have no warning and a single ouput .hex file.

    Are this values ok for F28374S?
    Anyway I haven't understood the meaning of theese two options.

    Thank you,
    Carlo
  • Carlo,

    Check out this post: e2e.ti.com/.../722731

    There's a similar discussion about the memwidth and romwidth. Perhaps this will give you some insight.

    You can also visit this wiki page: processors.wiki.ti.com/.../C2000_Flash_FAQ

    Let me know if you still have any questions.

    Regards,
    Ozino