You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently teleprobe is mostly used as a remote CI tool, where one continuously flashes same devices with different firmwares - ie static devices and dynamic firmware.
Another scenario for teleprobe would be series testing/flashing of devices together with certain data-logging and calibration tests where one wants to save some device-specific information into database: ie chip-specific information like serial numbers and calibration results and also include data from companion chips (flashes, RTCs etc.).
asyncfnmain(..){unsafe{let data = b"w00tw00t";
_TELEPROBE_INFO_VAR1[..data.len()].copy_from_slice(data);// info!("_TELEPROBE_INFO_VAR1: ptr = {:?}, val = {:?} ", &mut _TELEPROBE_INFO_VAR1 as * mut _, _TELEPROBE_INFO_VAR1);}}
Some ideas that I have:
Symbol autodiscovery instead of harcoded list - use .teleprobe.exports section and some macro magic from Rust side to populate the section with a list of exported variables (and ideally their addresses). (I tried to implement something, but my rust- and ld-foo isn't strong enough).
Client side vs server side handling - there's already some section parsing happening in the client side, so we should create a list of "required" symbols and pass this info to server.
Support for other data types than byte arrays (via symbol demangling?).
The text was updated successfully, but these errors were encountered:
Currently teleprobe is mostly used as a remote CI tool, where one continuously flashes same devices with different firmwares - ie static devices and dynamic firmware.
Another scenario for teleprobe would be series testing/flashing of devices together with certain data-logging and calibration tests where one wants to save some device-specific information into database: ie chip-specific information like serial numbers and calibration results and also include data from companion chips (flashes, RTCs etc.).
I have a minimal draft PoC implemented in #20:
Demo:
From firmware side the changes are currently minimal:
static mut
array and make sure it's not demangled and kept in firmware:Some ideas that I have:
Symbol autodiscovery instead of harcoded list - use.teleprobe.exports
section and some macro magic from Rust side to populate the section with a list of exported variables (and ideally their addresses). (I tried to implement something, but my rust- and ld-foo isn't strong enough).The text was updated successfully, but these errors were encountered: