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: Cannot create new PRU Project for BeagleBone Black with CCS 20.4

Part Number: AM3358

I would like to use CCS to comfortably work on a PRU project for the BeagleBone Black, including debugging, if possible.

When I try to create a new project in CCS 20.4 and select the BeagleBone Black, there is no option to select the PRU as target.

  • I am working on Linux Mint 21.3 Virginia
  • ti-cgt-pru_2.3.3 is installed and detected.
  • ti-processor-sdk-linux-rt-am335x-evm-09.03.05.02 is installed but not detected by CCS, even if I set the path to its parent directory
  • PRU Software Support Package is cloned from git, but also not detected by CCS

What is missing in order to enable the creation of said PRU project?

Please advice, thank you.

Marc

  • Hi Marc,

    Thanks for your query. I have routed your query to our expert for further comments.

    Regards,

    Tushar

  • Hello Marc,

    Apologies for the delay. This is my first time using CCS20.x, so I will be learning with you.

    I see 2 options under File:
    * Create New Project (I assume this is the path you are taking, for some reason my project wizard is throwing an error so I cannot view right now)
    * Import Projects (specifically import CCS projects)

    In general, it is probably easiest to just import an example from the PRU Software Support Package, and then you have that as a starting point.

    examples/am335x/PRU_Halt is your "empty" project that you would get from a generic project creator.

    If you want to start with assembly code or mixed C and assembly, please refer to the PRU Getting Started Labs. It looks like I did NOT add ccs project files to the solutions folder in the getting started labs, so you would probably want to start from the PRU Halt project.

    Regards,

    Nick

  • * Create New Project (I assume this is the path you are taking, for some reason my project wizard is throwing an error so I cannot view right now)

    Create New Project has a dependency on SDK examples available in Resource Explorer. I don't believe there are any BeagleBone Black examples in Resource Explorer.

    Hence the only option to create a beaglebone PRU project from scratch in CCS 20.x is from the command line:

    https://software-dl.ti.com/ccs/esd/documents/users_guide_ccs/ccs_faqs.html#how-do-i-create-a-new-project-from-scratch

    In general, it is probably easiest to just import an example from the PRU Software Support Package, and then you have that as a starting point.

    Yes, agreed.

    including debugging, if possible.

    Note that BeagleBone Black does not have a JTAG header on it if you are interested in CCS JTAG debug. You will need to solder one on:

    https://forum.digikey.com/t/beaglebone-black-jtag/3320

    Thanks

    ki