Fernan
06/01/2025, 7:09 PM~~boss~~
06/08/2025, 5:28 AMaddshore
06/10/2025, 11:31 AMjag monitor
using dev boards (USB pins on ESPs) I have ot hit it multiple times, it seems to hang, I see ^C^C^C^C
in the termainl baecause of this and eventaully it exits.
While using uart converters external to deav boards hitting ctrl + c normally instantly exits (desried behaviour)
This is on WSL, and basically i have the issue with /dev/ttyACM*
devices, but all /dev/ttyUSB
devices are fine.
Any thoughts on what might be up? (Otherwise i might try debugging this myself with a build of jag etc)addshore
06/10/2025, 1:50 PMaddshore
06/11/2025, 3:45 PM-D jag.wifi=false
while using the run
command.
And just gave it a go while installing a container, however on container restart jag and wifi came back up.
Is there a way to either 1) get a container to tell jag to turn off the wifi?
or 2) have something like -D jag.wifi=false
be more persistent accross container restarts? while keeping jaguar running?addshore
06/12/2025, 10:49 AMsystem:
Kind: snapshot
Id: 2ee8a16f-3df6-a81f-7174-7347ab9a8108
Size: 165638
Flags:
- trigger=boot
- critical
Is removing this essentially the same as building my own fw image without jaguar?
(I'm guessing not, as I removed this, and also added my own container, flashed a device and seemingly it doesnt start up)kaxori
06/12/2025, 7:27 PMkaxori
06/13/2025, 4:46 PMaddshore
06/16/2025, 2:12 PMRouting problem
and tries to reconnect? fails? and backs off?
Then I see my container print udptocsv
after which it tries to emit this over UDP
Then there are logs to do with wifi reconnecting? After which jaguar seems to be back up?
However the container is then stuck?
I guess it is stuck here
socket.send
udp.Datagram row.to-byte-array address
addshore
06/30/2025, 9:32 AM[uart] warning: event queue is full
[uart] warning: event queue is full
[uart] warning: event queue is full
[uart] warning: event queue is full
[uart] warning: event queue is full
[uart] warning: event queue is full
[uart] warning: event queue is full
[uart] warning: event queue is full
[uart] warning: event queue is full
[uart] warning: event queue is full
[uart] warning: event queue is full
Seems to do that until reaching
Potential deadlock detected:
Process: 0
Program: 84bd67cd-f6e7-5359-850b-5709092d5c01
fatal: Potential dead-lock
abort() was called at PC 0x4202f841 on core 0
Or sometimes it breaks out of the loop and works?
Any pointers for debugging / whats going on?RaspPi Parts
07/15/2025, 4:04 PM~~boss~~
07/20/2025, 10:53 AMaddshore
07/30/2025, 3:53 PMwahyudi124
07/31/2025, 5:48 AMaddshore
07/31/2025, 9:00 AMkaxori
08/01/2025, 7:54 PMwahyudi124
08/03/2025, 4:21 AMz3ugma
08/03/2025, 4:34 AMkaxori
08/03/2025, 10:17 AMrunning Jaguar failed due to 'DEADLINE_EXCEEDED'
Did anyone have similar experiences and a solution ?RaspPi Parts
08/04/2025, 3:23 PMpkarsy
08/04/2025, 6:15 PMz3ugma
08/06/2025, 6:26 PMHeap report @ out of memory in primitive 8:2:
βββββββββββββ¬βββββββββββ¬ββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Bytes β Count β Type β
βββββββββββββΌβββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β 5648 β 513 β heap overhead β
β 173528 β 467 β untagged β
βββββββββββββ΄βββββββββββ΄ββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Total: 179176 bytes in 467 allocations (53%), largest free 116k, total free 152k
******************************************************************************
MALLOC_FAILED error.
0: S6d05a1.draw-test-pattern s6d05a1.toit:560:20
1: main.<block> display_new.toit:43:12
2: SmallInteger_.repeat <sdk>/core/numbers.toit:1288:3
3: main display_new.toit:42:5
******************************************************************************
I can reliably make this memory allocation fail by commenting and uncommenting a line in this code:
main:
print "initializing display..."
driver := S6d05a1 bus cs 320 320 --reset=reset
5.repeat:
driver.draw-test-pattern
sleep --ms=600
addshore
08/14/2025, 2:32 PMsh
mkdir my-x-project
cd my-x-project
jag pkg init
jag pkg install github.com/x-io/toit-x
then
sh
cp ./.packages/github.com/x-io/toit-x/v0.1.1/examples/eink.toit ./main.toit
But I dont want to hardcode v0.1.1
Is there already a command I am missing that might say what is installed and being used by the project?addshore
08/21/2025, 11:06 AMsound-type
field is actually an enum
Whats the best way to document that fact?
And or is there already IDE integreation and hinting for such as thing?
/**
Creates a protocol.Data object with all available fields for this message type.
This is a comprehensive helper that accepts all possible fields.
For method-specific usage, consider using the dedicated request/response methods.
Returns: A protocol.Data object with the specified field values
*/
static data --duration/int?=null --sound-type/int?=null --intensity/int?=null --run-count/int?=null --frequency/float?=null --base-data/protocol.Data?=protocol.Data -> protocol.Data:
data := base-data
if duration != null: data.add-data-uint DURATION duration
if sound-type != null: data.add-data-uint SOUND-TYPE sound-type
if intensity != null: data.add-data-uint INTENSITY intensity
if run-count != null: data.add-data-uint RUN-COUNT run-count
if frequency != null: data.add-data-float FREQUENCY frequency
return data
Rikke
08/22/2025, 6:32 AMSalamun Kawlam
08/23/2025, 4:48 PMaddshore
09/05/2025, 4:58 PM[jaguar] WARN: running Jaguar failed due to 'MALLOC_FAILED' (2/3)
[jaguar.http] INFO: running Jaguar device 'long-expert' (id: '736b8804-dcdf-4d96-890a-8785c1bfa31d') on 'http://192.168.68.50:9000'
Heap report @ out of memory in primitive 3:4:
βββββββββββββ¬βββββββββββ¬ββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Bytes β Count β Type β
βββββββββββββΌβββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β 7400 β 728 β heap overhead β
β 258064 β 691 β untagged β
βββββββββββββ΄βββββββββββ΄ββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Total: 265464 bytes in 691 allocations (81%), largest free 44k, total free 62k
[jaguar] WARN: running Jaguar failed due to 'MALLOC_FAILED' (3/3)
[jaguar] INFO: backing off for 5s
~~boss~~
09/08/2025, 4:05 AMtplux
09/10/2025, 5:41 AM