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.

UIA debug on DM8168

Other Parts Discussed in Thread: SYSBIOS

Is there a worked example for DM8168 somewhere showing how to route the

Ducati BIOS debug to the Linux Cortex-A8 host, using the UIA?

 

The SDK 5.00.00.11 release had some commented-out memory maps

and library links for UIA, but it is not clear how to extract the debug.

 

 

  • Hi John,

    Which version of UIA do you have?

    Todd

  • EZSDK 5.00.00.11 did not have uia package (although there
    were some traces of it in the memory map and linker commands).

    The DM8168  EZSDK 5.01.00.77 comes with uia_1_00_01_05.

     

     

  • John,

    We have the official release of UIA coming up soon. With your version, there is support for Log records to the Linux console. The Log records can from SYS/BIOS or from your application via Log calls. UIA ships with examples in the ti\uia\examples directory.

    What information are you looking for and how do you want it displayed?

    Todd

  • I am looking for the Log prints from the Cortex-M3s, so that the system
    can be debugged without a JTAG connection.

  • Take a look at the examples\evmti816x directory (there is a readme.txt in there also). Try building the videoLoggerSM example (you can create it from the CCS New Project Template). Look at the readme.txt to see how to load and run the example (without JTAG). The Log data will come out on the Linux console.

    You'll need to build the linux apps also (loggerSMDump.out and loader.out). There is a straight-forward makefile in the examples\evmti816x directory. You'll need to make changes to the makefile depending on where IPC, SYSLINK, etc. is installed.

    The other solution is to use LoggerCircBuf. With this, Log records are sent to CCS via Ethernet. This is a little more complicated, so let's try to get LoggerSM working first.

    Todd

  • The LoggerSM Linux A8 host executables build OK.

     

    However, I could not figure out how to build the M3+DSP side.

    The UIA does not show up in Code Composer v5.03 (Linux).
    I tried two ways:

    1) copying UIA directory to /opt/ti - does not work

    2) Navigating there using Tools | RTSC Tools | Path
    .. the Package Repository Path Browser sees the examples,
    but they do not show up in File | New -> CCS Project.

     

    I also tried manually running XDC

        XDCPATH="${DVSDK_INSTALL_DIR}/ipc/packages;${DVSDK_INSTALL_DIR}/sysbios/packages;${DVSDK_INSTALL_DIR}/syslink;${DVSDK_INSTALL_DIR}/uia/packages" ${DVSDK_INSTALL_DIR}/xdctools/xdc

     

    This runs, but evidently more steps are needed.

    Building from the command-line would be the best way,
    because not everyone using my software will have Code Composer.

     

     

  • Hi John,

    The examples should be showing up in the New -> CCS Project. Do you see other examples (e.g. Sys/BIOS)? Which device are you selecting? What looks different from the snapshots on page 8 of the user_install.pdf file?

    To build with XDC from the commandline...Did you create the config.bld file as specified on page 3 of the User_install.pdf? What is the error you get when you run XDC in the example/evmti816x directory?

    I'll install the 1.00.01.05 release and see if I'm forgetting something.

    Todd