crockedile
02/10/2025, 4:45 PMfloitsch
02/10/2025, 5:49 PMjag run succeed, almost certainly means that Jaguar correctly found your device and managed to start the program on it.floitsch
02/10/2025, 6:02 PMjag monitor seems to fail...
We are using Golang's go-serial under the hood. I looked for known issues with that error message but didn't find anything.floitsch
02/10/2025, 6:13 PMimport uart
main args:
port-path := args[0]
port := uart.HostPort port-path --baud-rate=115200
try:
reader := port.in
while data/ByteArray? := reader.read:
if data.last == '\n': data = data[.. data.size - 1]
print data.to-string-non-throwing
finally:
port.close
If you run this program with jag run -d host monitor.toit (assuming you saved this file as monitor.toit).
This program doesn't automatically reset the device.floitsch
02/10/2025, 6:15 PMjag monitor -a.crockedile
02/10/2025, 7:39 PMfloitsch
02/10/2025, 7:58 PM-d host means that it runs on your machine.crockedile
02/10/2025, 8:08 PMfloitsch
02/10/2025, 8:37 PMfloitsch
02/10/2025, 8:38 PMcrockedile
02/10/2025, 10:00 PMfloitsch
02/10/2025, 10:01 PMcrockedile
02/10/2025, 10:03 PMcrockedile
02/11/2025, 12:51 PMfloitsch
02/11/2025, 2:18 PMcrockedile
02/11/2025, 4:59 PMfloitsch
02/11/2025, 5:27 PMbmentink
02/12/2025, 12:00 AMfloitsch
02/12/2025, 10:51 AMfloitsch
02/12/2025, 10:53 AMfloitsch
02/12/2025, 11:07 AMjag flash esp32-slow-uart (or jag firmware update esp32-slow-uart to update).
You then need to run monitor with jag monitor --baud 57600.crockedile
02/13/2025, 9:21 PMcrockedile
03/10/2025, 2:27 PMfloitsch
03/10/2025, 2:40 PMcrockedile
03/10/2025, 2:44 PMfloitsch
03/10/2025, 2:52 PM