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.

BEAGLEBK: Difficulties using Uniflash

Part Number: BEAGLEBK

I am having issues similar to the below referenced thread...I cannot get uniflash to issue a DHCP address to the beaglebone black (BBB).  The following thread does solve the issue I am having but it does not say how (please see posts between Nov 19, 2015 6:37 PM and Nov 20, 2015 5:50 PM).

https://e2e.ti.com/support/arm/sitara_arm/f/791/p/470393/1689556

I can do an ICMP ping over RNDIS from the BBB to the Windows PC and I can ping the BBB from the Windows PC over RNDIS, but Uniflash is not able to connect to the BBB.  Please tell me what I may be missing.

thanks 

Chad Wolter

  • The software team have been notified. They will respond here.
  • Chad,

    Can you describe a bit more what you are trying to do? Do you just want to use Uniflash as a DHCP server? Or, do you want it to serve as a boot server? It was really designed for the latter, but I suppose it would also do the former.

    What are you running on the BBB when you do the ping? U-Boot? Linux? What happens in that environment when you try to get a DHCP address? What commands are you using to do that? Any errors?

    Have you looked at the opendhcp and opentftp logs inside your Unflash installation? These are the logs for the actual servers that Uniflash is invoking. They often provide very valuable clues. Wireshark is also invaluable to figure out where the problem occurs (on the BBB or the PC).

    If you can post the logs and/or a wireshark trace, I can certainly help you figure out what is going on.
  • Hi Ron -

    No, I am not trying to use it as a DHCP server, I am trying to use it as a boot server to flash the BBB.  As far as what is running on the BBB when I do the ping, I have not changed the code at all from when I got it, so it is the "stock" code that ships on the BBB (I log into the BBB using the username "root" with no password) and then execute ping <ip address> from the command prompt. 

    I have not checked the logs, as I did not know they existed.  I will take a look to see if I can get any information from them.  I have not had a chance to view the attempts in Wireshark yet, I will give that a try as well.

    thanks Ron.

    Chad

    Edited to add.  I have stopped the boot process on the BBB (by pressing the space bar during Linux boot when connected via a puTTY session to UART0 on the BBB).  From here (uboot), I have issued a dchp command at the command prompt, and I see the following:


    Net:   <ethaddr> not set. Validating first E-fuse MAC
    cpsw, usb_ether
    Press SPACE to abort autoboot in 2 seconds
    => dhcp
    cpsw Waiting for PHY auto negotiation to complete......... TIMEOUT !
    BOOTP broadcast 1
    BOOTP broadcast 2
    BOOTP broadcast 3
    BOOTP broadcast 4
    BOOTP broadcast 5
    BOOTP broadcast 6

  • Apparently the BBB is not booting in the correct mode. If you hold down S2 while booting (a few seconds), it will try to boot off the USB port, rather than the eMMC. I got Uniflash to start programming by booting this way, after starting the flashing session.

    It's still not programming for me, but at least it's communicating now.