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.

CCS Uniflash don't run when flash for am335x

I built some image file with linux but when run on windows it don't run any more?

My log:

In OpenDHCP file:

Retrying failed Listening Interfaces..
Warning: Section [LISTEN_ON], Interface 192.168.101.1 not available, ignored
Warning: Section [LISTEN_ON], Interface 192.168.103.1 not available, ignored
Warning: Section [LISTEN_ON], Interface 192.168.102.1 not available, ignored
Lease Status URL: http://127.0.0.1:6789
Listening On: 192.168.2.1

In OpenTFTP:

Retrying failed Listening Interfaces..
192.168.101.1 Port 69 bind failed
192.168.102.1 Port 69 bind failed
192.168.103.1 Port 69 bind failed
Listening On: 192.168.2.1:69

  • Hi, as the error suggested, did you setup your network interface properly? Please ensure you have setup your network interface following this wiki :
    processors.wiki.ti.com/.../Sitara_Uniflash_Quick_Start_Guide
  • Hi, thanks for your reply. I think I config network ok, it recognized target, and the log is listening. I don't know why the state don't change?

    P/s: the picture and log is different ip because i coppied log when config follow wiki.

  • log error says bind failed so it is not setup properly. Can you paste the result of your ipconfig?
  • Because i have 4 connection interface, i configed one connect to target, still three is blind.

  • looks fine to me, delete the logs and run it again and then send me the two full log file and let's see what's going on here.
  • DHCP log:

    [28-Oct-16 14:25:04] Open DHCP Server Version 1.59 Windows Build 1036 Starting...
    [28-Oct-16 14:25:04] Logging: All
    [28-Oct-16 14:25:04] DHCP Range: 192.168.2.2-192.168.2.254/255.255.255.0
    [28-Oct-16 14:25:04] DHCP Range: 192.168.5.2-192.168.5.254/255.255.255.0
    [28-Oct-16 14:25:04] DHCP Range: 192.168.6.2-192.168.6.254/255.255.255.0
    [28-Oct-16 14:25:04] DHCP Range: 192.168.4.2-192.168.4.254/255.255.255.0
    [28-Oct-16 14:25:04] Server Name: pc
    [28-Oct-16 14:25:04] Detecting Static Interfaces..
    [28-Oct-16 14:25:04] Warning: Section [LISTEN_ON], Interface 192.168.4.1 not available, ignored
    [28-Oct-16 14:25:04] Warning: Section [LISTEN_ON], Interface 192.168.5.1 not available, ignored
    [28-Oct-16 14:25:04] Warning: Section [LISTEN_ON], Interface 192.168.6.1 not available, ignored
    [28-Oct-16 14:25:04] Lease Status URL: http://127.0.0.1:6789
    [28-Oct-16 14:25:04] Listening On: 192.168.2.1
    [28-Oct-16 14:25:26] Retrying failed Listening Interfaces..
    [28-Oct-16 14:25:26] Warning: Section [LISTEN_ON], Interface 192.168.4.1 not available, ignored
    [28-Oct-16 14:25:26] Warning: Section [LISTEN_ON], Interface 192.168.5.1 not available, ignored
    [28-Oct-16 14:25:26] Warning: Section [LISTEN_ON], Interface 192.168.6.1 not available, ignored
    [28-Oct-16 14:25:26] Lease Status URL: http://127.0.0.1:6789
    [28-Oct-16 14:25:26] Listening On: 192.168.2.1

    TFTP log:

    [28-Oct-16 14:25:04] Open TFTP Server MultiThreaded Version 1.64 Windows Built 2001 Starting..
    [28-Oct-16 14:25:04] starting TFTP service
    [28-Oct-16 14:25:04] alias / is mapped to C:\AM335x_Flashtool\images\
    [28-Oct-16 14:25:04] permitted clients: all
    [28-Oct-16 14:25:04] server port range: all
    [28-Oct-16 14:25:04] max blksize: 65464
    [28-Oct-16 14:25:04] default blksize: 512
    [28-Oct-16 14:25:04] default timeout: 3
    [28-Oct-16 14:25:04] file read allowed: Yes
    [28-Oct-16 14:25:04] file create allowed: No
    [28-Oct-16 14:25:04] file overwrite allowed: No
    [28-Oct-16 14:25:04] thread pool size: 8
    [28-Oct-16 14:25:04] 192.168.4.1 Port 69 bind failed
    [28-Oct-16 14:25:04] 192.168.5.1 Port 69 bind failed
    [28-Oct-16 14:25:04] 192.168.6.1 Port 69 bind failed
    [28-Oct-16 14:25:04] Listening On: 192.168.2.1:69
    [28-Oct-16 14:25:26] Retrying failed Listening Interfaces..
    [28-Oct-16 14:25:26] 192.168.4.1 Port 69 bind failed
    [28-Oct-16 14:25:26] 192.168.5.1 Port 69 bind failed
    [28-Oct-16 14:25:26] 192.168.6.1 Port 69 bind failed
    [28-Oct-16 14:25:26] Listening On: 192.168.2.1:69

  • it is not lining up with the ip you have shown in the screenshot, maybe your ini files are corrupted.
    check to make sure the opendhcp and opentftp processes are killed, then use the "restore default configuration" button and try again
  • I restart computer, and restore default ip is 192.168.100.1. So I setup my network have same ip.

    and log:

    [28-Oct-16 14:43:08] Open DHCP Server Version 1.59 Windows Build 1036 Starting...
    ct-16 14:43:08] DHCP Range: 192.168.102.2-192.168.102.254/255.255.255.0
    [28-Oct-16 14:43:08] Server Name: pc
    [28-Oct-16 14:43:08] Detecting Static Interfaces..
    [28-Oct-16 14:43:08] Warning: Section [LISTEN_ON], Interface 192.168.101.1 not available, ignored
    [28-Oct-16 14:43:08] Warning: Section [LISTEN_ON], Interface 192.168.102.1 not available, ignored
    [28-Oct-16 14:43:08] Warning: Section [LISTEN_ON], Interface 192.168.103.1 not available, ignored
    [28-Oct-16 14:43:08] Lease Status URL: http://127.0.0.1:6789
    [28-Oct-16 14:43:08] Listening On: 192.168.100.1
    [28-Oct-16 14:43:23] DHCPREQUEST for 00:26:6c:b6:2a:53 (HuyNguyen-PC) from interface 192.168.100.1 received
    [28-Oct-16 14:43:23] DHCPREQUEST from Host 00:26:6c:b6:2a:53 (HuyNguyen-PC) without Discover, NAKed
    [28-Oct-16 14:43:23] DHCPDISCOVER for 00:26:6c:b6:2a:53 (HuyNguyen-PC) from interface 192.168.100.1 received
    [28-Oct-16 14:43:23] Host 00:26:6c:b6:2a:53 (HuyNguyen-PC) offered 192.168.100.2
    [28-Oct-16 14:43:23] DHCPREQUEST for 00:26:6c:b6:2a:53 (HuyNguyen-PC) from interface 192.168.100.1 received
    [28-Oct-16 14:43:23] Host 00:26:6c:b6:2a:53 (HuyNguyen-PC) allotted 192.168.100.2 for 600 seconds
    [28-Oct-16 14:43:29] Retrying failed Listening Interfaces..
    [28-Oct-16 14:43:29] Warning: Section [LISTEN_ON], Interface 192.168.101.1 not available, ignored
    [28-Oct-16 14:43:29] Warning: Section [LISTEN_ON], Interface 192.168.102.1 not available, ignored
    [28-Oct-16 14:43:29] Warning: Section [LISTEN_ON], Interface 192.168.103.1 not available, ignored
    [28-Oct-16 14:43:29] Lease Status URL: http://127.0.0.1:6789
    [28-Oct-16 14:43:29] Listening On: 192.168.100.1
    
    [28-Oct-16 14:43:09] Open TFTP Server MultiThreaded Version 1.64 Windows Built 2001 Starting..
    [28-Oct-16 14:43:09] starting TFTP service
    [28-Oct-16 14:43:09] alias / is mapped to C:\AM335x_Flashtool\images\
    [28-Oct-16 14:43:09] permitted clients: all
    [28-Oct-16 14:43:09] server port range: all
    [28-Oct-16 14:43:09] max blksize: 65464
    [28-Oct-16 14:43:09] default blksize: 512
    [28-Oct-16 14:43:09] default timeout: 3
    [28-Oct-16 14:43:09] file read allowed: Yes
    [28-Oct-16 14:43:09] file create allowed: No
    [28-Oct-16 14:43:09] file overwrite allowed: No
    [28-Oct-16 14:43:09] thread pool size: 8
    [28-Oct-16 14:43:09] 192.168.101.1 Port 69 bind failed
    [28-Oct-16 14:43:09] 192.168.102.1 Port 69 bind failed
    [28-Oct-16 14:43:09] 192.168.103.1 Port 69 bind failed
    [28-Oct-16 14:43:09] Listening On: 192.168.100.1:69
    [28-Oct-16 14:43:29] Retrying failed Listening Interfaces..
    [28-Oct-16 14:43:29] 192.168.101.1 Port 69 bind failed
    [28-Oct-16 14:43:29] 192.168.102.1 Port 69 bind failed
    [28-Oct-16 14:43:29] 192.168.103.1 Port 69 bind failed
    [28-Oct-16 14:43:29] Listening On: 192.168.100.1:69
    [28-Oct-16 14:44:09] Retrying failed Listening Interfaces..
    [28-Oct-16 14:44:09] 192.168.101.1 Port 69 bind failed
    [28-Oct-16 14:44:09] 192.168.102.1 Port 69 bind failed
    [28-Oct-16 14:44:09] 192.168.103.1 Port 69 bind failed
    [28-Oct-16 14:44:09] Listening On: 192.168.100.1:69
    

  • There should be a BOOTP request as the first request to the dhcp server, did you see that in the log?

  • I don't know why my board don't have BOOTP request. Do we need do something for this?

  • Could you ask in the Sitara forum and provide your board/chip info and pin jumper info? I am not a hardware expert here, but the BOOTP request should be the first thing comes in for things to continue correctly.