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.

Linux/IWR6843: Flash unit test on Linux (uart)

Part Number: IWR6843
Other Parts Discussed in Thread: UNIFLASH, MMWAVEICBOOST,

Tool/software: Linux

Is there a tool for linux so that we can flash the unit test: mmwave_sdk_<ver>/packages/ti/drivers/*/test/xwr68xx/*.xer4f and *.xe674, preferably over uart?

I can use the uniflash to write the: mwave_sdk_03_02_00_04/packages/ti/utils/ccsdebug/xwr68xx_ccsdebug.bin to flash, but I haven't figured out how to flash the unit tests to ram.

It would be really neat if I could write a shell script to flash the unit tests.

  • Hello,

    1. Assuming that you have a JTAG emulator on your board:

    If you are using a TI EVM (MMWAVEICBOOST + IWR6843ISK), you can use CCS in Linux to download the program binaries which uses the onboard XDS110 JTAG emulator. This is similar to using CCS on Windows to download the program image.

    Automation: CCS provides a scripting mechanism called DSS or Debug Server Scripting using which you can write javascript style code to automate tasks such loading program binaries, enabling/disabling breakpoints, loading and saving memories etc without the need for CCS GUI. You can learn more about this using the API documentation and examples under : C:\ti\ccsv8\ccs_base\scripting\docs\DS_API\index.html

    Also refer to the following post related to a sample script for IWR device:

    CCS/IWR1642: MSS does not run automatically when using Debug Server Scripting on CCS

    2. If you do not have a JTAG emulator on your board

    Then the answer is no (for both Windows and Linux), as we do not support UART debug probe.

    Regards

    -Nitin

  • Thanks for the reply. 

    For this project we are evaluating a custom board based on IWR6843ISK, so JTAG is currently not an option.

    BR,

    Marta