[RESOLVED] Arduino Dock: Connection Issue
-
Hey
I successfully installed the bootloader on my Arduino Dock as well as installing the latest Arduino IDE and the Onion library and changing the boards.txt following this guide: https://wiki.onion.io/Tutorials/Arduino-Dock/Initial-Setup
The small LED on the Arduino Dock now flickers as proposed and the amber LED on my Omega is on. My PC with the Arduino IDE is connected to the wifi provided by the Omega.
But when I try to run a sketch on my Omega Arduino now I can't find it under Tools > Port as in the guide https://wiki.onion.io/Tutorials/Arduino-Dock/Using-the-Arduino-Dock
Does anyone have an idea how to fix this? I already tried to restart the Omega and the Arduino Dock several times.
Update: Using the Omega to flash the ATmega (method described below in the guide) works fine - but isn't really handy. So it really seems to be just a connection issue between the IDE an my Omega.
-
@Peter-Harrald
What version of the Arduino IDE are you running? It needs to be at least1.6.6
to have the wireless flashing supportJust to confirm, the Omega is on the same wifi network as your computer and you can successfully SSH into it?
-
-
Arduino IDE is Version 1.6.7
-
The Omega is actually providing the Wifi my Computer is connected to ("Omega-XXXX"). So yes, I am able to access the omega via SSH (with Putty and the local IP 192.168.3.1).
Does "both on the same wifi network" mean that my computer and the omega should be connected to the same other wifi network? Because I tried that as well, but wasn't able to find the omega (192.168.3.1 obviously isn't the right IP then).
-
-
Hi!
I had the same problem (no port available).
I noticed that on the latest firmware upgrade (0.0.7 b281) you have to manually install arduino-dock package with command
opkg install arduino-dock
then I could see the network port, but I still couldn't flash the sketch to arduino dock.
so I reflashed bootloader, but it only worked with 2nd method (with ICSP header)after that everything worked out for me.
I hope this helps.
-
[RESOLVED]
Hi all
I couldn't upload to Arduino Dock too.
I followed Arduino Dock Initial Setup : Using the Omega + Expansion Dock as a Programmer
https://wiki.onion.io/Tutorials/Arduino-Dock/Initial-Setup#arduino-dock-setup_using-the-omega-expansion-dock-as-a-programmerThen I plunged Omega on Arduino Dock, connect Omega-xxxx SSID, open Arduino IDE, then upload to the board and it failed likes below(Some texts is in Traditional Chinese):
Does anyone know how to fix it?
-
@Chengyen-Yen Is the LED on the Arduino Dock flickering rapidly when the Dock is powered on?
-
@Lazar-Demin
When I executed "sh /usr/bin/arduino-dock flash bootloader", the LED doesn't flash anymore.
-
@Chengyen-Yen What was the terminal output after you flashed the bootloader?
What happens when you hit the MCU_RESET button?
-
@Lazar-Demin
You mean follow Arduino Dock Initial Setup guide to setup again?
I tried clicked MCU_RESET button while Arduino IDE start to upload, but nothing happed.
-
@Chengyen-Yen Sorry, I wasn't clear, what happens to the Arduino Dock LED after you hit the MCU_RESET button?
-
@Lazar-Demin
I tried to flash boot-loader again Arduino Dock Initial Setup method 2(ICSP Header), it works fine.Now I upload an blink sketch to Arduino Dock, it shows an error message but upload succeeded.
Is there any problem with my environment?- ash: merge-sketch-with-bootloader.lua: not found
- ash: merge-sketch-with-bootloader.lua: not found
-
@Chengyen-Yen Glad to hear it worked out!
Theash: merge-sketch-with-bootloader.lua: not found
is just an artefact and can be ignored. The upload is successful!
And yes, flashing the bootloader with the ICSP method will ensure it gets flashed correctly.I've updated the Arduino Dock wiki article with a note on this message, and the Arduino Dock initial setup article to mention that the ICSP header method should be tried if the first method does not work.
Can you please update the topic title to have [RESOLVED] in the beginning?
-
Sorry, that I have to revive this topic. But as the thread opener I am still facing the issue described in the very beginning. I am not able to flash arduino sketches wireless with the IDE while using the Omega to flash the ATmega works.
Is there anything else I could try to get my onion visible in the "tools" > "Port" menu of the arduino IDE?
-
@Peter-Harrald Did you follow all of the steps in the Arduino Dock Initial Setup article, specifically the section on modifying the Arduino IDE boards.txt file?
-
@Lazar-Demin Yes, I did. You can see a part of my board.txt in the very first picture posted here, on the right (including the line
uno.upload.via_ssh=true
)Update:
After installing Apple's Bonjour service on my PC (like @Lazar-Demin mentioned here) my omega-arduino is listed as a network port in the Arduino IDE like it should be. I already had the idea in mind that my two issue could be related. It works fine now!
You should definitely add this information to the tutorial! Thank you
-
@Peter-Harrald said in Arduino Dock: Connection Issue:
You should definitely add this information to the tutorial! Thank you
Do it your self on Github . Create a pull request and if the admins like it they just can integrate it with a mouse click in to the tutorial.