This is going to be long post as to docuement the issue and what I tried.
-
I have been retesting Bridge Latency (see this thread - Evaluated Uno Q Router / Bridge Latency with MAX31855 - UNO Family / UNO Q - Arduino Forum by expanding it to test a string array of 90 floats. Note even happens with simplier version in the thread:
Simple version: Bridge_latency.zip (2.3 KB)
Float/String: Bridge_latency_v2.zip (3.0 KB) -
After running it once I added in a extra print statement to the python script and the python console showed
2026-02-04 16:15:20.520 INFO - [MainThread] App: App started
======== App is starting ============================
--- Running RAW Latency Test ---
Performing 10 test calls...
Error during ping execution 1: Request 'ping' timed out after 10s
Error during ping execution 2: Request 'ping' timed out after 10s
So tried power cycling the board and restarting applab which seemed to work:
Activating python virtual environment <---- power off and on and then reran app
======== App is starting ============================
2026-02-04 16:17:44.680 INFO - [MainThread] App: App started
--- Running RAW Latency Test ---
Performing 10 test calls...
787
787
787
787
787
787
787
787
787
787
--- Raw Latency Results ---
Min Latency: 89.20 ms
Max Latency: 94.52 ms
Avg Latency: 91.16 ms
----------------------------
Loop Time for 10 iterations:
16015.382942000002
----------------------------
--- Running RAW Latency Test ---
Performing 10 test calls...
- Deleted the extra print statement and then it failed
Activating python virtual environment
======== App is starting ============================
--- Running RAW Latency Test ---
2026-02-04 16:19:29.999 INFO - [MainThread] App: App started
Performing 10 test calls...
Error during ping execution 1: Request 'ping' timed out after 10s
...
- Tried the cycling power and restarting applab and in debug got a major crash
[00:00:26.784,000] <err> os: ***** HARD FAULT *****
[00:00:26.790,000] <err> os: Debug event
[00:00:26.794,000] <err> os: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x40014800
[00:00:26.803,000] <err> os: r3/a4: 0x00002341 r12/ip: 0x00003e80 r14/lr: 0x08005507
[00:00:26.812,000] <err> os: xpsr: 0x49000000
[00:00:26.817,000] <err> os: s[ 0]: 0x0f2f10f6 s[ 1]: 0x0801877c s[ 2]: 0x08019a78 s[ 3]: 0x26e1cbef
[00:00:26.827,000] <err> os: s[ 4]: 0x08017fb0 s[ 5]: 0x0000790d s[ 6]: 0x16b879a0 s[ 7]: 0x00000000
[00:00:26.838,000] <err> os: s[ 8]: 0x00000000 s[ 9]: 0x00000000 s[10]: 0x00000000 s[11]: 0x00000000
[00:00:26.848,000] <err> os: s[12]: 0x00000000 s[13]: 0x00000000 s[14]: 0x00000000 s[15]: 0x00000000
[00:00:26.859,000] <err> os: fpscr: 0x00000000
[00:00:26.864,000] <err> os: Faulting instruction address (r15/pc): 0x0800550c
[00:00:26.872,000] <err> os: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
[00:00:26.879,000] <err> os: Current thread: 0x20000558 (main)
[00:00:26.886,000] <err> os: Halting system
- went ahead and reran anyway and got this in the debug window
*** Booting Zephyr OS build v4.2.0-38-g994b835f5936 ***
Invalid sketch header
Monitor begin: 5016 millis
Bridge begin: 3 micros
Brige Provide: 6 millis
but~~~~ App failed to run
- removed cache and docker container and power cycled:
*** Booting Zephyr OS build v4.2.0-38-g994b835f5936 ***
Invalid sketch header
[00:00:26.784,000] <err> os: ***** HARD FAULT *****
[00:00:26.790,000] <err> os: Debug event
[00:00:26.794,000] <err> os: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x40014800
[00:00:26.803,000] <err> os: r3/a4: 0x00002341 r12/ip: 0x00003e80 r14/lr: 0x08005507
[00:00:26.812,000] <err> os: xpsr: 0x49000000
[00:00:26.817,000] <err> os: s[ 0]: 0x0f2f10be s[ 1]: 0x0801877c s[ 2]: 0x08019a78 s[ 3]: 0x26e5cbef
[00:00:26.827,000] <err> os: s[ 4]: 0x08017fb0 s[ 5]: 0x0000790d s[ 6]: 0x14b879a0 s[ 7]: 0x00000000
[00:00:26.838,000] <err> os: s[ 8]: 0x00000000 s[ 9]: 0x00000000 s[10]: 0x00000000 s[11]: 0x00000000
[00:00:26.848,000] <err> os: s[12]: 0x00000000 s[13]: 0x00000000 s[14]: 0x00000000 s[15]: 0x00000000
[00:00:26.859,000] <err> os: fpscr: 0x00000000
[00:00:26.864,000] <err> os: Faulting instruction address (r15/pc): 0x0800550c
[00:00:26.872,000] <err> os: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
[00:00:26.879,000] <err> os: Current thread: 0x20000558 (main)
[00:00:26.886,000] <err> os: Halting system
- loaded Blink sketch from the ide which worked without the
invalid headermessage
Then Restarted applab and reloaded app:
DEBUG
*** Booting Zephyr OS build v4.2.0-38-g994b835f5936 ***
*** Booting Zephyr OS build v4.2.0-38-g994b835f5936 ***
*** Booting Zephyr OS build v4.2.0-38-g994b835f5936 ***
*** Booting Zephyr OS build v4.2.0-38-g994b835f5936 ***
Invalid sketch header
*** Booting Zephyr OS build v4.2.0-38-g994b835f5936 ***
Invalid sketch header
Monitor begin: 5018 millis
Bridge begin: 3 micros
Brige Provide: 5 millis
Not sure why seeing all the reboots....
and ran the app and it worked again:
Using CPython 3.13.9 interpreter at: /usr/local/bin/python
Creating virtual environment at: .cache/.venv
Activating python virtual environment
======== App is starting ============================
2026-02-04 16:34:22.500 INFO - [MainThread] App: App started
--- Running RAW Latency Test ---
Performing 10 test calls...
--- Raw Latency Results ---
Min Latency: 90.52 ms
Max Latency: 91.57 ms
Avg Latency: 90.97 ms
----------------------------
Loop Time for 10 iterations:
16013.567756999975
----------------------------
--- Running RAW Latency Test ---
Performing 10 test calls...
--- Raw Latency Results ---
Min Latency: 89.98 ms
Max Latency: 92.14 ms
Avg Latency: 91.17 ms
----------------------------
Loop Time for 10 iterations:
1014.6716309999988
- and finally if I just try to re run the app with absolutely no changes to the app we back to the initial problem
Activating python virtual environment
======== App is starting ============================
--- Running RAW Latency Test ---
2026-02-04 16:35:55.390 INFO - [MainThread] App: App started
Performing 10 test calls...
Error during ping execution 1: Request 'ping' timed out after 10s
Error during ping execution 2: Request 'ping' timed out after 10s
Error during ping execution 3: Request 'ping' timed out after 10s
Its like the sketch is not being loaded and run. Just an impression.
NOTE: This is on the 2gb but seeing the same issues on the 4gb.
Not sure what the heck is going on.
UPDATE:
Just tried to run the Blink LED example after getting the issue with latency app and got the following errors:
======== App is starting ============================
2026-02-04 17:23:24.905 INFO - [MainThread] App: App started
Traceback (most recent call last):
File "/app/python/main.py", line 16, in <module>
App.run(user_loop=loop)
~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/arduino/app_utils/app.py", line 101, in run
self.loop(user_loop)
~~~~~~~~~^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/arduino/app_utils/app.py", line 118, in loop
user_loop()
~~~~~~~~~^^
File "/app/python/main.py", line 14, in loop
Bridge.call("set_led_state", led_state)
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/arduino/app_utils/bridge.py", line 64, in call
return ClientServer().call(method_name, *params, timeout=timeout)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/arduino/app_utils/bridge.py", line 342, in call
raise ValueError(f"Request '{method_name}' failed: {err_msg} ({err_code})")
ValueError: Request 'set_led_state' failed: method set_led_state not available (2)
exited with code 1
So I ran the BLINK LED sketch from ide 2.3.7 again and reran the blink led app and still getting the error. So just tried power cycling/restarted applab and got it working again.
