addshore
03/21/2025, 11:24 AMfloitsch
03/21/2025, 11:24 AMfloitsch
03/21/2025, 11:25 AMaddshore
03/21/2025, 11:25 AMjag run again right after worked after a few secondsfloitsch
03/21/2025, 11:25 AMfloitsch
03/21/2025, 11:26 AMaddshore
03/21/2025, 11:26 AMaddshore
03/21/2025, 11:26 AMjag run probably 8 in 10 times to some degree (either slowly, or failing)floitsch
03/21/2025, 11:26 AMfloitsch
03/21/2025, 11:27 AMfloitsch
03/21/2025, 11:27 AMfloitsch
03/21/2025, 11:27 AMfloitsch
03/21/2025, 11:28 AMfloitsch
03/21/2025, 11:28 AMfloitsch
03/21/2025, 11:28 AMfloitsch
03/21/2025, 11:29 AMaddshore
03/21/2025, 11:29 AM~/dev/lb/io/toit (main) jag run ./pkg/lightbug/examples/httpmsg-raw.toit --device 192.168.68.65 -D lb-localdocs=1
Scanning for device with address: '192.168.68.65'
Error: Get "http://192.168.68.65:9000/identify": context deadline exceededfloitsch
03/21/2025, 11:30 AMaddshore
03/21/2025, 11:31 AMScanning for device with address: '192.168.68.65'
Running './pkg/lightbug/examples/httpmsg-raw.toit' on 'working-heat' ...
Error: got non-OK from device: 500 Internal Server error - DEADLINE_EXCEEDEDaddshore
03/21/2025, 11:31 AMfloitsch
03/21/2025, 11:32 AMaddshore
03/21/2025, 11:32 AM[jaguar.http] INFO: Internal Server error - DEADLINE_EXCEEDED {peer: 192.168.68.61:28407, method: PUT, path: /run}
[jaguar.http] INFO: Internal Server error - request not fully read {peer: 192.168.68.61:28407, method: PUT, path: /run}addshore
03/21/2025, 11:33 AMrun my continual stream of ICMP pings to the ESP seem to get through fine, though there is some lag
Pre run it was 5-20ms, During run it is 1000-10000msfloitsch
03/21/2025, 11:35 AMfloitsch
03/21/2025, 11:36 AMaddshore
03/21/2025, 11:36 AMfloitsch
03/21/2025, 11:36 AMrun.floitsch
03/21/2025, 11:36 AMaddshore
03/21/2025, 11:36 AMfloitsch
03/21/2025, 11:36 AMfloitsch
03/21/2025, 11:37 AMaddshore
03/21/2025, 11:37 AMfloitsch
03/21/2025, 11:38 AMaddshore
03/21/2025, 11:38 AMScanning for device with address: '192.168.68.65'
Running './pkg/lightbug/examples/httpmsg-raw.toit' on 'working-heat' ...
Success: Sent 127KB code to 'working-heat'
on the esp
Heap report @ out of memory in primitive 3:4:
┌───────────┬──────────┬─────────────────────────────────────────────────────┐
│ Bytes │ Count │ Type
│
├───────────┼──────────┼─────────────────────────────────────────────────────┤
│ 5360 │ 477 │ heap overhead
│
│ 171248 │ 433 │ untagged
│
└───────────┴──────────┴─────────────────────────────────────────────────────┘
Total: 176608 bytes in 433 allocations (52%), largest free 128k, total free 157k
[jaguar] INFO: program 1d0bb989-0dd5-a5ed-eafb-499af7a7d41f started
[lb-comms] INFO: Comms starting
But it took a very long time to flashaddshore
03/21/2025, 11:39 AMkasperl
03/21/2025, 11:39 AMfloitsch
03/21/2025, 11:40 AMkasperl
03/21/2025, 11:40 AMCONFIG_LWIP_TCP_MSS from 1410 to 1440 recently.addshore
03/21/2025, 11:40 AMkasperl
03/21/2025, 11:40 AMfloitsch
03/21/2025, 11:41 AMkasperl
03/21/2025, 11:41 AMaddshore
03/21/2025, 11:41 AMaddshore
03/21/2025, 11:41 AMv1.47.0 from Decfloitsch
03/21/2025, 11:43 AMfloitsch
03/21/2025, 11:44 AMaddshore
03/21/2025, 11:44 AMfloitsch
03/21/2025, 11:44 AMkasperl
03/21/2025, 11:44 AMkasperl
03/21/2025, 11:45 AMkasperl
03/21/2025, 11:45 AMfloitsch
03/21/2025, 11:46 AMif Time.monotonic-us > 0: return
Then reboot the device, and jag run this program multiple times.floitsch
03/21/2025, 11:46 AMfloitsch
03/21/2025, 11:46 AMfloitsch
03/21/2025, 11:47 AMif) ensures that the program size stays the same.addshore
03/21/2025, 11:51 AMfloitsch
03/21/2025, 11:57 AMfloitsch
03/21/2025, 11:58 AMaddshore
03/21/2025, 11:59 AMif Time.monotonic-us > 0: return at the top of the same program, and I ran it 6 times in a row no issuekasperl
03/21/2025, 11:59 AMaddshore
03/21/2025, 12:00 PMmain:
yield
also worked 5 times in a row
Now I am suspiciousfloitsch
03/21/2025, 12:00 PMaddshore
03/21/2025, 12:01 PMmain of jagkasperl
03/21/2025, 12:01 PMkasperl
03/21/2025, 12:01 PMfloitsch
03/21/2025, 12:02 PMaddshore
03/21/2025, 12:02 PMmain or jag, and thus also newer toit seems to have made it all go away?floitsch
03/21/2025, 12:02 PMkasperl
03/21/2025, 12:02 PMaddshore
03/21/2025, 12:03 PMaddshore
03/21/2025, 12:03 PMfloitsch
03/21/2025, 12:03 PMif Time.monotonic-us test from above on an older jag.addshore
03/21/2025, 12:04 PMkasperl
03/21/2025, 12:04 PMkasperl
03/21/2025, 12:04 PMkasperl
03/21/2025, 12:05 PMaddshore
03/21/2025, 12:05 PMScanning for device with address: '192.168.68.65'
Running './pkg/lightbug/examples/httpmsg-raw.toit' on 'glad-ear' ...kasperl
03/21/2025, 12:06 PMaddshore
03/21/2025, 12:06 PMkasperl
03/21/2025, 12:06 PMaddshore
03/21/2025, 12:08 PMkasperl
03/21/2025, 12:09 PM