Most recent activity
-
- 19 comments
- 6,046 views
-
- 4 comments
- 3,514 views
-
-
-
Hi all,
I am trying to save a simple code but it does not save.
I used this command on Windows terminal to flash the ESP32 wemos oled (attached pic) board:esptool.py --chip esp32 --port COM3 --baud 921600 write_flash --flash_size=detect 0x1000 bootloader.bin 0x10000 espruino_esp32.bin 0x8000 partitions_espruino.bin esptool.py v2.3.1 Connecting........_ Chip is ESP32D0WDQ6 (revision 1) Features: WiFi, BT, Dual Core Uploading stub... Running stub... Stub running... Changing baud rate to 921600 Changed. Configuring flash size... Auto-detected Flash size: 4MB Compressed 12272 bytes to 7603... Wrote 12272 bytes (7603 compressed) at 0x00001000 in 0.1 seconds (effective 1008.3 kbit/s)... Hash of data verified. Compressed 929184 bytes to 520002... Wrote 929184 bytes (520002 compressed) at 0x00010000 in 8.5 seconds (effective 871.0 kbit/s)... Hash of data verified. Compressed 3072 bytes to 136... Wrote 3072 bytes (136 compressed) at 0x00008000 in 0.0 seconds (effective 2063.6 kbit/s)... Hash of data verified. Leaving... Hard resetting via RTS pin...
The I used Eepruino web IDE on Windows changed the baud to setting to highest (115200)
When I connect to ESP32 I get this error message. However it seems to work fine.
rst:0x1 (POWERON_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT) flash read err, 1000 ets_main.c 371 ets Jun 8 2016 00:22:57 rst:0x10 (RTCWDT_RTC_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0x00 clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0008,len:8 load:0x3fff0010,len:1932 ho 0 tail 12 room 4 load:0x40078000,len:10012 load:0x40080000,len:252 entry 0x40080034 ERROR: jswrap_wifi_restore: esp_wifi_connect: 10 Loading 2736 bytes from flash... >
when I uploade the code I get this warning:
____ _ | __|___ ___ ___ _ _|_|___ ___ | __|_ -| . | _| | | | | . | |____|___| _|_| |___|_|_|_|___| |_| espruino.com 1v96 (c) 2017 G.Williams Espruino is Open Source. Our work is supported only by sales of official boards and donations: http://espruino.com/Donate >WARNING: jshI2CSetup: driver installed, sda: 5 sdl: 4 freq: 50000, =undefined >
this is test code:
function start(){ g.clear(); g.drawString("test",0,0); g.flip(); } // I2C I2C1.setup({scl:D4,sda:D5}); var g = require("SSD1306").connect(I2C1, start);
When I save() it does not save
>save() =undefined Compacting Flash... Calculating Size... Writing.. Compressed 80000 bytes to 6860 WARNING: jshI2CSetup: driver installed, sda: 5 sdl: 4 freq: 50000, >
I disconnect and then reconnect ESP32 board but nothing shows up on oLED.
Any insight?Thanks very much.
-
-
- 3 comments
- 1,917 views
Hi all,
Is there any example in Espruino that shows a file upload to a webserver? Basically I am trying to speed test my access point/router by uploading a file and measure how long it took to upload a file and then how long it took it to download a same file. Any leads to an example project will be much appreciated.
Thanks