Upload tool flags discordant with board upload settings for ESP8266 #460
Labels
domain: configuration
Configuring Sloeber does not work as docummented
importance: board specific
OS: all
status: duplicate
This error was encountered with:
Windows 10, 64-bit
Eclipse Mars 2 (4.5.2RC3)
Arduino Eclipse Extensions v.3.0.0.201603312133
When attempting to upload a sketch to a Sparkfun Thing Dev using the following settings in the board manager:
Board: Generic ESP8266 Moduel
Flash mode: DIO
Flash freq: 80 MHz
CPU freq: 80 MHz
Flash size: 512K (64K SPIFFS)
Debug port: Diabled
Debug level: None
Reset method: nodemcu
Upload speed: 921600
The Eclipse console output for an attempted upload contains the following call to the upload tool:
C:\Program Files\eclipse mars 2rc3\arduinoPlugin\tools\esp8266\esptool\0.4.8/esptool.exe -cd ck -cb 921600 -cp COM3 -ca 0x00000 -cf E:\Dropbox\My Programs\Git Repositories\TRM_Eclipse\TRM_ESP8266_Basic/ESP_8266/TRM_ESP8266_Basic.bin
However, the -cd ck flag does not reflect my selection of the nodemcu reset method. Indeed, when I change the flag and run the following on the command line, the upload succeeds:
"C:\Program Files\eclipse mars 2rc3\arduinoPlugin\tools\esp8266\esptool\0.4.8/esptool.exe" -cd nodemcu -cb 921600 -cp COM3 -ca 0x00000 -cf "E:\Dropbox\My Programs\Git Repositories\TRM_Eclipse\TRM_ESP8266_Basic/ESP_8266/TRM_ESP8266_Basic.bin"
Other pertinent details:
-The Arduino IDE upload to the board also succeeds with the settings listed above, and correctly places the -cd nodemcu flag.
-I'm using the boards.txt file the plugin acquired from http://arduino.esp8266.com/stable/package_esp8266com_index.json and stored in my eclipse directory at \arduinoPlugin\packages\esp8266\hardware\esp8266\2.2.0\boards.txt. This version of the file is identical to the one the Arduino IDE acquired.
-I did change the plugin settings to build with the MinGW version of make as the bundled version was giving me compile errors. The plugin does compile the sketch successfully, and the program worked when I directly uploaded the resulting bin file.
The text was updated successfully, but these errors were encountered: