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.

AM69: AM69 eMMC uboot programming using USB or other non-SD based method

Part Number: AM69
Other Parts Discussed in Thread: UNIFLASH

We are looking to program uboot using USB or UART on the AM69 without having an SDcard. In the AM69 SDK docs , It lists that we should be able to use USB: https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-am69/11_00_10_01/exports/docs/linux/Foundational_Components/U-Boot/UG-DFU.html

It also states that we can use Uniflash as well: https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-am69/11_00_10_01/exports/docs/linux/Foundational_Components/Tools/Flash_Tools.html

We are not able to get either of these to work on the AM69-SK. In the case of USB and dfu-util it cannot detect the connection. From what I have read this may be due to the AM69-SK using a usb hub. Please let us know if this is the case and our options. Our prototypes will not use the hub so we hope that is the limitation 

Also, I downloaded Uniflash, but there is no configuration for AM69 processors. Can you provide more information regarding this as well?

If there are other options supported such as UART, please let us know.

  • HI Chris,

    Can you help us with the SDK version along with the link from where you have downloaded the sdk.

    Can you also share the output logs when running dfu?

    Regards

    Gokul 

  • We are using Yocto scarthgap currently, our manifest based off of the TI SDK config: configs/processor-sdk-linux/processor-sdk-linux-11_00_10_01.txt

    Here is the output on the host side with the AM69-SK USB-C connected to it:

    $ dfu-util -V
    dfu-util 0.9

    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
    Copyright 2010-2016 Tormod Volden and Stefan Schmidt
    This program is Free Software and has ABSOLUTELY NO WARRANTY
    Please report bugs to sourceforge.net/.../

    $ dfu-util -l
    dfu-util 0.9

    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
    Copyright 2010-2016 Tormod Volden and Stefan Schmidt
    This program is Free Software and has ABSOLUTELY NO WARRANTY
    Please report bugs to sourceforge.net/.../

  • Hi Chris,

    1)Can you share the boot switch settings you have set for dfu boot mode.

    2)Also , just to confirm is this AM69 or AM69-SK board.

    3)Is this a custom board or TI board.

    Regards

    Gokul Praveen

  • I am using the settings in table 2 from the CPLD doc MS_TI_J7AHP_SK_CPLD_PLDD.pdf out of spr466d.zip. It states to use SW2[2:0] set to 0 1 1 for USB. And yes this is for the AM69-SK board.

    Thanks, 

    Chris

  • HI chris,

    Thank you for the response. 

    Actually dfu boot mode and uniflash is not supported. We ideally use normal xmodem and ymodem in minicom to reach uboot thrugh uart boot mode . Then from uboot, we flash to the corresponding the boot media.

    Use the edge-ai sdk present in the below path:

    www.ti.com/.../PROCESSOR-SDK-LINUX-AM69A

    You can follow these steps for the same:

    Set the board in uart boot mode.

    connect to mcu uart through minicom.

    Use the following command: CTRL + A followed by ‘s’ on minicom gives the modem window choose xmodem
    and enter.

    point to the path of tiboot3.bin and wait for the upload to complete.

    connect to main uart through minicom.

    Use the following command: CTRL + A followed by ‘s’ on minicom gives the modem window choose ymodem
    and enter.

    point to the path of tispl.bin and wait for the upload to complete.

    Use the following command: CTRL + A followed by ‘s’ on minicom gives the modem window choose ymodem
    and enter.

    point to the path of u-boot.img and wait for the upload to complete.

    Output logs:

    Regards

    Gokul Praveen

  • Hi Gokul,
    Thanks for the information. I was able to get the UART method to work on my end with the AM69-SK so that is one option, although it is a bit slow. Can you check to see what the limitation is for USB with the AM69 processor? We are currently making a prototype with this board and it will not have the USB hub like the AM69-SK has and it would be nice if we could use USB as I imagine that will be faster.
    Thanks,

  • HI Chris,

    Thanks for the information. I was able to get the UART method to work on my end with the AM69-SK so that is one option, although it is a bit slow.

    Glad to hear that.

    Can you check to see what the limitation is for USB with the AM69 processor? We are currently making a prototype with this board and it will not have the USB hub like the AM69-SK has and it would be nice if we could use USB as I imagine that will be faster.

    It could be because of the USB hub, Chris. However, the J784S4-EVM board supports dfu boot mode. Maybe you can design the prototype based on that board as it would be helpful.

    Best Regards

    Gokul Praveen