floitsch
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 PMGitHub
08/20/2025, 8:35 AMMichaelK
08/22/2025, 7:29 AMfloitsch
08/22/2025, 7:31 AMaddshore
08/27/2025, 11:54 AMkasperl
08/27/2025, 1:50 PMfloitsch
08/30/2025, 10:41 AMfloitsch
09/01/2025, 10:15 AMjag monitor
doesn't work on a Windows 11 machine.
Has anyone experienced similar issues?
Does jag monitor
with Jaguar 1.55 work for someone on Windows 11?addshore
09/01/2025, 1:53 PMGitHub
09/03/2025, 12:28 AMMichaelK
09/03/2025, 2:07 PMfloitsch
09/03/2025, 2:08 PMMichaelK
09/03/2025, 2:19 PMfloitsch
09/03/2025, 2:20 PMMichaelK
09/03/2025, 2:33 PMfloitsch
09/03/2025, 3:13 PMfloitsch
09/03/2025, 3:15 PMclient.post-json --uri="https://weather-84204-default..."
should work, but if you do client.post-json --host="https://weather..."
then that won't work. The host is just weather-84204-...
and not something that includes the https://
. You would use --use-tls
when you do a client.post-json
with a --host
argument.floitsch
09/03/2025, 3:17 PMclient.post-json --uri="https://weather-84204-default-rtdb.firebaseio.com/temperature.json" my-json-object
should work, or
client.post-json --host="'weather-84204-default-rtdb.firebaseio.com" --path="/temperature.json" --use-tls my-json-object
should also work.MichaelK
09/04/2025, 5:53 AMimport certificate-roots
import http
import net
import encoding.json
// Firebase Realtime Database URL
URI := "https://weather-84204-default-rtdb.firebaseio.com/temperature.json"
OK := 200
main:
certificate-roots.install-common-trusted-roots
// Establish network connection
network := net.open
client := http.Client network
meteo_data := {
"Location": "Boston",
"Temperature": "33"
}
// Encode data to JSON
json_object := json.encode meteo_data
try:
e := catch --trace=false :
// Send POST request
response := client.post --uri=URI json_object
data := json.decode-stream response.body
// Check response
if response.status_code == OK :
print "Record successfully created: $data"
else:
print "Error: $(response.status_code) - $data"
if e :
print "Exception->$e.stringify"
finally:
client.close
network.close
Thanks for your help.