Post Go back to editing

CCES Runner in terminal and Cross Core IDE

Category: Software

Hello,

I have a project in CCES IDE for ADSP 21569. I want to automatically test the firmware. For this purpose, I have written a python library that communicates with the board via UART. All my tests work when I launch the debugging via CCES IDE (either ICE 1000 or EZ Kit debugger) or when I load the program to flash and start from there.

I want to write the firmware automatically to the board. I am calling the CCES_Runner.exe with the necessary arguments, all goes well with either ICE 1000 or EZ Kit debugger. The only issues is that no communication via my UART protocol is happening.

"C:/Analog Devices/CrossCore Embedded Studio 2.11.1/CCES_runner.exe" --core "0,C:/Analog Devices/CrossCore Embedded Studio 2.11.1/SHARC/ldr/ezkit21569_preload.dxe,21569_SOM_Minimal_CP/Debug/21569_SOM_Minimal_CP.dxe" --target "Emulation Debug Target" --platform "ADSP-21569 via ICE-1000" --processor "ADSP-21569" -v --timeout "100000"

I have verified that the firmware starts successfully by printing to the console. It is the same firmware as in the IDE. I tried to exit the terminal after loading the firmware and setting a timeout, both without success. Other tests which do not require UART communication work without problems.

Is the process in the terminal somehow blocking the DSP differently than the process started from the IDE?

Thanks for your help

Thread Notes

  • Hello Franz,

    Thank you for your inquiry.

    We will get back to you by early next week.

    Best regards,
    Santhakumari.K

  • Hi,

    We have tested UART example code and CCES runner Utility. In our PC we were using Tera Term software for communicating ADSP-21569 Evaluation board with PC via UART protocol. Also we are able to load and run the dxe file using CCES_Runner and see the output in Tera Term via UART. Please refer the attached screenshot for your reference.

    Could you please try to run the example in your setup and confirm whether the same issue occurs, you can download and install 'ADSP-21569 Board Support Package' from the below link:
    download.analog.com/.../ADI_ADSP-2156x_EZ-KIT-Rel1.0.1.exe

    After installation, you can find "UARTAutobaud" example in the below path:
    <Installation path>\Analog Devices\EV-2156x_EZ-KIT-Rel1.0.1\EV-2156x_EZ-KIT\Examples\drivers\uart\

    For detailed information about example, hardware setup and procedure to run the example, please refer "readme" file available in the example project.

    We suspect that this is not related to the terminal communication.

    For isolating the issue, please share us which tool that you are using for getting UART output in your PC? In order to isolate the issue, please share us a sample project along with your test script to simulate the issue in ADSP-21569 Evaluation kit. This would be helpful for us to assist you further.

    Regards,
    Santhakumari.K