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.

TMDS273EVM: TMDS273EVM Rev C board bring up issue.

Part Number: TMDS273EVM

Tool/software:

Hello,

We just got the TMDS273EVM, SL#: 49231030025, Rev C board. We would like to get help to bring this board up with some example code running on it.

Could you help me on that? 

I have installed CCS 20.2.0 and MCU+ SDK arm273x v09.02.00.06 on my Windows laptop.

Detailed instructions and commands are appreciated.

Thank you very much for your help in advance.

Best regards,

Lin Li

  • Hi Lin,

    I guess you meant MCU+ SDK arm273x v09.02.00.60.

    Please following the instructions in the following URL:

    AM273x MCU+ SDK: Getting Started

    Best regards,

    Ming

  • Hi Ming,

    Thanks for your response.
    I will follow the instructions in the link and get back to you later.
    To bring up the TMDS273EVM Rev C board, do I need to install the  XDS110 Debugger Driver? If needed, where can I find it? And what kind of setting on the board do I need to do?
    Thanks for your advice and help.
    Best regards,
    Lin
  • Hi Lin,

    The CCS 12.7.0 and up has the necessary XDS110 driver and debugger. You do not install extra drivers. How ever, you will need to setup the target configuration file (*.ccxml file) for AM273x EVM. The following link has the details:

    AM273x MCU+ SDK: Download, Install and Setup CCS

    Best regards,

    Ming

  • Hi Ming,

    I loaded a sample project: hello_world_am273x-evm_c66ss0_nortos_ti-c6000 from the AM273x SDK in CCS.

    I can build it well. However, when I Start Debugging it, I got following error message: IcePick_M_0: Error connecting to the target: (Error -2131 @ 0x0) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 20.2.0.3536). 

    What's the reason of above error? How can I fix it? I tried powering cycle the board, but not helpful. Does it relate to the target configuration file? 

    Thanks for your help and advice.

    Best regards,

    Lin

  • Hi Ming,

    When I follow the above link, I noticed that to use the MCU+ SDK arm273x v09.02.00.60, CCS version is 12.7.0. However, I downloaded and installed the latest CCS version 20.2.0. Does that matter? Should I uninstall it and install the v12.7.0? 

    Best regards,

    Lin

  • Hi Lin,

    I heard the CCS 20.x is hard to use. I would recommend CCS12.7.0.

    Best regards,

    Ming

  • Hi Ming,

    Thanks for your suggestion. I will follow you and reinstall the CCS 12.7.0.

    Could you kindly check my other questions please?

    Regards,

    Lin

  • Hi Lin,

    For the JTAG to access the AM273x SoC, you will need to set AM273x EVM to "No Boot Mode":

    and XDS_USB (J9) is connected to your PC:

    Best regards,

    Ming

  • Hi Ming,

    I changed boot mode to No Boot Mode by adding two jumpers as shown above (before it was 000, no any jumper). Now it's 101.

    After that when I Start Debugging it, I got different error as below: C66xx_DSP: Error connecting to the target: (Error -6305) PRSC module failed to write to a router register. (Emulation package 20.2.0.3536).

    Any hint and new suggestion?

    Oh, I'm still running CCS 20.2.0. 

    Best regards,

    Lin

  • Hi Lin,

    Have you created a target configuration file for AM273x EVM? If yes, after launching the target configuration file, you will need to connect R5F0 first then connect to the C66x core. I would install the CCS 12.7.0.

    Best regards,

    Ming

  • Sorry, not yet. In the CCS 20.2.0, under View there is no Target Configuration item. I am searching it now. And I will install the CCS 12.7.0 later

  • Oh, I checked it. In the CCS 20.2.0 the target configuration file is automatically generated. just FYI.

  • Hi Ming,

    Before I reinstalling the CCS 12.7.0, I have another question. Which one should I install first CCS and SDK? Does the order matter? 

    Thanks,

    Lin

  • Hi Lin,

    The order of installation of CCS and SDK does not matter.

    You may need to change the following line in imports.mak

    FROM

    CCS_FOLDER_VERSION=2010

    TO

    CCS_FOLDER_VERSION=1270

    Best regards,

    Ming

  • Hi Ming,

    Thanks for your information. I have reinstalled SDK and CCS. Will test soon. Where can I find the imports.mak file?

    Regards,

    Lin

  • Top directory of FreeRTOS SDK.

  • Thanks, I found the file. But there is no CCS_FOLDER_VERSION item in the file.

    Also, when I debug the sample project, I often get the following error message: Error connecting to the target:
    (Error -1170 @ 0x0)
    Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK).

    How can I lower the TCLK?

  • Hi Ming,

    I found the way to change the TCLK. However, I can't choose a correct value of clock. I tried 500 KHz and 1 MHz, but they both are not accepted. If you know a working lower TCLK value, please let me know.

    Best regards,

    Lin

  • Hi Ming,

    The sample project hello_world_r5ss0-s_nortos works fine now. However, when I try to import hello_work_c66ss0_nortos project, I got message said: No TI C6000 compilers, supporting device evmAM273x' are currently installed!  Where can I find them and how to install them?

    Regards,

    Lin

  • Hi Ming,

    I manually installed the ti-cgt-c6000_8.3.12, now the hello_work_c66ss0_nortos project can be imported and built. However, when I debug it, I get below error message: C66xx_DSP: Error connecting to the target: (Error -6305) PRSC module failed to write to a router register. (Emulation package 12.7.0.00105). Do you have any hint about it? How can I resolve it?

    Also, in your previous replies, what do you mean by "you will need to connect R5F0 first then connect to the C66x core."? 

    Thanks again for your continuous support and help.

    Best regards,

    Lin

  • Also, looks like the manually created Target Configuration file is not used in the sample project. (the file names are different)

  • Hi Lin,

    To use the manually created target configuration file, you have to show the target configuration files:

    1. CCS --> View --> Target Configurations:

    2. Right click on your manually created target configuration file and select "Launch Selected Configuration"

    3. Right click on the Cortex_R5_0, then select "Connect Target"

    4. Right click on the C66xx_DSP, then select "Connect Target"

    5. Now you can load your application code to the C66xx_DSP. CCS --> Run --> Load --> Load Program --> select the *.out file. After the program is loaded, it will stop at main().

    6. Press the F8 to run the code, or F6 to single step the code.

    The reason to do the above steps is that the C66xx_DSP needs the R5_0 GEL file to initialize, so the direct connect to C66xx_DSP using JTAG will fail.

    Best regards,

    Ming

    Ming

  • Hi Ming,

    Thank you very much for your detailed explanation and demo steps. I will try them tomorrow (not bring the board back to home) and let you know the results.

    Best regards,

    Lin

  • Hi Ming,

    I followed your instructions running  the hello_world_c66ss0_nortos sample project and got the similar results as shown in your screenshots. It looks like now the hello_world_c66ss0_nortos sample project works well. Thank you very much for your help and support.

    Could you help me on the JTAG clock TCLK setting issue? The default value is 5.5 MHz. I tried to lower it to 1 MHz and 500 KHz, but both are not working. Do you have any idea what lower value I can set?

    Best regards,

    Lin

  • Hello TI's support team,

    Here I would like to express my honest thanks to Ming Wei for Ming's patient and informative support and instructions in last three days. Ming helps me setup all the necessary developing tools and bring up the EVM board. I appreciate this kind of help and support. TI's support team are great having knowledgeable experts as Ming. 

    Hopefully I/we will get continuous and strong support and help from your team.

    Best regards,

    Lin Li at Mach Industries.

  • Can you get my message?

  • Hi Lin,

    I have changed the JTAG TCLK from 5.5Mhz to 1Mhz as the following. It works, although it is very slow.

    Then following the steps I mentioned in my previous post. I got the following result:

    As you mentioned in your post that the 5.5Mhz JTAG TCLK works for you. Why do you need to change it to 1Mhz or 500Khz. It will be extremely slow for load and debug your program.

    Best regards,

    Ming

  • Hi Ming,

    As with 5.5 MHz clock, the debugging can't repeat. I have to reset the board each time to debug the code. From the error message, it said lower the TCLK value. So I want to try some other values.

    Regards,

    Lin

  • Hi Ming,

    I still wondering why my CCS 12.7.0 had no C6000 compiler after I installed it. I have to manually install it to import the C66x sample project. Did I miss anything in the CCS 12.7.0?

    Regards,

    Lin

  • Hi Lin,

    First of all, you have to reset the board every time is not because of the TCLK frequency. It is because of the CCS system reset cannot reset the AM273x EVM.

    Secondly, in imports.mak, there is a line:

    CGT_TI_C6000_PATH=$(CCS_PATH)/tools/compiler/ti-cgt-c6000_8.3.12.

    It basically says the C66x compiler the MCU + SDK is expected to be ti-cgt-c6000_8.3.12 and it should be installed at

    $(CCS_PATH)/tools/compiler/ti-cgt-c6000_8.3.12.

    In my PC, it is installed at:

    C:\ti\ccs1270\ccs\tools\compiler\ti-cgt-c6000_8.3.12.

    Please make sure you have it installed in the CCS 12.7.0

    Best regards,

    Ming

  • Hi Ming,

    Thanks for all the information. It's clear now.

    To develop a SPI project, what sample project should I start with? Or should I start from an empty sample project?

    Best regards,

    Lin

  • Hi Lin,

    If the previous post has asked your question, please mark this thread as "Resolved". For additional questions, you can always start a new e2e thread.

    To answer your question about the SPI example, there are three examples under: C:\ti\mcu_plus_sdk_am273x_09_02_00_60\examples\drivers\mibspi. You can start with any of those examples depending on which mode you want to use: CPU copy or DMA.

    Best regards,

    Ming