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.

AWR1642BOOST: Error using 'dslite' Command to flash the binary

Part Number: AWR1642BOOST
Other Parts Discussed in Thread: AWR1642, UNIFLASH

Hello,

I tried flashing a binary on my TI AWR1642boost using the 'dslite' command. But I am facing an error. Can you help me with this?

  • Hi,

    Can you share the ccxml file so that I can try it on my end?

    Thanks,
    Anirban

  • I am unable to share the file directly.

    Here is the content of the file: 

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <configurations XML_version="1.2" id="configurations_0">
    <configuration XML_version="1.2" id="configuration_0">
    <instance XML_version="1.2" desc="Serial Connection" href="connections/Serial_Connection.xml" id="Serial Connection" xml="Serial_Connection.xml" xmlpath="connections"/>
    <connection XML_version="1.2" id="Serial Connection">

    <instance XML_version="1.2" href="drivers/serial_debugssm.xml" id="drivers" xml="serial_debugssm.xml" xmlpath="drivers"/>

    <instance XML_version="1.2" href="drivers/serial_csdap.xml" id="drivers" xml="serial_csdap.xml" xmlpath="drivers"/>

    <instance XML_version="1.2" href="drivers/serial_cortexr.xml" id="drivers" xml="serial_cortexr.xml" xmlpath="drivers"/>

    <instance XML_version="1.2" href="drivers/serial_cschild.xml" id="drivers" xml="serial_cschild.xml" xmlpath="drivers"/>

    <instance XML_version="1.2" href="drivers/serial_csetb.xml" id="drivers" xml="serial_csetb.xml" xmlpath="drivers"/>

    <instance XML_version="1.2" href="drivers/serial_icepick_m.xml" id="drivers" xml="serial_icepick_m.xml" xmlpath="drivers"/>

    <instance XML_version="1.2" href="drivers/serial_c674x.xml" id="drivers" xml="serial_c674x.xml" xmlpath="drivers"/>


    <platform XML_version="1.2" id="platform_0">
    <instance XML_version="1.2" desc="AWR1642" href="devices/awr1642.xml" id="AWR1642" xml="awr1642.xml" xmlpath="devices"/>
    </platform>
    </connection>
    </configuration>
    </configurations>

  • What is the exact reason you're using dslite for flashing?

    I would suggest you to use Uniflash GUI tool to flash the specified binaries on the device. This is the standard way of flashing binaries on device.

    Thanks,
    Anirban

  • I am able to use UNIFLASH and that works fine, but I wish to utilize DSLite to enable the execution of system commands, thereby automating the process for additional tasks.

  • Yeah, understood.

    Let me assign it to Uniflash experts.

    Thanks,
    Anirban

  • Asim - why are you passing in "1" at the end of the command?

  • I passed '1' at the end for the device type 'SPI : 1'.

    Do I need to pass all the parameters for dslite? I only passed till device type.

    dslite.bat --mode processors -c <COM_Port> -f <File_to_be_transferred_with_full_path> -d <Device_Type> -i <Image_Type> -e <Erase_Length> -o <Offset>
    -fc <Hardware_Flow_Control> -raw <Raw_Mode>

    Am I doing something wrong?

  • My doubt is resolved. Here is the command I gave : 

    (['"C:\ti\uniflash_8.4.0\dslite.bat" --mode flash --config="C:\ti\mmwave_sdk_03_06_01_00-LTS\packages\ti\drivers\gpio\test\xwr16xx\AWR1642.ccxml" -s COMPort=COM13 "C:\ti\mmwave_sdk_03_06_01_00-LTS\packages\ti\drivers\gpio\test\xwr16xx\xwr16xx_gpio_mss.bin",1'])

  • Yes, you need the comma. Otherwise the "1" will be interpreted as another image to download.