I have a TI EVM for AM64x or AM24x. I want to connect to the PRU_ICSSG cores in Code Composer Studio. How do I do it?
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.
I have a TI EVM for AM64x or AM24x. I want to connect to the PRU_ICSSG cores in Code Composer Studio. How do I do it?
AM64x GP EVM (TMDS64GPEVM):
1) Set up CCS as per https://software-dl.ti.com/mcu-plus-sdk/esd/AM64X/08_00_00_21/exports/docs/api_guide_am64x/CCS_SETUP_PAGE.html . When creating the Target Configuration, do NOT bypass the ICSS_G cores. Go to the Advanced tab and verify that the DMSC will run an initialization script:
2) Flash the SOC Initialization binary as per https://software-dl.ti.com/mcu-plus-sdk/esd/AM64X/08_00_00_21/exports/docs/api_guide_am64x/EVM_SETUP_PAGE.html
3) Set the boot switches to OSPI Boot as documented at https://software-dl.ti.com/mcu-plus-sdk/esd/AM64X/08_00_00_21/exports/docs/api_guide_am64x/EVM_SETUP_PAGE.html#BOOTMODE_OSPI . When CCS is connected to the UART to USB micro USB port and the board boots, you should see the NULL Bootloader execute:
4) Connect to the XDS100 micro USB port as shown here: https://software-dl.ti.com/mcu-plus-sdk/esd/AM64X/08_00_00_21/exports/docs/api_guide_am64x/EVM_SETUP_PAGE.html#EVM_CABLES . Boot the board, and start the Target Configuration.
5) For SDK 8.1 and earlier, the OPSI SBL NULL initialization binary does not enable PRU clocks. So if you try to connect to a PRU core at this point, it will fail like this:
6) If the PRU clocks are not enabled, you need to run an additional step. Connect to the DMSC. It will run the initialization GEL scripts by default.
7) You can finally connect to an ICSSG core! A successful connection will look like this:
AM64x Starter Kit (SK-AM64):
I have not yet tested this connection. If any readers have gotten this configuration to work, feel free to post and we will add your steps to the guide.
See thread https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1031069/sk-am64-how-can-i-get-ccs-to-connect-to-the-sk-am64-starter-kit for a starting point. Note that AM64x Starter Kit GEL files and XML were just added to Sitara Device support package 1.5.6. Make sure to install those before you attempt to connect to AM64x SK PRU_ICSSG. I would expect that a similar process to AM64x EVM board should work now that the GEL files are available.
AM243x GP EVM (TMDS243GPEVM)
Use the same steps as "AM64x GP EVM (TMDS64GPEVM)"
AM243x LAUNCH PAD (LP-AM243)
Use the same steps as "AM64x GP EVM (TMDS64GPEVM)"