Hey all,
I just soldered together my HUZZAH, and I can get a welcome message from CoolTerm on OSX 10.9 (see pic), however, no console/terminal.
A little bit of reading indicated that Terminal app and SSH is the way to go to access the HUZZAH's Lua Interpreter.
I'm kind of going in circles trying to figure out how to SSH in to USB port baudrate 9600, and was wondering if anyone would care to send a constructive nudge my way please!
My goal is to access the Lua Interpreter, and begin writing a "Hello World!" program for the HUZZAH; and I am indifferent whether that is through Terminal, CoolTerm, or other. Any help is appreciated.
HUZZAH SSH OSX
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: HUZZAH SSH OSX
You don't SSH in. You just open a Serial connection: https://learn.adafruit.com/adafruit-huz ... al-console
- aug2uag
- Posts: 10
- Joined: Thu Jul 30, 2015 8:01 pm
Re: HUZZAH SSH OSX
Mike thanks for the response. I noticed I can type commands with the Terminal options "Local Echo" checked in CoolTerm. When I did type "lua" I was expecting it to launch the interpreter, and instead there was no response (see image). I tried this with various settings in the Terminal options all resulting in the same.
When I press the reset button, I do get a message on CoolTerm, however, I am unable to send messages. There was never a message similar to "NodeMCU x.x.x build BANNED powered by Lua x.x.x". Furthermore, according to the instructions, the red light on my HUZZAH should go off, however, it stays on. When I press the reset button the red light turns off, and a blue light on the ESP8266 blinks once for approximately 50 ms & the red light goes back on. I'm using a console cable, and the black, red, green, and white cables are plugged in to the appropriate spots.
Could it be my board is fried? I did not think so because the board is responsive to the reset, and does print to CoolTerm on reset. I was hoping the issue is my utilization of CoolTerm, and not the board.
When I press the reset button, I do get a message on CoolTerm, however, I am unable to send messages. There was never a message similar to "NodeMCU x.x.x build BANNED powered by Lua x.x.x". Furthermore, according to the instructions, the red light on my HUZZAH should go off, however, it stays on. When I press the reset button the red light turns off, and a blue light on the ESP8266 blinks once for approximately 50 ms & the red light goes back on. I'm using a console cable, and the black, red, green, and white cables are plugged in to the appropriate spots.
Could it be my board is fried? I did not think so because the board is responsive to the reset, and does print to CoolTerm on reset. I was hoping the issue is my utilization of CoolTerm, and not the board.
- aug2uag
- Posts: 10
- Joined: Thu Jul 30, 2015 8:01 pm
Re: HUZZAH SSH OSX
As an update:
I configured the Arduino IDE via instructions, and ultimately did get a warning and an exception following upload of a sample blink program:
I checked out a couple threads on Github relating to this issue -- it seems to occur more frequently with OSX. There was a solution to add "esptools" to the Arduino IDE, however, the directory structure did not match mine (i.e. following installation of third party board packages for the Arduino IDE); and there was a more recent thread that indicated the use or indication of esptools is outdated.
I still cannot communicate with the microcontroller. A dim red light remains on, pressing GPIO0 causes the red light to be bright, and pressing reset causes the dim red light to go off; and when letting go of the reset button there's a quick blue LED on the opposite side of the unit that briefly flashed on once before the red dim light turned on again. Any help to work with the board using OSX is much appreciated.
I configured the Arduino IDE via instructions, and ultimately did get a warning and an exception following upload of a sample blink program:
Code: Select all
warning: espcomm_sync failed
error: espcomm_open failed
I still cannot communicate with the microcontroller. A dim red light remains on, pressing GPIO0 causes the red light to be bright, and pressing reset causes the dim red light to go off; and when letting go of the reset button there's a quick blue LED on the opposite side of the unit that briefly flashed on once before the red dim light turned on again. Any help to work with the board using OSX is much appreciated.
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: HUZZAH SSH OSX
Post a photo showing your hardware and connections and we'll take a look at those. 800x600 images usually work best.
- aug2uag
- Posts: 10
- Joined: Thu Jul 30, 2015 8:01 pm
Re: HUZZAH SSH OSX
Thank you for your response, attached are images. Apologies to the board for the Frankenstein-ish soldering. Please let me know if other images may help.
- aug2uag
- Posts: 10
- Joined: Thu Jul 30, 2015 8:01 pm
Re: HUZZAH SSH OSX
Also backside image, just in case it helps.
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: HUZZAH SSH OSX
It looks like you have some pins shorted together. You need to clean those up.
Take a look at our tutorial on soldering for information on the kind of joints you want: https://learn.adafruit.com/adafruit-gui ... -soldering
Take a look at our tutorial on soldering for information on the kind of joints you want: https://learn.adafruit.com/adafruit-gui ... -soldering
- aug2uag
- Posts: 10
- Joined: Thu Jul 30, 2015 8:01 pm
Re: HUZZAH SSH OSX
Amazing! Thank you so very much! Works like a charm, and amazing how hearty the boards are. Much more forgiving than what appears at first sight.
I can get the sample to work on CoolTerm and the blink code works! Following your amazing instructions to upload in bootload mode gets the script to run in Arduino IDE, and I'm now wrapping my head around all this amazingness all thanks to you.
I can get the sample to work on CoolTerm and the blink code works! Following your amazing instructions to upload in bootload mode gets the script to run in Arduino IDE, and I'm now wrapping my head around all this amazingness all thanks to you.
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: HUZZAH SSH OSX
Glad to hear it's working for you. Happy hacking!
- aug2uag
- Posts: 10
- Joined: Thu Jul 30, 2015 8:01 pm
Please be positive and constructive with your questions and comments.