wahyudi124
08/12/2025, 12:45 PMfloitsch
08/12/2025, 1:33 PMnet.open
or wifi.open
.
If you are running with Jaguar, then Jaguar already does that automatically. You can ask Jaguar to temporarily disable its WiFi: https://github.com/toitlang/jaguar?tab=readme-ov-file#temporarily-disabling-jaguars-wifiMichaelK
08/13/2025, 9:33 AMmichael-k@michaelk-Inspiron-14-5420:~$ jag
jag: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by jag)
jag: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by jag)
michael-k@michaelk-Inspiron-14-5420:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal
michael-k@michaelk-Inspiron-14-5420:~$
floitsch
08/13/2025, 9:35 AMfloitsch
08/13/2025, 9:35 AMfloitsch
08/13/2025, 9:36 AMfloitsch
08/13/2025, 9:36 AMMichaelK
08/13/2025, 9:45 AMfloitsch
08/13/2025, 9:51 AMtoit
executables. So it's not just a single build that needs to be changed.floitsch
08/13/2025, 9:55 AMgo install github.com/toitlang/jaguar/cmd/jag@latest
. As mentioned above, it wouldn't solve the problem that the Toit tools are also compiled on newer builders.MichaelK
08/13/2025, 10:02 AMmicrcx@micrcx-desktop:~/toit/parser$ jag flash -c esp32s3 --name mini -p /dev/ttyACM1 --wifi-ssid XXXXXX --wifi-password ZZZZZZZ
Flashing device over serial on port '/dev/ttyACM1' ...
esptool.py v4.8.1
Serial port /dev/ttyACM1
Connecting....
Chip is ESP32-S3 (QFN56) (revision v0.2)
Features: WiFi, BLE, Embedded PSRAM 8MB (AP_3v3)
Crystal is 40MHz
MAC: d8:3b:da:73:df:e0
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00003fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000d000 to 0x0000efff...
Flash will be erased from 0x00010000 to 0x00180fff...
SHA digest in image updated
Compressed 12480 bytes to 8732...
Wrote 12480 bytes (8732 compressed) at 0x00000000 in 0.2 seconds (effective 402.8 kbit/s)...
Hash of data verified.
Compressed 4096 bytes to 171...
Wrote 4096 bytes (171 compressed) at 0x00008000 in 0.0 seconds (effective 685.7 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 31...
Wrote 8192 bytes (31 compressed) at 0x0000d000 in 0.1 seconds (effective 778.2 kbit/s)...
Hash of data verified.
Compressed 1510320 bytes to 949762...
Wrote 1510320 bytes (949762 compressed) at 0x00010000 in 10.4 seconds (effective 1164.3 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
https://cdn.discordapp.com/attachments/918498540232253483/1405129457785638963/esp32s3-mini.png?ex=689db448&is=689c62c8&hm=e39730d1cb3b793b589abe29fa4b32796481a6c06f3e0dbc8f8793cc2d6d529b&floitsch
08/13/2025, 10:03 AMfloitsch
08/13/2025, 10:03 AMMichaelK
08/13/2025, 10:14 AMMichaelK
08/13/2025, 10:28 AMfloitsch
08/13/2025, 10:30 AMjag monitor
show?
Did you reset the device by hand? (Or just unplug/plug)MichaelK
08/13/2025, 10:32 AMfloitsch
08/13/2025, 10:33 AMshow
MichaelK
08/13/2025, 10:35 AMfloitsch
08/13/2025, 10:35 AMMichaelK
08/13/2025, 10:39 AMmicrcx@micrcx-desktop:~/toit/threaded_code$ jag monitor
Starting serial monitor of port '/dev/ttyACM0' ...
J1
�ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce2810,len:0xdc
load:0x403c8700,len:0x4
load:0x403c8704,len:0xa08
load:0x403cb700,len:0x257c
entry 0x403c8854
E (325) quad_psram: PSRAM ID read error: 0x00ffffff, PSRAM chip not found or not supported, or wrong PSRAM line mode
E (325) esp_psram: PSRAM enabled but initialization failed. Bailing out.
[toit] INFO: starting <v2.0.0-alpha.184>
[toit] DEBUG: clearing RTC memory: invalid checksum
[toit] INFO: running on ESP32S3 - revision 0.2
[wifi] DEBUG: connecting
E (3801) wifi:Association refused too many times, max allowed 1
[wifi] WARN: connect failed {reason: unknown reason (208)}
[wifi] DEBUG: closing
[jaguar] WARN: running Jaguar failed due to 'CONNECT_FAILED: unknown reason (208)' (1/3)
[wifi] DEBUG: connecting
E (6631) wifi:Association refused too many times, max allowed 1
[wifi] WARN: connect failed {reason: unknown reason (208)}
[wifi] DEBUG: closing
[jaguar] WARN: running Jaguar failed due to 'CONNECT_FAILED: unknown reason (208)' (2/3)
[wifi] DEBUG: connecting
[wifi] DEBUG: connected
[wifi] INFO: network address dynamically assigned through dhcp {ip: 192.168.1.228}
[wifi] INFO: dns server address dynamically assigned through dhcp {ip: [192.168.1.1]}
[jaguar.http] INFO: running Jaguar device 'polished-bill' (id: 'aab31f83-5d56-484b-b125-2a1f9c0035d2') on 'http://192.168.1.228:9000'
floitsch
08/13/2025, 10:40 AMMichaelK
08/13/2025, 10:41 AMfloitsch
08/13/2025, 10:42 AMfloitsch
08/13/2025, 10:42 AMjag monitor -p /dev/ttyACM1
should workMichaelK
08/13/2025, 10:50 AMmicrcx@micrcx-desktop:~/toit/threaded_code$ jag monitor -p /dev/ttyACM1
Starting serial monitor of port '/dev/ttyACM1' ...
E (325) quad_psram: PSRAM ID read error: 0x00ffffff, PSRAM chip ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40385b12
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce2810,len:0xdc
load:0x403c8700,len:0x4
load:0x403c8704,len:0xa08
load:0x403cb700,len:0x257c
entry 0x403c8854
E (325) quad_psram: PSRAM ID read error: 0x00ffffff, PSRAM chip not found or not supported, or wrong PSRAM line mode
E (325) esp_psram: PSRAM enabled but initialization failed. Bailing out.
[toit] INFO: starting <v2.0.0-alpha.184>
[toit] DEBUG: clearing RTC memory: powered on by hardware source
[toit] INFO: running on ESP32S3 - revision 0.2
[wifi] DEBUG: connecting
[wifi] INFO: retrying {reason: expired authentication}
[wifi] INFO: retrying {reason: expired authentication}
[wifi] WARN: connect failed {reason: timeout}
[wifi] DEBUG: closing
[jaguar] WARN: running Jaguar failed due to 'DEADLINE_EXCEEDED' (1/3)
[wifi] DEBUG: connecting
[wifi] INFO: retrying {reason: expired authentication}
[wifi] INFO: retrying {reason: expired authentication}
[wifi] WARN: connect failed {reason: timeout}
[wifi] DEBUG: closing
[jaguar] WARN: running Jaguar failed due to 'DEADLINE_EXCEEDED' (2/3)
[wifi] DEBUG: connecting
[wifi] INFO: retrying {reason: expired authentication}
[wifi] INFO: retrying {reason: expired authentication}
[wifi] WARN: connect failed {reason: timeout}
[wifi] DEBUG: closing
[jaguar] WARN: running Jaguar failed due to 'DEADLINE_EXCEEDED' (3/3)
[jaguar] INFO: backing off for 5s
[wifi] DEBUG: connecting
floitsch
08/13/2025, 10:53 AMMichaelK
08/13/2025, 11:07 AMGitHub
08/14/2025, 4:59 PMGitHub
08/17/2025, 4:01 PM