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.

SK-AM64: How can I get CCS to connect to the SK-AM64 Starter Kit

Part Number: SK-AM64

I have both the AM64x Evaluation Module and the AM64 Starter Kit.

I can launch, load and run CCS SDK examples on the AM64x EVM (Thanks to Nick S.).

However mcu_plus_sdk_am64x_08_00_00_21 does not support the AM64 Starter Kit.

Following the EVM procedure to Flash the SOC Initialization Binary into the AM64 Starter Kit I get the following error:

[STATUS] ERROR:  Incorrect magic number in file header

How do I get CCS to connect to the SK-AM64 Starter Kit?

  • Hi Gene,

    You're right that the AM64x Starter Kit is not supported by the MCU+ SDK. Let me do some research internally regarding how to connect CCS to the Starter Kit and get back to you next week.

    Regards,

    Jianzhong

  • Hi Gene, 

    You can try using botting from the sd card for no boot settings.  You can follow the link below.

    https://software-dl.ti.com/mcu-plus-sdk/esd/AM64X/latest/exports/docs/api_guide_am64x/EVM_SETUP_PAGE.html

    Regards,

    Mete Can

  • Hello Gene,

    Sorry for my delayed response. Firstly, the AM64x Starter Kit is mainly for Linux development at this stage, as indicated at https://www.ti.com/tool/SK-AM64.  

    Secondly, there is a way to enable CCS connection for RTOS/bare-metal development on the R5F cores. Please follow the Getting Started Guide for AM64x GP EVM, with a few tweaks described below:

    1. When you download the MCU+ SDK, please download version 07.03.00.19 (not the latest).

    2. During EVM setup, when you flash the SOC initialization binary through UART,

    • please don't use the settings in the guide, but set the boot mode according to the AM64x Starter Kit User's Guide.
    • please use the NULL bootloader in MCU+ SDK 07.03.00.19:

    C:\ti\mcu_plus_sdk_am64x_07_03_00_19\tools\boot>python uart_uniflash.py -p COM<port number> --cfg=sbl_prebuilt\am64x-evm\default_sbl_null.cfg

    • after the flashing is done, please set boot mode to xSPI, not OSPI. Once you power on the Starter Kit, you should see the same output from the UART console:

    Starting NULL Bootloader ...
    
      DMSC Firmware Version 21.1.1--v2021.01a (Terrific Lla
      DMSC Firmware revision 0x15
      DMSC ABI revision 3.1
    
      INFO: Bootloader_runCpu:151: CPU r5f1-0  is initialized to 800000000 Hz !!!
      INFO: Bootloader_runCpu:151: CPU r5f1-1 is initialized to 800000000 Hz !!!
      INFO: Bootloader_runCpu:151: CPU m4f0-0 is initialized to 400000000 Hz !!!
      INFO: Bootloader_loadSelfCpu:203: CPU r5f0-0 is initialized to 800000000 Hz !!!
      INFO: Bootloader_loadSelfCpu:203: CPU r5f0-1 is initialized to 800000000 Hz !!!
      INFO: Bootloader_runSelfCpu:215: All done, reseting self ...

    3. After you launch CCS and connect to MAIN_Cortex_R5_0_0, do not perform DDR initialization through GEL file. The GEL files are not supporting the Starter Kit yet. If you can not connect to R5, please try to disconnect and reconnect the XDS110 JTAG, or power cycle the board.

    If you finish all the above successfully, you should be able to connect to CCS. However the development will be limited because DDR is not initialized. Please keep in mind that CCS development on AM64x Starter Kit has not been thoroughly tested at this stage and you may encounter some problems. The AM64x GP EVM is better suited for this purpose.

    Best regards,

    Jianzhong

  • Adding a note here: GEL files for AM64x Starter Kit should now be available in CCS. Upgrade the Sitara Device support package to 1.5.6, which will include GEL files and xml for Starter Kit support. I have not tested these myself at the time of the post, so I cannot comment on whether there are starter kit specific steps to use the GEL files.

  • As Nick mentioned, GEL files for AM64x Starter Kit is available in CCS 11.0.

    Download and install CCS 11.0 and then upgrade the Sitara Device support package to 1.5.6: go to CCS > Help > Check for Updates. Sitara device support 1.5.6 will be listed after checking for updates is finished. It may take a while to finish the checking. Click next and follow the prompt to install the update.

    When creating the CCS target configuration, please choose AM64x_SK_EVM:

    After launching the target configuration, connect R5 core and initialize DDR by the GEL file.

    Below should be displayed at the end of the CCS console message after DDR is initialized:

    MAIN_Cortex_R5_0_0: GEL Output: ctl_int_status = 0x02000000...
    MAIN_Cortex_R5_0_0: GEL Output: --->>> DDR Initialization completed... <<<---
    MAIN_Cortex_R5_0_0: GEL Output: --->>> LPDDR4 Initialization is DONE! <<<---
    

    Now we're good to go with R5 development on the AM64x Starter Kit.