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.

[FAQ] TDA4VM: Segmentation fault while flashing using UNIFLASH

Part Number: TDA4VM
Other Parts Discussed in Thread: UNIFLASH

I am flashing to OSPI using uniflash and below are my commands:

karan@karan:~/Desktop$ sudo ./dslite.sh --mode processors -c /dev/ttyUSB1 -f uart_j721e_evm_flash_programmer_release.tiimage -i 0
./dslite.sh: line 64: cd: /home/karan/Desktop/processors/: No such file or directory
Executing the following command:
> ./ProcessorSDKSerialFlash -c /dev/ttyUSB1 -f 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!

Transferring File of size 215005 bytes
File Transfer complete!
Header Transfer complete
./dslite.sh: line 75:  4056 Segmentation fault      (core dumped) ./ProcessorSDKSerialFlash -c /dev/ttyUSB1 -f uart_j721e_evm_flash_programmer_release.tiimage -i 0

I am getting a segmentation fault, am I missing something?

  • The issue is due to the fact that you are running the Uniflash scripts from the Uniflash root directory.

    uart_j721e_evm_flash_programmer_release.tiimage expects the system firmware to be sent after you have sent the flash writer. The path of the system firmware is relative to the Uniflash root directory. 

    Below are the successful logs when you run the scripts from the Uniflash root directory. You will see the print "Transferring System Firmware", this is where your setup errors out.

    Logs: uniflash_logs

    Regards,

    Karan