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/TMS320F28027F: Read chip ID and read flash content

Part Number: TMS320F28027F
Other Parts Discussed in Thread: TMS320F28027

Tool/software: Code Composer Studio

Hi,

      We are using code composer v6.2, xds100v2 with TMS320F28027F. May any expert here show how to do the following ?

1)  Distinguish between TMS320F28027F and TMS320F28027

    Is it possible to distinguish between TMS320F28027F and TMS320F28027 by reading any chip ID ?

2) Read flash ROM content

    By default start the "debug" mode within code composer will first load the current project code into target MCU's flash, is it possible to read TMS320F28027F's flash into PC memory ? 

     Many thanks.

  • Nikolaus,

    Thanks for reaching out, please find my answers below

    1)  Distinguish between TMS320F28027F and TMS320F28027

    A1)Yes, at memory address 0x3D7FFF we have a 16 bit value called PARTID for this exact purpose.  In this case the "F" suffix devices have a different ID than the non "F" devices.  The package designation is also included in the value; per below(this is also in the device DataSheet on page 54)

    TMS320F280200PT 0x00C1
    TMS320F280200DA 0x00C0
    TMS320F28027PT 0x00CF
    TMS320F28027DA 0x00CE
    TMS320F28027FPT 0x00CF
    TMS320F28027FDA 0x00CE
    TMS320F28026PT 0x00C7
    TMS320F28026DA 0x00C6
    TMS320F28026FPT 0x00C7
    TMS320F28026FDA 0x00C6
    TMS320F28023PT 0x00CD
    TMS320F28023DA 0x00CC
    TMS320F28022PT 0x00C5
    TMS320F28022DA 0x00C4
    TMS320F28021PT 0x00CB
    TMS320F28021DA 0x00CA
    TMS320F28020PT 0x00C3
    TMS320F28020DA 0x00C2
    2) Read flash ROM content
    A2)This is also possible from the Code Composer IDE, in debug session, under the "Tools" header the first option is "Save Memory" you can then specify the starting address and the range and it will be saved to a file format of your choice.
    Best regards,
    Matthew