Hi everyone !
I am asking for you help because I'm totally desperate, here is my problem :
I have an, almost, brand new Edison and I attempted to update its Yocto image (I have an Arduino breakout board). I had several problems (the device won't show up in the phone flash tool, so I had to update it with the flashall.sh . Everything worked).
But when I want to set up the serial terminal (https://software.intel.com/en-us/setting-up-serial-terminal-on-system-with-mac-os-x IoT - Setting up a serial terminal on a system with Mac* OS X* | Intel® Developer Zone) nothing works.
90% of the time, when I execute the screen command, I have a blank, non responding prompt. Sometime, I have weird characters but I can't do anything.
I carefully close all previous screen sessions. I don't get any error messages. It's just that the Edison doesn't seem to answer or the communication is bad.
I tried to flash it twice. I checked on another computer, I changed the cables twice. I don't know what to do.
And without this access, I can't set up the WiFi and the SSH stuff...
Any help would be appreciated.
Thanks a lot
More info : I can still upload sketches from Arduino IDE, I see the Edison drive on my computer.
I'm glad to know that the flashall.sh script worked for you. Regarding the problem you have while using screen, I would like to know more information:
1. Could you post a screenshot of what you get after running ls /dev on your PC (where we could see the tty. and cu. devices that are used for serial communication)?
2. Which is the complete command you are using to access screen? Are you using sudo?
3. Which OS are you using?
4. Have you tried to install the latest FTDI drivers, some PCs have already FTDI drivers but sometimes they need an update, take a look in here http://www.ftdichip.com/Drivers/VCP.htm Virtual COM Port Drivers and download the required driver for your OS.
Also, check with ps that there isn't another process related to the port or screen, if there is one, kill it before running screen again.
Thank your for your help.
So, here are the requested informations :
1) I ran two commands because otherwise, there were too many things
2) I used :
screen -L /dev/cu.usbserial-A502ORUU 115200
I also tried to use the https://www.npmjs.com/package/bloop bloop package so I tried "bloop c"
I didn't try sudo before. But I just did it and I got the same results.
(I also tried to use screen with the /dev/tty.*** but it didn't work)
3) I'm running Mac OS X 10.11.3
4) I just installed it so I will restart my computer and give it a try (i just tried without restarting the computer but it changed nothing)
5) I did killed the process through bloop screen and sometimes with the monitor to make sure no other screen processes are running.
This is what I get with ps, but I guess it is normal
I just wanted to say that I've been able to connect to the edison using SSH (from bloop ssh function). I can log into the Edison exactly like I was using the screen fonction.
However, I'm not able to set up the wifi on the Edison I get a "Failed to connect to non-global ctrl_ifname: (null) error: No such file or directory" error during the scan.
Is this due to the ssh login ? I ssh into the Edison just after flashing it.
Now that I have an access to the board, maybe I can "make it work again" from inside ?
How are you getting the IP address of the board? Were you able to have access to the Terminal Console of the board?
Could you post a screenshot of the error you are getting? And also, which image are you using? For this you can run the command configure_edison --version
In order to use screen, you need to use the command sudo screen /dev/tty.usbserial-A5020RUU 115200. If you get problems with this again, check the processes with ps, unplug and plug the USB cables and/or try with different USB cables.
I'm connecting to the board using the bloop package (bloop ssh).
When I do a sudo screen /dev/tty..... nothing happens, I get a blank terminal.
The only way I found to connect to the board is using the bloop ssh. I'm able to do a few things but I still have issues.
Here is what I get :
The terminal behind is the not responding serial connection.
Here is the WiFi error (after typing "configure_edison --w" from SSH):
I have a friend who has an Edison, I will try to use his arduino board the see what I can do with it.
I tried every single usb cables I could find but I still get the error (including the ones from the Grove Starter Kit).
I think the problem could be the board is already running SSH services without been connected to a Wireless Network.
Is there a way you could test your board with another PC?
You can also try with another Terminal Emulator, like iTerm2 or another one to connect the board through the /dev/tty.*
Using bloop ssh you can try by modifying the /etc/wpa_supplicant/wpa_supplicant.conf file. Take a look at http://rwx.io/blog/2015/08/16/edison-wifi-config/ Edison Wi-Fi Configuration - for a good example. My wpa_supplicant.conf looks like this:
config_methods=virtual_push_button virtual_display push_button keypad
group=CCMP TKIP WEP104 WEP40
eap=TTLS PEAP TLS
Also, try running the commands:
systemctl stop connman
systemctl disable connman
Thank you for your help, again !
I wanted to try this but now, I have a new issue ! I can't even see the Edison as a drive ! I didn't change anything from the last time !
One more thing, my friend gave me a console block from Sparkfun, it doens't work too. When I plug his Edison on my arduino board, everything works perfectly !
So, I guess the problem comes from my Edison and not my Arduino board.....
But now, I'm very disappointed because I lost the last thing I had, the USB Drive......
I think my Edison is bricked or in an infinite loop, I don't know.... (when I plug it to my computer, the only LED which turns up is the DS2 one....)
Ok, I may have found the problem, I used the mraa library from python and I just saw this :
- Requesting GPIO 4 will break your FTDI UART console, so bear in mind when trying to use it
I might have used the pin 4 when I did try the mraa library (thinking it was linked to the Arduino pin 4.....)