JAndrassy / arduino-firmware-wifilink

Arduino WiFi Link firmware for ESP8266 based boards
MIT License
28 stars 12 forks source link

ESP-03 #6

Closed jfmateos closed 5 years ago

jfmateos commented 5 years ago

Dear Jandrassy,

Could I use this project with an ESP-03? It only has 512Kbytes, so the max SPIFF size is 128Kbytes, but I read that the ESP8266 filesystem uploader needs at least 512kB.

Thanks and kind regards from madrid

JAndrassy commented 5 years ago

try to use it without SPIFFS. Set SSID and password in sketch with WiFiLink library. Most of the examples of the WiFiLink library are without WiFi.begin(), but you can add it like in the ConnectWithWPA.ino example.

jfmateos commented 5 years ago

Thanks, You put me on the way. I have managed to get port 192.168.1.140 in the Arduino IDE. I have cofigured the board as "Arduino Uno WiFi" (in fact it is a bare atmega328p with minicore bootloader). I have connected: RX from ESP-03 to TX on Atmeta328p TX from ESP-03 to RX on Atmeta328p GPIO0 from ESP-03 to Reset on Atmega 328p

But I get the following error: https://i.paste.pics/6096385882ec9b4a1a4380bd86fac892.png

jfmateos commented 5 years ago

The minicore in the Atmega328p is configured with an external 8MHz clock

JAndrassy commented 5 years ago

you have Optiboot with custom frequency and baud rate in the ATmega? try to set DEFAULT_BAUD in esp8266-serial.c in dfu library

jfmateos commented 5 years ago

Nice it worked. Thank you very much Jandrassy.

https://i.paste.pics/fbf514580dbf7b6924a88a1cbf3e9ff6.png

The baud rate for minicore 328p 8MHz was 38400.

Nevertheless, I have found esp-03 boards with 1MB... so I will try again with SPIFFS.

JAndrassy commented 5 years ago

btw my name is Juraj.