NodeMCU used for OTA for Arm and Arduino using USB cables?
Posted: Fri Dec 23, 2016 2:30 pm
Hello,
I have been looking around for a week. Can't really find the answer. So, here is my post asking for help.
I am trying to OTA programing ARM and Arduino boards using the USB interface of a NodeMCU.
More specifically, I am using Geekcreit™ Doit NodeMcu Lua ESP8266 ESP-12E WIFI Development Board.
http://www.banggood.com/Geekcreit-Doit- ... mds=search
The idea is the same as many are doing when they get an ESP8266 load ESP-Link and hardwire it to an Arm and Arduino board. But, since the NodeMCU already has an USB connector why not use it without any wires hanging around...
I have ESP-Link installed. But, I don't think it is using the UART connected to the USB port to pass the bin/hex files to ucontrollers . At least I can't program an Arduino Mega 2560 that I connected to the NodeMCU USB port with a USB cable and using Arduino IDE. The Arduino IDE times out. Yes, I installed virtual serial ports that point to the NodeMCU default IP 192.168.4.1 and port 23. I can get to the NodeMCU using http, I can see that ESP-Link is running.
Sounds simple huh, but at this point I could not find anyone that did OTA programming using the USB connector with a cable to a ucontroller (ARM or Arduino) vs. separate wires Rx/Tx + Reset.
My ultimate goal is to have the NodeMCU as a WiFi bridge to USB to program ARM boards (e.g., STM32 / Kinetis K64F), and Arduinos using a USB cable.
Thank you very much in advance.
-Jack
I have been looking around for a week. Can't really find the answer. So, here is my post asking for help.
I am trying to OTA programing ARM and Arduino boards using the USB interface of a NodeMCU.
More specifically, I am using Geekcreit™ Doit NodeMcu Lua ESP8266 ESP-12E WIFI Development Board.
http://www.banggood.com/Geekcreit-Doit- ... mds=search
The idea is the same as many are doing when they get an ESP8266 load ESP-Link and hardwire it to an Arm and Arduino board. But, since the NodeMCU already has an USB connector why not use it without any wires hanging around...
I have ESP-Link installed. But, I don't think it is using the UART connected to the USB port to pass the bin/hex files to ucontrollers . At least I can't program an Arduino Mega 2560 that I connected to the NodeMCU USB port with a USB cable and using Arduino IDE. The Arduino IDE times out. Yes, I installed virtual serial ports that point to the NodeMCU default IP 192.168.4.1 and port 23. I can get to the NodeMCU using http, I can see that ESP-Link is running.
Sounds simple huh, but at this point I could not find anyone that did OTA programming using the USB connector with a cable to a ucontroller (ARM or Arduino) vs. separate wires Rx/Tx + Reset.
My ultimate goal is to have the NodeMCU as a WiFi bridge to USB to program ARM boards (e.g., STM32 / Kinetis K64F), and Arduinos using a USB cable.
Thank you very much in advance.
-Jack