Other Parts Discussed in Thread: UNIFLASH
Hello,
I am trying to flash the image in J7 based custom board. I am trying to flash the image in eMMC over UART using Uniflash. This is the command I am trying
sudo ./dslite.sh --mode processors -c /dev/ttyUSB2 -f /home/slaldas/ivpimage/uart_j721e_evm_flash_programmer_release.tiimage -i 0 sudo ./dslite.sh --mode processors -c /dev/ttyUSB2 -f /home/slaldas/ivpimage/tiboot3.bin -d 4 -o 0 sudo ./dslite.sh --mode processors -c /dev/ttyUSB2 -f /home/slaldas/ivpimage/tispl.bin -d 4 -o 80000 sudo ./dslite.sh --mode processors -c /dev/ttyUSB2 -f /home/slaldas/ivpimage/u-boot.img -d 4 -o 280000 sudo ./dslite.sh --mode processors -c /dev/ttyUSB2 -f /home/slaldas/ivpimage/sysfw.itb -d 4 -o 6C0000
/dev/ttyUSB2 is where boot ROM prints character "C" periodically. Also I disconnect the UART cable & power cycle the board each time I made attempt to flash the image.
First image (i.e. uart_j721e_evm_flash_programmer_release.tiimage) flashed correctly. However when I try to flash "tiboot3.bin" & other binaries I get error "Transmit of header Failed!" Please see the log for details
slaldas@daimler:/opt/ti/uniflash_6.1.0$ sudo ./dslite.sh --mode processors -c /dev/ttyUSB2 -f /home/slaldas/ivpimage/uart_j721e_evm_flash_programmer_release.tiimage -i 0 Executing the following command: > ./ProcessorSDKSerialFlash -c /dev/ttyUSB2 -f /home/slaldas/ivpimage/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-2020 Texas Instruments Incorporated - http://www.ti.com/ Version 1.3.0.0 ---------------------------------------------------------------------------- Downloading Flash Programmer.. Opening Port Successful! Transferring File of size 215005 bytes File Transfer complete! slaldas@daimler:/opt/ti/uniflash_6.1.0$ sudo ./dslite.sh --mode processors -c /dev/ttyUSB2 -f /home/slaldas/ivpimage/tiboot3.bin -d 4 -o 0 Executing the following command: > ./ProcessorSDKSerialFlash -c /dev/ttyUSB2 -f /home/slaldas/ivpimage/tiboot3.bin -d 4 -o 0 For more details and examples, please refer to the UniFlash Quick Start guide. ---------------------------------------------------------------------------- ProcessorSDKSerialFlash CLI Tool Copyright (C) 2017-2020 Texas Instruments Incorporated - http://www.ti.com/ Version 1.3.0.0 ---------------------------------------------------------------------------- Transferring the Image to Flash Programmer.. Opening Port Successful! Transmit of header Failed! File Transfer Failed!
This is the first time I am trying to flash this custom board. Could you please let me know what I am missing here.
Just to give some more information -
We have two boot switch on the board and they are set to UART mode i.e.
MCU_BOOTMODE (S1) [1:8] - 0111 0000
BOOTMODE (S2) [1:8] - 0000 0000
I also tried flashing OSPI instead of eMMC by just changing the command line argument "-d 3" instead of "-d 4" and I am getting exact failure i.e. "Transmit of header Failed!"
Thanks,
Satish