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.

TDA4VM: UNIFLASH 6.1.0 segment fault on Linux machine

Part Number: TDA4VM
Other Parts Discussed in Thread: UNIFLASH,

Dear experts,

When I tested with UNIFLASH 6.1.0 on Ubuntu 18.04 host with TDA4VM EVM, I got segment fault. Is there a known issue?

I tested Windows UNIFLASH 6.1.0 it works fine. I tried minicom and got "CCCCC" in the serial port.

~/ti/uniflash_6.0.0$ ./dslite.sh --mode processors -c /dev/ttyUSB1 -f ./processors/FlashWriter/j721e_evm/uart_j721e_evm_flash_programmer_release.tiimage -i 0
Executing the following command:
> ./ProcessorSDKSerialFlash -c /dev/ttyUSB1 -f ./processors/FlashWriter/j721e_evm/uart_j721e_evm_flash_programmer_release.tiimage -i 0

For more details and examples, please refer to the UniFlash Quick Start guide.


----------------------------------------------------------------------------
ProcessorSDKSerialFlash CLI Tool
Copyright (C) 2017-2019 Texas Instruments Incorporated - http://www.ti.com/
Version 1.2.0.0
----------------------------------------------------------------------------
Downloading Flash Programmer..

Enabling SysFw transfer!!!
Opening Port Successful!
./dslite.sh: line 75: 26184 Segmentation fault      (core dumped) ./ProcessorSDKSerialFlash -c /dev/ttyUSB1 -f ./processors/FlashWriter/j721e_evm/uart_j721e_evm_flash_programmer_release.tiimage -i 0

  • Hi ZM,

    The issue is that you are giving the relative path to the image in the command you are using. I tried the same and got the segmentation fault myself.

    Replace the relative path by absolute path (~/ti/uniflash_6.0.0/processors/FlashWriter/j721e_evm/uart_j721e_evm_flash_programmer_release.tiimage) and you should be able to flash.

    Use the below command:

    ~/ti/uniflash_6.0.0$ ./dslite.sh --mode processors -c /dev/ttyUSB1 -f ~/ti/uniflash_6.0.0/processors/FlashWriter/j721e_evm/uart_j721e_evm_flash_programmer_release.tiimage -i 0
    

    Regards,

    Karan