Hi folks, I bought a Bangle.js 2 to support the project but was finding the screen a bit too small for my ancient eyeballs, so thought I would try some ESP dev kits to see if I could find something more amenable.
However whilst the device boots up with only a couple of warnings and the Web IDE claims to have connected via Web Serial, it's non-responsive. Web IDE says it has connected but "No response from board", and pasting in JavaScript commands in the REPL has no effect.
Before I go rummaging around in the codebase, boards definitions etc I just wondered if anyone else had observed this behaviour? I'm not getting as far as seeing the JavaScript ">" prompt in the REPL, but in case it's useful, here's the output of idf.py monitor...
% idf.py monitor
Executing action: monitor
Serial port /dev/cu.usbmodem101
Connecting...
Detecting chip type... ESP32-S3
Running idf_monitor in directory /Users/martin/src/EspruinoS3/make/esp32s3idf4
Executing "/Users/martin/.espressif/python_env/idf4.4_py3.9_env/bin/python /Users/martin/esp/esp-idf-v4.4.8/tools/idf_monitor.py -p /dev/cu.usbmodem101 -b 115200 --toolchain-prefi
--- idf_monitor on /dev/cu.usbmodem101 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x9 (SPI_FAST_FLASH_BOOT)
Saved PC:0x400490d9
SPIWP:0xee
mode:DIO, clock div:2
load:0x3fce3808,len:0x16c8
load:0x403c9700,len:0xbd4
load:0x403cc700,len:0x2fb0
SHA-256 comparison failed:
Calculated: 0caed1e14b7b9ab0f9a70c458d30cb0bf5612929d1033aa929712ba5a4e30653
Expected: 7f99267b344749bc4b5d539557883e611bdcc1e0fec8a9a55c62854e83cdc898
Attempting to boot anyway...
entry 0x403c9954
I (45) boot: ESP-IDF v4.4.8 2nd stage bootloader
I (45) boot: compile time 12:53:11
I (45) boot: Multicore bootloader
I (47) boot: chip revision: v0.2
I (51) boot.esp32s3: Boot SPI Speed : 40MHz
I (56) boot.esp32s3: SPI Mode : DIO
I (61) boot.esp32s3: SPI Flash Size : 16MB
I (65) boot: Enabling RNG early entropy source...
I (71) boot: Partition Table:
I (74) boot: ## Label Usage Type ST Offset Length
I (82) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (89) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (97) boot: 2 factory factory app 00 00 00010000 00180000
I (104) boot: 3 flash Unknown data 01 40 00310000 00010000
I (112) boot: 4 js_code Unknown data 01 06 00320000 000e0000
I (119) boot: End of partition table
I (123) esp_image: segment 0: paddr=00010020 vaddr=3c0e0020 size=2760ch (161292) map
I (172) esp_image: segment 1: paddr=00037634 vaddr=3fc9b4c0 size=03eech ( 16108) load
I (177) esp_image: segment 2: paddr=0003b528 vaddr=40374000 size=04af0h ( 19184) load
I (183) esp_image: segment 3: paddr=00040020 vaddr=42000020 size=de20ch (909836) map
I (412) esp_image: segment 4: paddr=0011e234 vaddr=40378af0 size=129d0h ( 76240) load
I (435) esp_image: segment 5: paddr=00130c0c vaddr=600fe000 size=0002ch ( 44) load
I (444) boot: Loaded app from partition at offset 0x10000
I (444) boot: Disabling RNG early entropy source...
I (456) cpu_start: Multicore app
I (456) cpu_start: Pro cpu up.
I (456) cpu_start: Starting app cpu, entry point is 0x403755f4
0x403755f4: call_start_cpu1 at /Users/martin/esp/esp-idf-v4.4.8/components/esp_system/port/cpu_start.c:151
I (0) cpu_start: App cpu up.
I (474) cpu_start: Pro cpu start user code
I (474) cpu_start: cpu freq: 240000000
I (474) cpu_start: Application information:
I (477) cpu_start: Project name: espruino
I (482) cpu_start: App version: 865c93d-dirty
I (487) cpu_start: Compile time: Dec 11 2024 12:53:03
I (493) cpu_start: ELF file SHA256: 4c7b8412c0085abc...
I (499) cpu_start: ESP-IDF: v4.4.8
I (504) cpu_start: Min chip rev: v0.0
I (509) cpu_start: Max chip rev: v0.99
I (514) cpu_start: Chip rev: v0.2
I (518) heap_init: Initializing. RAM available for dynamic allocation:
I (526) heap_init: At 3FCA5160 len 000445B0 (273 KiB): D/IRAM
I (532) heap_init: At 3FCE9710 len 00005724 (21 KiB): STACK/DIRAM
I (539) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (545) heap_init: At 600FE02C len 00001FD4 (7 KiB): RTCRAM
I (552) spi_flash: detected chip: winbond
I (556) spi_flash: flash io: dio
I (561) sleep: Configure to isolate all GPIO pins in sleep state
I (567) sleep: Enable automatic switching of GPIO sleep configuration
I (574) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
E (626) gpio: gpio_set_direction(275): GPIO number error
E (627) gpio: gpio_set_pull_mode(239): GPIO number error
E (628) gpio: gpio_set_direction(275): GPIO number error
E (634) gpio: gpio_set_pull_mode(239): GPIO number error
____ _
| __|___ ___ ___ _ _|_|___ ___
| __|_ -| . | _| | | | | . |
|____|___| _|_| |___|_|_|_|___|
|_| espruino.com
2v16 (c) 2021 G.Williams
Espruino is Open Source. Our work is supported
only by sales of official boards and donations:
http://espruino.com/Donate
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi folks, I bought a Bangle.js 2 to support the project but was finding the screen a bit too small for my ancient eyeballs, so thought I would try some ESP dev kits to see if I could find something more amenable.
I've been playing initially with the ESP32-S3-Touch-LCD-1.69 (https://www.waveshare.com/esp32-s3-touch-lcd-1.69.htm). I'm able to build and flash the @rgomezwap ESP32-S3 Espruino variant (per https://github.com/rgomezwap/EspruinoS3), using IDF v4.4.8.
However whilst the device boots up with only a couple of warnings and the Web IDE claims to have connected via Web Serial, it's non-responsive. Web IDE says it has connected but "No response from board", and pasting in JavaScript commands in the REPL has no effect.
Before I go rummaging around in the codebase, boards definitions etc I just wondered if anyone else had observed this behaviour? I'm not getting as far as seeing the JavaScript ">" prompt in the REPL, but in case it's useful, here's the output of idf.py monitor...