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.

  • Resolved

TDA4VM: Using NOR Flash to store the primary and secondary bootloader

Expert 1170 points

Replies: 20

Views: 172

Part Number: TDA4VM

Dear TI support,

We would like to use the NOR Flash to store the tiboot3.bin, tispl.bin, u-boot.img & sysfw.itb. Can it be used to store all the primary and secondary bootloader files. if yes than how , what is the method ?

Regards

Manish

  • In reply to Karan Saxena:

    Hi Karan,

    I have already gone through this and using devices OSPI and QSPI . In this example they have used SD card and i can use UART xmodem and ymodem to transfer the files.

    Question --> no matter what i use here for transferring the above mentioned file, i need to reach u-boot prompt somehow right ? I assume you are using here SD card ?

    How can i use uniflash to load the uboot with UART . The document is created using the instructions mentioned , do you suggest adding something here ?How can i use uniflash to load the uboot with uart on board.docxon board?

    Regards

    Manish

  • In reply to Manish Ahlawat:

    Hi Manish,

    Manish Ahlawat
    no matter what i use here for transferring the above mentioned file, i need to reach u-boot prompt somehow right ? I assume you are using here SD card ?

    Not necessarily, you can also use the uniflash tool to do the same. Just flash to the correct addresses and you should be good to go.

    I'm assuming you have a familiarity with flashing using uniflash. If not, I have a quick reference - http://downloads.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/latest/exports/docs/mcusw/mcal_drv/docs/drv_docs/demo_xip_profile_top.html#demo_xip_profile_flash

    The above is just to give you an idea on commands to flash. The UART SBL still needs to be flashed, so you need to run -

    ./dslite.sh –mode processors -c /dev/ttyUSB1 -f (Path to Uniflash Install Directory)/processors/FlashWriter/j721e_evm/uart_j721e_evm_flash_programmer_release.tiimage -i 0

    But after that you can flash anything. Please let me know if you see issues, I can reproduce your setup here and give more pointed answers.

    Regarsd,

    Karan

  • In reply to Karan Saxena:

    Hi Karan,

    ./dslite.sh –mode processors -c /dev/ttyUSB1 -f (Path to Uniflash Install Directory)/processors/FlashWriter/j721e_evm/uart_j721e_evm_flash_programmer_release.tiimage -i 0 - In this command the -i is small or capital as small i doesn't work ?

    On Linux Laptop -
    Terminal  hangs when i run the command, please see the attachment.

    Regards
    Manish
  • In reply to Manish Ahlawat:

    Hi Manish,

    Please use "--mode" instead of "-mode" and "-i" (small i) instead of "-I' (capital I)

    I think the documentation I pointed had the "--mode" wrongly mentioned, I'll get it fixed.

    Regards,

    Karan

  • In reply to Karan Saxena:

    Hi Karan,

    That was taken care but now segmentation error. Kindly see the attachment.

    Regards

    Manish

  • In reply to Karan Saxena:

    Hi Karan,

    That was taken care but now segmentation error. Kindly see the attachment.

    Regards

    Manish

  • In reply to Manish Ahlawat:

    Manish,

    Are you in the UART boot mode while flashing? Please refer to the link I sent before - http://downloads.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/latest/exports/docs/mcusw/mcal_drv/docs/drv_docs/demo_xip_profile_top.html#demo_xip_profile_flash

    Also please let me try, I've always used the uniflash 5.3. I believe you are on 6.0 (please confirm)

    Regards,

    Karan

  • In reply to Karan Saxena:

    yes i am using the version 6 and yes i am in UART mode at the moment and i see the ccc printed on my terminal when i connect. I am connected to MCU Domain UART port.

  • In reply to Manish Ahlawat:

    Manish,

    I think I know the problem, you are using the wrong path in the command, please provide the absolute path instead of the relative path.

    Also please be in UART boot mode and keep the SW3 as 0XXXXXXXXX (this is also there in the documentation). I was also able to verify using the uniflash 6.0

    Below are the successful logs.

    karan@karan:~/ti/uniflash_6.0.0$ sudo ./dslite.sh --mode processors -c /dev/ttyUSB1 -f /home/karan/ti/uniflash_6.0.0/processors/FlashWriter/j721e_evm/uart_j721e_evm_flash_programmer_release.tiimage -i 0
    Executing the following command:
    > ./ProcessorSDKSerialFlash -c /dev/ttyUSB1 -f /home/karan/ti/uniflash_6.0.0/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!
    
    Transferring File of size 215005 bytes
    File Transfer complete!
    Header Transfer complete
    Transferring System Firmware..
    Transferring File of size 263083 bytes
    File Transfer complete!
    

    Regards,
    Karan

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.