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.

TargetDB XML questions



1.  Is it possible to use TargetDB for describing device memory map instead of GEL_MapAdd()? Is it possible to provide an example?

2.  Which attributes in CPU/board XML files are referred by GEL_SymbolAdd("fileName" [, "cpuName"] [, "boardName"])  function as "cpuName" and "boardName"? Is it possible to provide Xpath or some example on how these attributes can be extracted starting with CCXML file?

3.  Wiki states: The FTsuite distribution contains an XML parser that is designed to work with the Target Database. The parser has both a C and C++ interface for applications to use. Reference the ‘TargetDB Parser.doc’ for additional information about the parser. Is it the part of CCSV4 distribution?

Eugene

  • EugeneK said:
    1.  Is it possible to use TargetDB for describing device memory map instead of GEL_MapAdd()? Is it possible to provide an example?

    I don't think it's possible to create a vitrual memory map via the XML files. The XML device files can create a register layout for the register window but I think that is it.

    EugeneK said:
    2.  Which attributes in CPU/board XML files are referred by GEL_SymbolAdd("fileName" [, "cpuName"] [, "boardName"])  function as "cpuName" and "boardName"? Is it possible to provide Xpath or some example on how these attributes can be extracted starting with CCXML file?
    Sorry, I do not know the answer to this.

    EugeneK said:
    3.  Wiki states: The FTsuite distribution contains an XML parser that is designed to work with the Target Database. The parser has both a C and C++ interface for applications to use. Reference the ‘TargetDB Parser.doc’ for additional information about the parser. Is it the part of CCSV4 distribution?
    Sorry, I'm not any help here either! Hopefully John or Ki can chime in as I would imagine they'd know these answers...

  • Tim,

    Wiki: 'http://wiki.davincidsp.com/index.php/TargetDB_XML_Specification' states

    Texas Instruments Foundational Tooling requires a variety of target configuration information. From memory maps and register definitions to emulator configuration and peripheral information, a wealth of information is required to properly configure the tools. Today, this information is contained in many different places, including the following:

    • Linker control files

    • Memory map files.....

    and further on I see <memory> XML tags in examples. What are they for?

    Eugene

     

  • The spec has been defined to comprehend memory specification. However, the tools do not use that portion of the spec today. Tools use JTAG layout specification portion and optionally register definitions if specified. 

     

    Martin

     

  • Thanks, but this only answers the first question. Other two are still have no answer.

    2.  Which attributes in CPU/board XML files are referred by GEL_SymbolAdd("fileName" [, "cpuName"] [, "boardName"])  function as "cpuName" and "boardName"? Is it possible to provide Xpath or some example on how these attributes can be extracted starting with CCXML file?

    3.  Wiki states: The FTsuite distribution contains an XML parser that is designed to work with the Target Database. The parser has both a C and C++ interface for applications to use. Reference the ‘TargetDB Parser.doc’ for additional information about the parser. Is it the part of CCSV4 distribution?

    Addition to 3rd question: Is TargetDB parser available as DLL or other form of C,C++ component?

    Eugene

  • 2. <connection node provides boardName  If "desc" attribute exists, then it is used, if it does not then 'id' attribute is used, 

        <cpu node provides cpuName, same as above if "desc" exists then it is used, otherwise "id" is used. 

    3. FT Suite was a product that was available few years ago. Current CCSv4 targetdb is mostly based on that product. However, I don't think FTSuite is offered any longer. The reference to FTSuite on CCSv4 Wiki will be corrected. 

     

    Martin