- Tue Mar 15, 2022 4:58 pm
#93956
Thank you I am in progress. I have succeeded to load a wifi server. Now my ESP01 is connected to my box at 192.168.1.100.
Now I would like upload my application to drive my OLED screen witch SDD1306. The code is ready for this chip.
I use for this, Visual studio and plateformIO, and I compile with ESP_1m-ota to compile and upload.
Compilation is OK, but I have error message.
Code: Select all.Uploading .pio/build/esp01_1m_ota/firmware.bin
22:55:06 [DEBUG]: Options: {'esp_ip': '192.168.1.100', 'host_ip': '0.0.0.0', 'esp_port': 8080, 'host_port': 16170, 'auth': 'franck', 'image': '.pio/build/esp01_1m_ota/firmware.bin', 'spiffs': False, 'debug': True, 'progress': True}
22:55:06 [INFO]: Starting on 0.0.0.0:16170
22:55:06 [INFO]: Upload size: 425824
22:55:06 [INFO]: Sending invitation to: 192.168.1.100
22:55:16 [ERROR]: No Answer
*** [upload] Error 1
========================= [FAILED] Took 19.37 seconds =========================
Environment Status Duration
------------- -------- ------------
esp01_1m_ota FAILED 00:00:19.375
==================== 1 failed, 0 succeeded in 00:00:19.375 ====================
The terminal process "platformio 'run', '--target', 'upload', '--environment', 'esp01_1m_ota'" terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.
I am not sure param in plattformio.ini:
Code: Select all.[env:esp01_1m_ota]
upload_port = 192.168.1.100
upload_speed = 921600
upload_protocol = espota
upload_flags =
--port=8080
--auth=franck
Do you have an ideas ??? thank you very much