Other Parts Discussed in Thread: AM62P
Hello,
We are trying to flash our development boards SK-AM62-LP with revision PROC124E2 using USB DFU mode.
We are using a host computer that is Linux with Ubuntu 22.04.
When following the guide here: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1127618/faq-sk-am62-how-to-flash-emmc-using-usb-dfu-on-am62x-sk-e2
The board is connected like this:
- J17 micro USB on board to USB-C on host laptop for UART connection
- J15 USB-C on board connected to USB-C on laptop for DFU flashing
- J12 USB-C (PWR) connected to PD capacle power supply
- micro SDHC Sandisk 3gb card
But once we have built the 3 files(using the updated "defconfig" files: “am62x_evm_r5_usbdfu_defconfig” and “am62x_evm_a53_defconfig”):
- tiboot3.bin
- tispl.bin
- u-boot.img
And try to flash them onto the board using "df-util" we get this output:
>> sudo dfu-util -R -a bootloader -D tiboot3.bin
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: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 0451:6165
Run-time device DFU version 0110
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 0110
Device returned transfer size 512
Copying data from PC to DFU device
Download [=========================] 100% 332022 bytes
Download done.
state(6) = dfuMANIFEST-SYNC, status(0) = No error condition is present
dfu-util: unable to read DFU status after completion
dfu-util: can't detach
Resetting USB to switch back to runtime mode
------------------------------------------------------------------
And we see no output in the serial UART micro USB console (gtkterm). It is completely empty.
When we try to list the dfu-units again the board is gone:
>>sudo 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 http://sourceforge.net/p/dfu-util/tickets/
----------------------------------------------------------------------------------------------------
I can only get it back by power-cycling the board.
After power-cycling:
>>sudo 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/.../
Found DFU: [0451:6165] ver=0200, devnum=58, cfg=1, intf=0, path="3-5", alt=1, name="SocId", serial="01.00.00.00"
Found DFU: [0451:6165] ver=0200, devnum=58, cfg=1, intf=0, path="3-5", alt=0, name="bootloader", serial="01.00.00.00"
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
We are not able to continue trying to flash the tispl.bin file and the u-boot.img file after this.
I cannot find that much information on our specific board SK-AM62-LP with PROC124E2. Do we need any special instructions for this board?
Important to note is that we have tried to flash a SD card with the supplied wic image here: https://dev.ti.com/tirex/explore/node?node=A__AdoyIZ2jtLBUfHZNVmgFBQ__am62x-devtools__FUz-xrs__LATEST&search=am62x
But after flashing the SD card using Balena Etcher and then trying to boot using boot pins in SD card boot according to https://dev.ti.com/tirex/explore/node?node=A__ABlmxwZfle7AfM3QhRii6w__linux_academy_am62x__XaWts8R__8.3.0.0%20v1&search=am62
We cannot get it to boot either, we see nothing in the Micro USB UART serial console (using gtkterm for /dev/ttyUSB0 115200-8-N-1).
So we have 2 issues:
- Cannot flash eMMC using USB DFU mode
- We get no serial output on UART connection for any type of boot except UART boot mode
In UART boot mode i could get the character "C" and the other characters. After some decoding it looks like this:
----------------------- SoC ID Header Info: ----------------------- NumBlocks : [2] ----------------------- SoC ID Public ROM Info: ----------------------- SubBlockId : SubBlockSize : DeviceName : am62x DeviceType : HSFS DMSC ROM Version : [0, 1, 0, 1] R5 ROM Version : [0, 1, 0, 1] ----------------------- SoC ID Secure ROM Info: ----------------------- Sec SubBlockId : 2 Sec SubBlockSize : 166 Sec Prime : 0 Sec Key Revision : 0 Sec Key Count : 0 Sec TI MPK Hash : d68ecb2c055dff11ade95bd927e837d2a53bc23b0a2800cebce4f106bcf309df2213912d77a157a8b7c2df40672a06a918034aa4c7d603e462481475225d49b8 Sec Cust MPK Hash : ad0bc40b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 Sec Unique ID : 5a7e46551e64d1d60590128b2566531d07bd00f3a6a23c6c52eedb5a38072a34
Thanks in advance!
/Johan