Chat here about code rewrites, mods, etc... with respect to the github project https://github.com/esp8266/Arduino

Moderator: igrr

User avatar
By russmathis
#16713 The setup() does have Serial.begin(9600).
The RFID tag is the RDM6300.

I've had some success.
Seems the repo I was using may have been old.
After updating to: https://github.com/rogerclarkmelbourne/arduino-esp8266/
the code builds and runs however, I cannot get VisualMicro to upload.
Using:
Visual Studio 2013 Professional
VisualMicro Latest beta for Arduino 1.6.3
And the above mentioned repo placed in the sketch folder/hardware directory
Compiles/builds with no errors
but the following output is generated when trying to upload:

Uploader will use programmer name: esptool
Error - Uploader was unable to find the required programmer: esptool on platform esp8266
Upload failed. Did you select the correct upload method for this board?
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(String buildPath, String className, Boolean verbose, Boolean ProgrammerUploadUsing, String mcuProgrammerOverrideName)
at processing.app.SketchEditor.Upload(Boolean verbose)


Anybody have and Idea about why MicroVisual can't find the esptool?
Thanks team for the help.
User avatar
By nigelbe
#17725
russmathis wrote:The setup() does have Serial.begin(9600).
The RFID tag is the RDM6300.

I've had some success.
Seems the repo I was using may have been old.
After updating to: https://github.com/rogerclarkmelbourne/arduino-esp8266/
the code builds and runs however, I cannot get VisualMicro to upload.
Using:
Visual Studio 2013 Professional
VisualMicro Latest beta for Arduino 1.6.3
And the above mentioned repo placed in the sketch folder/hardware directory
Compiles/builds with no errors
but the following output is generated when trying to upload:

Uploader will use programmer name: esptool
Error - Uploader was unable to find the required programmer: esptool on platform esp8266
Upload failed. Did you select the correct upload method for this board?
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(String buildPath, String className, Boolean verbose, Boolean ProgrammerUploadUsing, String mcuProgrammerOverrideName)
at processing.app.SketchEditor.Upload(Boolean verbose)


Anybody have and Idea about why MicroVisual can't find the esptool?
Thanks team for the help.


I think I've found the problem at least with the Generic ESP8266 uploader and Visual Micro

The first thing I did was to make sure the file programmers.txt (C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\programmers.txt) contains

Code: Select allesptool.name=esptool
esptool.communication=serial
esptool.protocol=esp
esptool.program.protocol=esp
esptool.program.tool=esptool
esptool.program.extra_params=

Which I got from an earlier release

next platform.txt in the same directory needs an extra line at the end:

Code: Select all#fixes for visual micro
tools.esptool.program.pattern="{path}/{cmd}" -cd {upload.resetmethod} -cb {upload.speed} -cp "{serial.port}" -ca 0x00000 -cf "{build.path}/{build.project_name}_00000.bin" -ca 0x10000 -cf "{build.path}/{build.project_name}_10000.bin"


Don't forget in AtmelStudio to press Tools->Visual Micro->Reload Toolchains

Best of luck

Nigel.