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.

identifying TMS570 variant at run time



Is there any way to identify which TMS570 is which from a register?  For instance I'd like to know (at run time) if I'm dealing with a 3137 or 3135, 2135. etc.

The device identification register seems to only contain the revision code (A, B, or C) and nothing that tells me what part it corresponds to.  Is there something equivalent to the part breakdown for the part number itself?  I'd like to determine what hardware is present, Flash size and layout, etc.

Thanks!

  • Hi Andrey,

    If you look at the Fapi_getDeviceInfo function in the F021 Flash API (see http://www.ti.com/tool/f021flashapi) you can obtain information about the device you are running on including the number of banks and the device memory size. In this way you could tell between say a 2135 and a 3137. I'm not sure whether the device ASIC Id might give you more information for variants with the same amount of memory. Maybe somebody from TI can answer this for you.

    Regards,
    Richard 

  • Andrey,

    The full device symbolization (part number) can be read from Flash location 0xF00801E0 to 0xF00801FF.  This contains an ASCII zero-terminated string in application endianess order.  For the 3137 in the ZWT package, this is what it would contain:

    This information will match the Device Identification intormation given in the device data sheet.

    I will also look at adding this to the device information returned by Fapi_getDeviceInfo() in a future version of the Flash API.

  • Thanks John, that's exactly what I needed, I missed it in my reading of the TRM.

    I can't use the Flash API for my task so I need to know how to accomplish things directly.

  • Andrey,

    Please note, there is no acceptable way to program the Flash on these devices without using the TI released F021 Flash API.