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.

AM3358: CCS project for PDK UART driver

Part Number: AM3358

I'm in the middle of debugging a problem using the TI RTOS UART driver, C:\ti\pdk_am335x_1_0_14\packages\ti\drv\uart

I followed the directions to rebuild the PDK, also ran the script ot create the example CCS projects. I can build and run one of the example projects I'm interested in.

However, I'm trying to debug an issue with the UART driver and I'd like to step into the driver code from CCS. I tried adding the UART driver source path to CCS but it said no debug info and so CCS can't source step through it. I next started down the path to manually create a CCS project from scratch using the UART driver source. What a mess I got myself into.

Has anybody been successful creating CCS projects for the drivers themselves?

Is there a reason we don't simply provide CCS projects for the drivers? How do we do debug?

  • Hi Brad,

    After importing and building an example project, you should be able to add pdk/packages/ti/drv/uart/src/UART_drv.c and pdk/packages/ti/drv/uart/src/v1/UART_v1.c to your project and rebuild it. From there, you should be able to step through the source code.

    Let me know how that goes.

    Thanks,

    Max