JAndrassy / ArduinoOTA

Arduino library to upload sketch over network to Arduino board with WiFi or Ethernet libraries
GNU Lesser General Public License v2.1
437 stars 89 forks source link

Error while OTA uploading #143

Closed pscott-ams closed 2 years ago

pscott-ams commented 2 years ago

I'm trying the OTEthernet example in Arduino IDE. I'm using a WeMos D1 Mini32 wired to a W5500 via SPI.

The example is able to upload normally, but when I try to upload using programmer, I get this message:

Sketch uses 262833 bytes (20%) of program storage space. Maximum is 1310720 bytes.
Global variables use 17000 bytes (5%) of dynamic memory, leaving 310680 bytes for local variables. Maximum is 327680 bytes.
Error while uploading: missing 'program.params.quiet' configuration parameter

I used the "fake programmer" method described in the README.

JAndrassy commented 2 years ago

the 'fake programmer' doesn't use program.params.quiet

pscott-ams commented 2 years ago

Yes, and I'm not sure why the program is looking for program.params.quiet

This is what my programmers.txt looks like:

arduinoOTA104.name=Arduino OTA (192.168.167.101)
arduinoOTA104.program.tool=arduinoOTA
arduinoOTA104.ip=192.168.167.101

And this is the folder where the platform.txt and programmers.txt are:

image

Does it look like I did something wrong when adding the platform.local.txt? Is my programmers.txt file wrong?

pscott-ams commented 2 years ago

I got maxgerhardt's example to work on PlatformIO