Did I brick my board? Need help re-flashing

Hi all,

I'm definitely a newbie to the Arduino world. I've bought a board from Amazon, and it's an Arduino.org board. I did not know about the .cc vs .org issue until I run into issues when attempting to upgrade the open-wrt. I basically went to the web interface, hit the reset button in the web interface, and lost all connections to the board.

  • cannot upload YunSerialTerminal from my Win 10 ASUS laptop

Couldn't find a Board on the selected port. Check that you have the correct port selected. If it is correct, try pressing the board's reset button after initiating the upload.

  • In the Arduino 1.6.10 IDE, Port menu is grayed out.
  • Cannot ssh -> connected Ethernet cable but my ipconfig shows Ethernet not connected (and using putty to ssh to linino.local has no response)

I am trying to follow the instruction to reflash

but I'm stuck in the beginning trying to upload YunSerialTerminal. Are there any ways I can do to talk to the board? Lastly, when all instructions ask for "connect Yun with USB", it is ok to connect a micro usb at the Yun end and regular usb in the laptop end yes? I use the USB cable from my Samsung Galaxy charger and I'm sure it's not a charge-only cable.

Thanks for any help!

When looking for the WiFi network, or trying to connect with WiFi or Ethernet, be sure to give enough time for the system to fully boot up. It can take more than a minute before the Yun's networking is active, and it can take a lot longer for the system upgrade to finish.

cauyeung:

  • In the Arduino 1.6.10 IDE, Port menu is grayed out.

That is curious...

Do you mean the Port menu itself is grayed out? Or do you mean that when you open the Port menu, there are no valid options to select. If the latter, that could just mean you have no visible serial ports on your computer, and no Yuns are visible over the network.

  • Cannot ssh -> connected Ethernet cable but my ipconfig shows Ethernet not connected (and using putty to ssh to linino.local has no response)

Is that ipconfig on your computer showing no connection? How do you have the Ethernet cable connected? Direct from the computer to the Yun? If so, some additional steps may be necessary, as you may have to assign static addresses or do a more advanced configuration. The easiest way to hook up the Ethernet is to your existing network (plugging it into your router, or to a switch/hub connected to the router.) That way, the router can assign addresses to your computer and the Yun.

You say linino.local - I think only very old Arduino.cc boards used the node name linino. More recent boards produced in the last couple years use a default node name of arduino.local (at least for the arduino.cc boards, arduino.org boards may use something else.)

Are there any ways I can do to talk to the board?

If the Linux system is not booting properly, and you cannot make a network connection, your only hope is to use a direct USB connection.

Lastly, when all instructions ask for "connect Yun with USB", it is ok to connect a micro usb at the Yun end and regular usb in the laptop end yes?

Yes, that's exactly what it means. When you do that, the Yun should show up as a new serial port on your computer. That is the port you will want to select in the Arduino IDE.

I use the USB cable from my Samsung Galaxy charger and I'm sure it's not a charge-only cable.

When you use that cable to connect your phone to your computer, does the computer recognize the phone? If so, that cable will probably work with the Yun. If not, you will probably have to get another cable.

Thank you for your quick reply. My debugging directions are clear: USB or Ethernet :slight_smile:

ShapeShifter:
When looking for the WiFi network, or trying to connect with WiFi or Ethernet, be sure to give enough time for the system to fully boot up. It can take more than a minute before the Yun's networking is active, and it can take a lot longer for the system upgrade to finish.

Thanks for the reminder. I must have left it alone for 15 minutes or even an hour during time of frustration before retry attempts.

ShapeShifter:
Do you mean the Port menu itself is grayed out? Or do you mean that when you open the Port menu, there are no valid options to select. If the latter, that could just mean you have no visible serial ports on your computer, and no Yuns are visible over the network.

I've attached a screen shot of the IDE grayed port menu. The Port menu itself is grayed and cannot be "opened". I'm under the impression that the Port menu doesn't get active until it detects a valid serial (USB) connection. And so I deduced USB connection is bad.

ShapeShifter:
Is that ipconfig on your computer showing no connection? How do you have the Ethernet cable connected? Direct from the computer to the Yun? If so, some additional steps may be necessary, as you may have to assign static addresses or do a more advanced configuration. The easiest way to hook up the Ethernet is to your existing network (plugging it into your router, or to a switch/hub connected to the router.) That way, the router can assign addresses to your computer and the Yun.

I'm directly connecting Ethernet from my laptop to Yun without setting static address. Connecting to router is definitely something I should try when I get home tonight. Thanks!

ShapeShifter:
You say linino.local - I think only very old Arduino.cc boards used the node name linino. More recent boards produced in the last couple years use a default node name of arduino.local (at least for the arduino.cc boards, arduino.org boards may use something else.)

I actually tried any name I could under the sun. I think the most official ip is 192.168.240.1. Since I'm not connecting the Ethernet through router, that could be a reason for error

ShapeShifter:
When you use that cable to connect your phone to your computer, does the computer recognize the phone? If so, that cable will probably work with the Yun. If not, you will probably have to get another cable.

Yeah, computer recognizes phone and can transfer data. So cable should be good.

When debugging USB connection, I've read in various places to look under Device Manager under "Unknown Device" or "Serial Port". Neither option is available in my device manager. I know that latest IDE for Windows installs the USB driver, but can I find the usb installer separately just to make sure it is installed?

Thanks again for the help!