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

Part Number: TDA4VM
Other Parts Discussed in Thread: UNIFLASH

Hi TI team:

device: J172EXSOMG01EVM  + Qnx710 + psdk7.3

 according to https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/08_00_00_12/exports/docs/vision_apps/docs/user_guide/RUN_INSTRUCTIONS.html#run_steps_qnx

Step 3c: Copy executable files to SD card for boot using OSPI+SBL(first time and each time you want to run updated applications)

when i  exec make qnx_fs_install_ospi in ubuntu pc , error occured, change to Windows PC and flash used below command:
C:\ti\uniflash_7.0.0\dslite.bat --mode processors -c COM8 -f C:\ti\uniflash_7.0.0\processors\FlashWriter\j721e_evm\uart_j721e_evm_flash_programmer_release.tiimage -i 0
C:\ti\uniflash_7.0.0\dslite.bat --mode processors -c COM8 -f C:\Users\chenwenyu\Desktop\sbl_bootfiles\sbl_cust_img_mcu1_0_release.tiimage -d 3 -o 0
C:\ti\uniflash_7.0.0\dslite.bat --mode processors -c COM8 -f C:\Users\chenwenyu\Desktop\sbl_bootfiles\tifs.bin -d 3 -o 40000
C:\ti\uniflash_7.0.0\dslite.bat --mode processors -c COM8 -f C:\Users\chenwenyu\Desktop\sbl_bootfiles\can_boot_app_mcu_rtos_mcu1_0_release_ospi.appimage -d 3 -o A0000
C:\ti\uniflash_7.0.0\dslite.bat --mode processors -c COM8 -f C:\Users\chenwenyu\Desktop\sbl_bootfiles\lateapp1 -d 3 -o 1800000
C:\ti\uniflash_7.0.0\dslite.bat --mode processors -c COM8 -f C:\Users\chenwenyu\Desktop\sbl_bootfiles\lateapp2 -d 3 -o 2400000
C:\ti\uniflash_7.0.0\dslite.bat --mode processors -c COM8 -f C:\Users\chenwenyu\Desktop\sbl_bootfiles\atf_optee.appimage -d 3 -o E0000
C:\ti\uniflash_7.0.0\dslite.bat --mode processors -c COM8 -f C:\Users\chenwenyu\Desktop\sbl_bootfiles\ifs_qnx.appimage -d 3 -o 6C0000

Question1:

lateapp1 and lateapp2 can not flash, but rename lateapp1 to lateapp1.bin(add extension),blow command can be exec successful.  please give me some suggestions?

C:\ti\uniflash_7.0.0\dslite.bat --mode processors -c COM8 -f C:\Users\chenwenyu\Desktop\sbl_bootfiles\lateapp1 -d 3 -o 1800000
C:\ti\uniflash_7.0.0\dslite.bat --mode processors -c COM8 -f C:\Users\chenwenyu\Desktop\sbl_bootfiles\lateapp2 -d 3 -o 2400000

Question2:

i flash all image to spi flash except lateapp1 and lateapp2 according to step3c, but EVM board no any log output.  please give me some suggestions?

thanks!

  • Hi,

    Q1: When specifying the filename to be flashed, the full path and full filename are required.   In the linux build the generated files are "lateapp1" and "lateapp2'.  In windows envrionment if the .bin extension is present on the generated files, then it should be included in the filename.

    Q2:

    Regarding the commands being used, please reference the below commands which have been tried on Linux, and make the corresponding changes to the Windows based commands being run, and see if that makes a difference.   The changes to note are that the addresses offsets are modified for larger image sizes, and the inclusion of the nor_spi_patterns.bin, for SPI tuning.

    ./ProcessorSDKSerialFlash -c /dev/ttyUSB1 -f  ~/ti/uniflash_7.0.0/processors/FlashWriter/j721e_evm/uart_j721e_evm_flash_programmer_release.tiimage -i 0
    ./ProcessorSDKSerialFlash -c /dev/ttyUSB1 -f ./ti-processor-sdk-rtos-j721e-evm-07_03_00_07/vision_apps/out/sbl_bootfiles/sbl_cust_img_mcu1_0_release.tiimage -d 3 -o 0
    ./ProcessorSDKSerialFlash -c /dev/ttyUSB1 -f ./ti-processor-sdk-rtos-j721e-evm-07_03_00_07/vision_apps/out/sbl_bootfiles/tifs.bin -d 3 -o 80000
    ./ProcessorSDKSerialFlash -c /dev/ttyUSB1 -f ./ti-processor-sdk-rtos-j721e-evm-07_03_00_07/vision_apps/out/sbl_bootfiles/can_boot_app_mcu_rtos_mcu1_0_release_ospi.appimage -d 3 -o 100000
    ./ProcessorSDKSerialFlash -c /dev/ttyUSB1 -f ./ti-processor-sdk-rtos-j721e-evm-07_03_00_07/vision_apps/out/sbl_bootfiles/lateapp1 -d 3 -o 1FC0000
    ./ProcessorSDKSerialFlash -c /dev/ttyUSB1 -f ./ti-processor-sdk-rtos-j721e-evm-07_03_00_07/vision_apps/out/sbl_bootfiles/lateapp2 -d 3 -o 27C0000
    ./ProcessorSDKSerialFlash -c /dev/ttyUSB1 -f ./ti-processor-sdk-rtos-j721e-evm-07_03_00_07/vision_apps/out/sbl_bootfiles/atf_optee.appimage -d 3 -o 1C0000
    ./ProcessorSDKSerialFlash -c /dev/ttyUSB1 -f ./ti-processor-sdk-rtos-j721e-evm-07_03_00_07/vision_apps/out/sbl_bootfiles/ifs_qnx.appimage -d 3 -o 7C0000
    ./ProcessorSDKSerialFlash -c /dev/ttyUSB1 -f ./ti-processor-sdk-rtos-j721e-evm-07_03_00_07/pdk_jacinto_07_03_00_29/packages/ti/board/src/flash/nor/ospi/nor_spi_patterns.bin -d 3 -o 3FE0000
    
    

    When booting please keep an eye on the MCU2 UART , Port 0 and Port 1 (see EVM picture here), for any output.

    Regards,

    kb

  • Q1. 

    in ubuntu pc, flash ospi flash failed, so i copied sbl_bootfiles from ubuntu to window pc, 

    lateapp1 and lateapp2 are full name, the two files flash failed .

    so i change the filenames to lateapp1.bin and lateapp2.bin, just for test, then the two files flash success. 

    why?

    thanks!

    Q2.

    the addresses of OSPI all are wrong , i change the address, OSPI+SBL boot success.  you should update the file makefile_sbl.mak.

    OSPI_LOCATION_SYSTEM_BIN=XXX

    OSPI_LOCATION_BOOT_APP=XXX

    .......

    thanks!

  • Glad to hear it working, thank you for the update.

    The makefile_sbl.mak has been updated in SDK 8.0.

    Regards,

    kb