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.

problem about flashing use UniFlash3.0

Other Parts Discussed in Thread: AM3358, FLASHTOOL, UNIFLASH

Hi,

  I followed the Sitara Uniflash Quick Start Guide to flash android Image into my board witch has an AM3358 MPU. after i have did all the steps and click 

the Start Flashing button, the Progress  value stay at 0% for a long time and the other instance of USB RNDIS driver haven't appear. bellow is the log of 

opendhcp and opentftp:

[07-Jul-15 15:14:43] Logging: All
[07-Jul-15 15:14:43] Open DHCP Server Version 1.59 Windows Build 1036 Starting...
[07-Jul-15 15:14:43] DHCP Range: 192.168.2.2-192.168.2.254/255.255.255.0
[07-Jul-15 15:14:43] Server Name: 2014-20140719FL
[07-Jul-15 15:14:43] Detecting Static Interfaces..
[07-Jul-15 15:14:43] Lease Status URL: http://127.0.0.1:6789
[07-Jul-15 15:14:43] Listening On: 192.168.2.1
[07-Jul-15 15:14:48] BOOTPREQUEST for d0:5f:b8:fb:e8:b3 () from interface 192.168.2.1 received
[07-Jul-15 15:14:48] BOOTP Host d0:5f:b8:fb:e8:b3 (Hostd05fb8fbe8b3) allotted 192.168.2.3

[07-Jul-15 15:14:43] Open TFTP Server MultiThreaded Version 1.64 Windows Built 2001 Starting..
[07-Jul-15 15:14:43] starting TFTP service
[07-Jul-15 15:14:43] alias / is mapped to C:\AM335x_Flashtool\images\
[07-Jul-15 15:14:43] permitted clients: all
[07-Jul-15 15:14:43] server port range: all
[07-Jul-15 15:14:43] max blksize: 65464
[07-Jul-15 15:14:43] default blksize: 512
[07-Jul-15 15:14:43] default timeout: 3
[07-Jul-15 15:14:43] file read allowed: Yes
[07-Jul-15 15:14:43] file create allowed: No
[07-Jul-15 15:14:43] file overwrite allowed: No
[07-Jul-15 15:14:43] thread pool size: 1
[07-Jul-15 15:14:43] Listening On: 192.168.2.1:69
[07-Jul-15 15:14:48] Client 192.168.2.3:1234 C:\AM335x_Flashtool\images\u-boot-spl-restore.bin, 208 Blocks Served

PS: i use a USB TO UART uint  to see the log of flash, but i get nothing in the window of serial port debug tool,why? (I connect the USB TO UART uint with uart0)

Please help me to solve the mentioned problem above, thank you.

  • Jun,

    Did you follow the instruction step by step? You will need to setup your network adapter for the device TWICE because when the uboot get on board it becomes a "new" device to the network.

    This is not flash through UART. It is done through RNDIS which is basically ethernet through USB.

    Refer to the guide:  

    take note on step 22, 33, 34.

    Regards,

    Victor

  • hi victor,

    I am sure i flash the Image through USB and the UART is to see the log of this process. I have did all the steps 1~26, but the value of "progress %" stay at 0% for a

    long time, the second instance of the driver did not come up, what is the problem with it?

  • Jun,

    You are not using UART if you follow the guide and you are not suppose to use UART with this setup. There is no code doing anything on UART. You can verify this by checking the COM ports in device manager. The log you attached are from the opendhcp and opentftp servers, not UART source. Also, please don't use the USB to UART unit as I have no idea how that would affect the RNDIS.

    Did you follow the latest guide that linked in the earlier post? 

    Do you have a AM335x GP EVM PG2.0 and later device or Beagle bone black?

    Did you setup boot switches to boot from USB?

    Victor

  • Victor,

    I use the USB to flash the images, and use the UART TO USB unit (it connects to the uart0 of am335x) to see the log because my PC don't have a UART port.

    certainly i did all the steps of 1~26 follow the latest guide, switch to  boot from USB0. the board i use is similar to BBBlack(i add a wifi module )

    if i don't use the UART TO USB unit ,how can i see the log of flashing?

    Any suggestions would be of great help to me.

    Best Regards,

    Jun

  • Server logs should be here: <uniflash root install>\third_party\sitara\log
    Because to flash the device through TCP/IP is much more hectic, a progress bar is used to display the status of the flash as shown in step 37.

  • hi Victor,
    why the value of "progress %" stay at 0%? i have followed the guide step by step.
  • You can delete those logs, repeat the process again and send me those logs and I can take a look.
    Usually it means either your setup is not correct, or you didn't use the right spl or uboot. The secondary loader and uboot must continue to boot from USB instead of trying other peripheral such as UART.
  • hi Victor,

    the log under C:\ti\uniflashv3\third_party\sitara\log\  like this:

    opendhcp.log:

    [09-Jul-15 13:50:49] Logging: All
    [09-Jul-15 13:50:49] Open DHCP Server Version 1.59 Windows Build 1036 Starting...
    [09-Jul-15 13:50:49] DHCP Range: 192.168.2.2-192.168.2.254/255.255.255.0
    [09-Jul-15 13:50:49] Server Name: 2014-20140719FL
    [09-Jul-15 13:50:49] Detecting Static Interfaces..
    [09-Jul-15 13:50:49] Lease Status URL: http://127.0.0.1:6789
    [09-Jul-15 13:50:49] Listening On: 192.168.2.1
    [09-Jul-15 13:51:11] BOOTPREQUEST for d0:5f:b8:fb:e8:b3 () from interface 192.168.2.1 received
    [09-Jul-15 13:51:11] BOOTP Host d0:5f:b8:fb:e8:b3 (Hostd05fb8fbe8b3) allotted 192.168.2.3

    opentftp.log :

    [09-Jul-15 13:50:49] Open TFTP Server MultiThreaded Version 1.64 Windows Built 2001 Starting..
    [09-Jul-15 13:50:49] starting TFTP service
    [09-Jul-15 13:50:49] alias / is mapped to C:\AM335x_Flashtool\images\
    [09-Jul-15 13:50:49] permitted clients: all
    [09-Jul-15 13:50:49] server port range: all
    [09-Jul-15 13:50:49] max blksize: 65464
    [09-Jul-15 13:50:49] default blksize: 512
    [09-Jul-15 13:50:49] default timeout: 3
    [09-Jul-15 13:50:49] file read allowed: Yes
    [09-Jul-15 13:50:49] file create allowed: No
    [09-Jul-15 13:50:49] file overwrite allowed: No
    [09-Jul-15 13:50:49] thread pool size: 1
    [09-Jul-15 13:50:49] Listening On: 192.168.2.1:69
    [09-Jul-15 13:51:11] Client 192.168.2.3:1234 C:\AM335x_Flashtool\images\u-boot-spl-restore.bin, 200 Blocks Served

  • The device is suppose to restart and request uboot restore image through the same interface again. it is likely that you are not using the right spl. Could you give it a try with these and see if you get further?images.zip

  • It seems no different after i use your image.....

    after i power on the board , why there is no "CCCCCC..." out on UART0?

  • if you setup correctly and the device boot from USB, then there's of course nothing from UART.

    By the way did you disable all firewall and maybe antiviruses that has firewall feature?