Xerxes3rd / Wifiibo

Application and supporting library to manage amiibos using an ESP8266
67 stars 12 forks source link

Installation instructions #6

Closed Cabalist closed 4 years ago

Cabalist commented 6 years ago

Would it make sense to include the installation command in the README?

I used basically this:

esptool.py --port <serial_port> write_flash -fm dio 0x00000 <path/to/Wifiibo_1.0.ino.d1_mini.bin>

Might be common knowledge but could be a stumbling block for newbies. :)

Xerxes3rd commented 6 years ago

That would be fine. I use the Arduino IDE, and there's an additional "ESP8266 Sketch Data Upload" function that uploads all the contents of a directly into the ~3MB flash filesystem on the ESP. Is there a similar function in esptool. For all I know the "Sketch Data Upload" is a function of esptool, since that's what the Arduino IDE uses for flashing anyway.

One thing that I'm still not sure about is when to use "qio" instead of "dio" or if "dio" will work for all flash configurations, even those that are connected with quad lines.

Cabalist commented 6 years ago

dio is slower than qio but I've had better compatibility luck with it. It may not be necessary and if it fails I give qio a shot. I am not sure of the definitive answer but for the onesie twosie stuff I am ok waiting an extra half second. :)

shawnbissell commented 5 years ago

The Arduino IDE has changed. I could not find any way to upload the .bin file. I was able to use esptool on my mac with these exact commands: pip install esptool esptool.py --port /dev/cu.usbserial-141130 write_flash -fm dio 0x00000 Wifiibo_1.3.ino.d1_mini.bin

StanMOI commented 4 years ago

Complicate to install. Always some error codes : bad library or duble library ... :(

Xerxes3rd commented 4 years ago

After only 9 months, version 1.40 is out, which allows for multi-file uploads, so you can pick multiple files in the file selection dialog. The "Invalid Key File Error" is fixed as well.

Libraries required and versions used are listed in the README. If there is an issue with compilation, please create a new issue.