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.

RTOS/AM5728: How to write image(MLO,app) to QSPI with Uniflash on TMDXIDK5728

Guru 10235 points
Part Number: AM5728
Other Parts Discussed in Thread: UNIFLASH,

Tool/software: TI-RTOS

Hello, TI Experts,

 

Our customer sent us a question about flashing to QSPI with Uniflash on TMDXIDK5728.

They are considering how to write image(MLO,app) to QSPI for their MP product by using AM5728.

We found Uniflash supports AM572x in below link.

So, we try to write image(MLO,app) to QSPI with Windows-Uniflash Tool(4.5.0.2056).

http://software-dl.ti.com/processor-sdk-rtos/esd/docs/latest/rtos/index_board.html#uniflash

 

Question:

  We executed commands like below to write MLO to QSPI referring the above link guide;

  But it seems to be stopped.

  Do you have same experience?

 

We also apply below workaround for Uniflash.

https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/751495

 

We would appreciate if you tell us how to solve this problem.

 

P.S. We can success to flashing(MLO,app) & boot from QSPI with CCS by using COM86 referring below guide.

       So it seems to exist some problem in Uniflash method for writing image(MLO,app) to QSPI.

       http://processors.wiki.ti.com/index.php/Processor_SDK_RTOS_BOOT_AM57x#Boot_Modes

 

Best regards,

 

  • Matusan,

    If you refer to Uniflash supported platforms section, you will notices that AM572x IDK doesn`t natively support UART boot due to its boot settings so users are required to load  the .out  similar to the instructions provided here:

    Steps for AM572x IDK:

    • Launch and setup CCS for AM65xx to configure DDR 

    • Connect the USB cable between USB2UART port of the board and host Port
    • Configure the serial console application on host PC to connect to UART port. 
    • Launch target config file for AM57xx IDK platform and connect to A15 core.
    • Load the flash writer binary <path_to_the_uniflash>/processors\FlashWriter\idkAM572x\uart_idkAM572x_flash_programmer.out to A15 core.
    • Run the program and confirm that character ‘C’ is getting printed on the host PC serial console. Make a note of the COM port number.
    • Close the serial console, disconnect and reconnect the serial cable to USB2UART port  of the board.
    • Refer Section Erasing Flash Device on the Target Platform for erasing the flash device on the target platform.
    • Run the below commands to program the QSPI flash device. Example:
    .\dslite.bat --mode processors -c COM9 -f MLO.bin -d 2 -o 0

    Try to use the dslite tool instead of the ProcessorSDKSerialFlash interface and also remember to disconnect the serial console before running the utility else you may run into this issue.

    Regards,

    Rahul

  • Hi,

    Thank you very much for your kindness.
    I really appreciate your help.

    I try to use the dslite tool based on your guide.
    But, the situation seems not to be improved.
    It seems to be stop after "Transferring Header Information.." showing, even if I close the serial console, disconnect and reconnect the serial cable.

    We would appreciate if you check the behavior with your TMDXIDK5728.

    Best regards,