# Log 2022-10-01
It's been a superbly long time since I have put some effort into my vault, so let's change this today. I'm going to spend 2 pomodoros working on notes and the vault, as a way of procrastinating working on [[PROJ - Fyne ppa-control app]].
Let's start by cleaning up the todoist inbox / vault infeed, because it's getting ridiculously big.
## Diary
This is going to be a list of the things I did lately so I don't forget:
- went to [[Strange Loop]], where I hung out a lot with [[Jack Rusher]], [[Luke Gorrie]], [[Marianne Bellotti]] (who went to [[Recurse Center]] too!), a few people from Recurse. I need to write up all their names from Slack and screenshots.
- really enjoyed the [[Lean Coffee]] sessions! That must have been my highlight
- had a mentoring call with Joao about embedded. He pointed me towards the course on [[STM32]] he is taking on [[Udemy]], and they actually seem pretty good. Got them as well:
- [Mastering Microcontroller and Embedded Driver Development | Udemy](https://www.udemy.com/course/mastering-microcontroller-with-peripheral-driver-development/)
- [Mastering Microcontroller and Embedded Driver Development | Udemy](https://www.udemy.com/course/mastering-microcontroller-with-peripheral-driver-development/)
- bought a [[Elegoo Neptune 2S]] [[3D Printer]] for $180, amazing stuff. I thus bought a bunch of courses about [[Autodesk Fusion]] on [[Udemy]], which I haven't gone through yet:
- Actually, I wrote about it on [[2022-09-16]] and [[2022-09-18]]
- joined the [[Kris Nova]] discord, and am enjoying [[BOOK - Hacking Capitalism - Kris Nova]] book a lot
Damn, I'm getting a lot of weird bugs from [[Orion Web Browser]], going to restart it.
Really liked this old [[Sketchbooks]] page (or rather, [[Dynamic Sketching]] practice):
![[2022-10-01-1664634769818.jpeg]]
While I'm cleaning up my vault, I'm watching:
- [Contrepreneurs: The Mikkelsen Twins - YouTube](https://www.youtube.com/watch?v=biYciU1uiUw)
## Log
### 3D Printing
I started printing 3 drawers on my [[Elegoo Neptune 2S]], with a bed temperature of 70 C. I realize I haven't written anything about my [[3D Printer]] in this vault!
![[2022-10-01-1664628075425.jpeg]]
I realize [[Cura]] is a big pile of nonsense, at least UX wise, because the [[Slicer]] seems to have a lot of interesting features. This time around, because I had some [[Warping (3D printing failure)]] on one of the drawers yesterday, I played around with the different raft / supports features. I kept the base to be that slim line around the models, but I added support generation. Interestingly enough, it seems that the support don't actually touch the model itself, but maybe those few layers of plastic will help with temperature uniformity. It could also have been yesterday that the warping was due to me not having calibrated the Z bed in a while.
![[2022-10-01-1664628089965.jpeg]]
In the picture above, you can see how the supports don't seem to actually touch the model.
I received the [[BL Touch]] probe, but haven't installed it yet.
I'm also not able to use [[cura]] 5.1, because it seems to generate [[G-Code]] that doesn't work at all. That is why I started the [[PROJ - G-Code visualizer in rust]], which is meant to be a small TUI tool to view G-Code. All the [[Marlin Firmware]] G-Code operands are document in the marlin repository as [[Markdown]], which I was easily able to parse in [[Rust]], and can easily use to augment the G-Code visualization. So far, I stopped at going through some overcomplicated tutorial on making a [[Terminal UI]] in [[Rust]] using the [GitHub - fdehau/tui-rs: Build terminal user interfaces and dashboards using Rust](https://github.com/fdehau/tui-rs) library: [MonkeyPatch | Rust: Playing with tui-rs](https://monkeypatch.io/blog/2021/2021-05-31-rust-tui/) . It is based on the spotify command line client, and uses threads, a weird amount of wrappers around input events and keys, and overall confused me because I haven't derived the structure of the application myself.
### Building a warning light notification system
Virginia asked me to build a little widget that shows if I'm deep into hacking downstairs, so that she knows if I'm busy or not. That's the perfect application for the [[Raspberry Pi Pico]] I bought yesterday. Let's see if there is anything I can do with it with [[Embedded Rust]] , I know I found a networking stack back when I was looking at the device.
I'm staring with building:
- [GitHub - embassy-rs/cyw43: Pure-Rust driver for the CYW43439 (WiFi chip used in the Raspberry Pi Pico W)](https://github.com/embassy-rs/cyw43)
and immediately ran into:
```
error[E0658]: where clauses on associated types are unstable
--> /Users/manuel/.cargo/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.1.0-alpha.2/src/spi.rs:491:5
|
491 | / type TransactionFuture<'a, R, F, Fut> = impl Future<Output = Result<R, Self::Error>>
492 | | where
493 | | Self: 'a, R: 'a, F: FnOnce(*mut Self::Bus) -> Fut + 'a,
494 | | Fut: Future<Output = Result<R, <Self::Bus as ErrorType>::Error>> + 'a;
| |_______________________________________________________________________________^
|
= note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
= help: add `#![feature(generic_associated_types)]` to the crate attributes to enable
Compiling cortex-m v0.7.6
```
which I'm not fully sure how to fix. In the crate itself, the attribute for the crate is set, but it probably isn't in the embedded-async-0.1.0 crate itself.
The cargo for it has a lot of manually pinned patch versions and manual dependencies, and I wonder how much it's worth the trouble to work with such alpha software right now, when I maybe just want to focus on getting the project done and printing a case for it. I'm gonna quickly check if there is maybe a newer branch, and then go explore the micropython framework from raspberry pi itself.
Somehow this commit removes the feature from the hal-async crate and I don't understand why:
- [Remove GAT feature attribute · rust-embedded/embedded-hal@edcb4fc · GitHub](https://github.com/rust-embedded/embedded-hal/commit/edcb4fc770ba58e772fba5513b8f3d8d5ecc019d)
SO I ended up figuring out how to nail down a crate version, and had to do it in both cyw43 and the example Cargo.toml:
```toml
embedded-hal-async = { version = "=0.1.0-alpha.1" }
```
### Connecting the debug probe
Using another Pico flashed with the DapperMime.uf2 file:
- [rp2040-project-template/debug_probes.md at main · rp-rs/rp2040-project-template · GitHub](https://github.com/rp-rs/rp2040-project-template/blob/main/debug_probes.md)
DapperMime [GitHub - majbthrd/DapperMime: CMSIS-DAP using TinyUSB](https://github.com/majbthrd/DapperMime) in this context is an opensource port of CMSIS-DAP.
The Getting Started guide suggests connecting a proper Raspberry Pi as a host platform:
![[2022-10-01-1664643344629.jpeg]]
There is a single board variant for debugging one core of the chip with the other one here:
- [GitHub - majbthrd/pico-debug: virtual debug pod for RP2040 "Raspberry Pi Pico" with no added hardware](https://github.com/majbthrd/pico-debug)
Of course, after connecting the probe board to the target board:
![[2022-10-01-1664643947419.jpeg]]
I still don't see the target. The probe shows us as "Picoprobe." The target board has proper voltage too.
Here are troubleshooting instructions:
- [GitHub - knurling-rs/probe-run at 2f138c3a74d399e5499fa97c76b2a55bc02facf4](https://github.com/knurling-rs/probe-run/tree/2f138c3#troubleshooting)
I did also run `cargo install flip-link`, to no avail.
So actually the `Picoprobe` firmware was not the right one for probe-run. After flashing the correct firmware: [Fetching Title#gnm0](https://github.com/majbthrd/DapperMime/releases/download/20210225/raspberry_pi_pico-DapperMime.uf2), the device showed up as
```
❯ probe-run --list-probes --verbose
the following probes were found:
[0]: RP2040 CMSIS-DAP (VID: cafe, PID: 4005, Serial: 6E060D1531963823, CmsisDap)
```
and we can move on.
The picoprobe firmware I was previously running is the one straight from Raspberry Pi:
- [Take advantage of CMSIS-DAP ecosystem · Issue #2 · raspberrypi/picoprobe · GitHub](https://github.com/raspberrypi/picoprobe/issues/2)
### Getting WIFI and TCP to run
I'm not sure from the logs if it is actually able to correctly associate with the network:
```
55.048480 DEBUG === EVENT AUTH: EventMessage { version: 2, flags: 0, event_type: 3, status: 0, reason: 0, auth_type: 0, datalen: 0, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } []
55.063063 DEBUG === EVENT ASSOC_RESP_IE: EventMessage { version: 2, flags: 0, event_type: 88, status: 0, reason: 0, auth_type: 0, datalen: 109, addr: [1, 0, 0, 0, 0, 0], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } [01, 00, 00, 00, 00, 00, 77, 6c, 30, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 01, 08, 82, 84, 8b, 96, 0c, 12, 18, 24, 32, 04, 30, 48, 60, 6c, 2d, 1a, ed, 11, 1b, ff, ff, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 01, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 3d, 16, 0b, 00, 17, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 7f, 08, 04, 00, 08, 02, 00, 00, 00, 40, 5a, 03, 24, 01, 00, dd, 18]
55.063842 DEBUG === EVENT REASSOC: EventMessage { version: 2, flags: 0, event_type: 9, status: 0, reason: 0, auth_type: 0, datalen: 115, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } [1c, f2, 9a, 9a, bf, d4, 77, 6c, 30, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 31, 14, 00, 00, 03, c0, 01, 08, 82, 84, 8b, 96, 0c, 12, 18, 24, 32, 04, 30, 48, 60, 6c, 2d, 1a, ed, 11, 1b, ff, ff, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 01, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 3d, 16, 0b, 00, 17, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 7f, 08, 04, 00, 08, 02, 00, 00, 00, 40, 5a, 03, 24, 01, 00, dd, 18]
55.064490 DEBUG === EVENT LINK: EventMessage { version: 2, flags: 1, event_type: 16, status: 0, reason: 0, auth_type: 0, datalen: 22, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } [1c, f2, 9a, 9a, bf, d4, 77, 6c, 30, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00]
55.156029 DEBUG === EVENT JOIN: EventMessage { version: 2, flags: 0, event_type: 1, status: 0, reason: 0, auth_type: 0, datalen: 0, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } []
55.156483 DEBUG === EVENT BSSID: EventMessage { version: 2, flags: 0, event_type: 125, status: 0, reason: 0, auth_type: 0, datalen: 0, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } []
55.157091 DEBUG === EVENT ROAM: EventMessage { version: 2, flags: 0, event_type: 19, status: 0, reason: 2, auth_type: 0, datalen: 0, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } []
57.571709 DEBUG === EVENT PSK_SUP: EventMessage { version: 2, flags: 0, event_type: 46, status: 8, reason: 15, auth_type: 0, datalen: 0, addr: [85, 0, 22, 48, 20, 1], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } []
58.335606 DEBUG === EVENT MULTICAST_DECODE_ERROR: EventMessage { version: 2, flags: 0, event_type: 51, status: 0, reason: 0, auth_type: 0, datalen: 0, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } []
58.540830 DEBUG === EVENT MULTICAST_DECODE_ERROR: EventMessage { version: 2, flags: 0, event_type: 51, status: 0, reason: 0, auth_type: 0, datalen: 0, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } []
58.950122 DEBUG === EVENT MULTICAST_DECODE_ERROR: EventMessage { version: 2, flags: 0, event_type: 51, status: 0, reason: 0, auth_type: 0, datalen: 0, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } []
59.084179 DEBUG === EVENT PSK_SUP: EventMessage { version: 2, flags: 0, event_type: 46, status: 8, reason: 14, auth_type: 0, datalen: 0, addr: [173, 222, 4, 1, 0, 0], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } []
59.084629 DEBUG === EVENT DEAUTH_IND: EventMessage { version: 2, flags: 0, event_type: 6, status: 0, reason: 2, auth_type: 0, datalen: 2, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } [1c, f2]
59.085342 DEBUG === EVENT WAI_STA_EVENT: EventMessage { version: 2, flags: 0, event_type: 67, status: 0, reason: 0, auth_type: 0, datalen: 292, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } [1c, f2, 9a, 9a, bf, d4, 77, 6c, 30, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, f3, 00, 24, 01, 28, cd, c1, 04, b2, a1, 00, 00, 1c, f2, 9a, 9a, bf, d4, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00]
60.072917 DEBUG === EVENT ROAM_PREP: EventMessage { version: 2, flags: 0, event_type: 32, status: 0, reason: 0, auth_type: 0, datalen: 0, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } []
60.079729 DEBUG === EVENT ASSOC_REQ_IE: EventMessage { version: 2, flags: 0, event_type: 87, status: 0, reason: 0, auth_type: 0, datalen: 82, addr: [0, 0, 0, 0, 0, 0], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } [00, 00, 00, 00, 00, 00, 77, 6c, 30, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 0e, 6b, 69, 6e, 67, 64, 6f, 6d, 20, 6f, 66, 20, 62, 6f, 7a, 01, 08, 82, 84, 8b, 96, 24, 30, 48, 6c, 32, 04, 0c, 12, 18, 60, 21, 02, 05, 17, 24, 02, 01, 0e, 30, 14, 01, 00, 00, 0f, ac, 04, 01, 00, 00, 0f, ac, 04, 01, 00, 00, 0f]
60.080323 DEBUG === EVENT AUTH: EventMessage { version: 2, flags: 0, event_type: 3, status: 0, reason: 0, auth_type: 0, datalen: 0, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } []
60.092634 DEBUG === EVENT ASSOC_RESP_IE: EventMessage { version: 2, flags: 0, event_type: 88, status: 0, reason: 0, auth_type: 0, datalen: 109, addr: [0, 0, 0, 0, 0, 0], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } [00, 00, 00, 00, 00, 00, 77, 6c, 30, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 01, 08, 82, 84, 8b, 96, 0c, 12, 18, 24, 32, 04, 30, 48, 60, 6c, 2d, 1a, ed, 11, 1b, ff, ff, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 01, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 3d, 16, 0b, 00, 17, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 7f, 08, 04, 00, 08, 02, 00, 00, 00, 40, 5a, 03, 24, 01, 00, dd, 18]
60.093231 DEBUG === EVENT REASSOC: EventMessage { version: 2, flags: 0, event_type: 9, status: 0, reason: 0, auth_type: 0, datalen: 115, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } [1c, f2, 9a, 9a, bf, d4, 77, 6c, 30, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 31, 14, 00, 00, 03, c0, 01, 08, 82, 84, 8b, 96, 0c, 12, 18, 24, 32, 04, 30, 48, 60, 6c, 2d, 1a, ed, 11, 1b, ff, ff, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 01, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 3d, 16, 0b, 00, 17, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 7f, 08, 04, 00, 08, 02, 00, 00, 00, 40, 5a, 03, 24, 01, 00, dd, 18]
60.094033 DEBUG === EVENT LINK: EventMessage { version: 2, flags: 1, event_type: 16, status: 0, reason: 0, auth_type: 0, datalen: 22, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } [1c, f2, 9a, 9a, bf, d4, 77, 6c, 30, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00]
60.173601 DEBUG === EVENT JOIN: EventMessage { version: 2, flags: 0, event_type: 1, status: 0, reason: 0, auth_type: 0, datalen: 0, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } []
60.174053 DEBUG === EVENT BSSID: EventMessage { version: 2, flags: 0, event_type: 125, status: 0, reason: 0, auth_type: 0, datalen: 0, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } []
60.174653 DEBUG === EVENT ROAM: EventMessage { version: 2, flags: 0, event_type: 19, status: 0, reason: 2, auth_type: 0, datalen: 0, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } []
61.607173 DEBUG === EVENT MULTICAST_DECODE_ERROR: EventMessage { version: 2, flags: 0, event_type: 51, status: 0, reason: 0, auth_type: 0, datalen: 0, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } []
61.742105 DEBUG DHCP send DISCOVER to 255.255.255.255: Repr { message_type: Discover, transaction_id: 4185445168, client_hardware_address: Address([40, 205, 193, 4, 178, 161]), client_ip: 0.0.0.0, your_ip: 0.0.0.0, server_ip: 0.0.0.0, router: None, subnet_mask: None, relay_agent_ip: 0.0.0.0, broadcast: false, requested_ip: None, client_identifier: Some(Address([40, 205, 193, 4, 178, 161])), server_identifier: None, parameter_request_list: Some([1, 3, 6]), dns_servers: None, max_size: Some(1432), lease_duration: None }
62.601605 DEBUG === EVENT PSK_SUP: EventMessage { version: 2, flags: 0, event_type: 46, status: 8, reason: 15, auth_type: 0, datalen: 0, addr: [243, 0, 22, 48, 20, 1], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } []
64.112555 DEBUG === EVENT PSK_SUP: EventMessage { version: 2, flags: 0, event_type: 46, status: 8, reason: 14, auth_type: 0, datalen: 0, addr: [0, 0, 189, 89, 181, 3], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } []
64.112990 DEBUG === EVENT DEAUTH_IND: EventMessage { version: 2, flags: 0, event_type: 6, status: 0, reason: 2, auth_type: 0, datalen: 2, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } [1c, f2]
64.113737 DEBUG === EVENT WAI_STA_EVENT: EventMessage { version: 2, flags: 0, event_type: 67, status: 0, reason: 0, auth_type: 0, datalen: 292, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } [1c, f2, 9a, 9a, bf, d4, 77, 6c, 30, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, f3, 00, 24, 01, 28, cd, c1, 04, b2, a1, 00, 00, 1c, f2, 9a, 9a, bf, d4, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00]
65.096262 DEBUG === EVENT ROAM_PREP: EventMessage { version: 2, flags: 0, event_type: 32, status: 0, reason: 0, auth_type: 0, datalen: 0, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } []
65.107241 DEBUG === EVENT ASSOC_REQ_IE: EventMessage { version: 2, flags: 0, event_type: 87, status: 0, reason: 0, auth_type: 0, datalen: 82, addr: [0, 0, 0, 0, 0, 0], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } [00, 00, 00, 00, 00, 00, 77, 6c, 30, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 0e, 6b, 69, 6e, 67, 64, 6f, 6d, 20, 6f, 66, 20, 62, 6f, 7a, 01, 08, 82, 84, 8b, 96, 24, 30, 48, 6c, 32, 04, 0c, 12, 18, 60, 21, 02, 05, 17, 24, 02, 01, 0e, 30, 14, 01, 00, 00, 0f, ac, 04, 01, 00, 00, 0f, ac, 04, 01, 00, 00, 0f]
65.107845 DEBUG === EVENT AUTH: EventMessage { version: 2, flags: 0, event_type: 3, status: 0, reason: 0, auth_type: 0, datalen: 0, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } []
65.179288 DEBUG === EVENT ASSOC_RESP_IE: EventMessage { version: 2, flags: 0, event_type: 88, status: 0, reason: 0, auth_type: 0, datalen: 109, addr: [0, 0, 0, 0, 0, 0], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } [00, 00, 00, 00, 00, 00, 77, 6c, 30, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 01, 08, 82, 84, 8b, 96, 0c, 12, 18, 24, 32, 04, 30, 48, 60, 6c, 2d, 1a, ed, 11, 1b, ff, ff, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 01, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 3d, 16, 0b, 00, 17, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 7f, 08, 04, 00, 08, 02, 00, 00, 00, 40, 5a, 03, 24, 01, 00, dd, 18]
65.179904 DEBUG === EVENT REASSOC: EventMessage { version: 2, flags: 0, event_type: 9, status: 0, reason: 0, auth_type: 0, datalen: 115, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } [1c, f2, 9a, 9a, bf, d4, 77, 6c, 30, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 31, 14, 00, 00, 03, c0, 01, 08, 82, 84, 8b, 96, 0c, 12, 18, 24, 32, 04, 30, 48, 60, 6c, 2d, 1a, ed, 11, 1b, ff, ff, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 01, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 3d, 16, 0b, 00, 17, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 7f, 08, 04, 00, 08, 02, 00, 00, 00, 40, 5a, 03, 24, 01, 00, dd, 18]
65.180709 DEBUG === EVENT LINK: EventMessage { version: 2, flags: 1, event_type: 16, status: 0, reason: 0, auth_type: 0, datalen: 22, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } [1c, f2, 9a, 9a, bf, d4, 77, 6c, 30, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00]
65.215498 DEBUG === EVENT JOIN: EventMessage { version: 2, flags: 0, event_type: 1, status: 0, reason: 0, auth_type: 0, datalen: 0, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } []
65.215941 DEBUG === EVENT BSSID: EventMessage { version: 2, flags: 0, event_type: 125, status: 0, reason: 0, auth_type: 0, datalen: 0, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } []
65.216550 DEBUG === EVENT ROAM: EventMessage { version: 2, flags: 0, event_type: 19, status: 0, reason: 2, auth_type: 0, datalen: 0, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } []
```
I can see some JOIN event, some DHCP discovery broadcast, but there is then a DEAUTH_IND event and it starts again.
And I think it's because I gave it the wrong password... Flashing the 77 pages / 300 kB of the program really takes a while...
From the `main.rs`:
```
// Include the WiFi firmware and Country Locale Matrix (CLM) blobs.
let fw = include_bytes!("../../../firmware/43439A0.bin");
let clm = include_bytes!("../../../firmware/43439A0_clm.bin");
// To make flashing faster for development, you may want to flash the firmwares independently
// at hardcoded addresses, instead of baking them into the program with `include_bytes!`:
// probe-rs-cli download 43439A0.bin --format bin --chip RP2040 --base-address 0x10100000
// probe-rs-cli download 43439A0.clm_blob --format bin --chip RP2040 --base-address 0x10140000
//let fw = unsafe { core::slice::from_raw_parts(0x10100000 as *const u8, 224190) };
//let clm = unsafe { core::slice::from_raw_parts(0x10140000 as *const u8, 4752) };
```
One of them really makes up the brunt of it:
```
rwxr-xr-x 1 manuel staff 224190 Oct 1 11:15 ./cyw43/firmware/43439A0.bin
-rwxr-xr-x 1 manuel staff 4752 Oct 1 11:15 ./cyw43/firmware/43439A0_clm.bin
```
This actually worked much better:
```
4.787751 DEBUG === EVENT JOIN: EventMessage { version: 2, flags: 0, event_type: 1, status: 0, reason: 0, auth_type: 0, datalen: 0, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } []
4.788194 DEBUG === EVENT SET_SSID: EventMessage { version: 2, flags: 0, event_type: 0, status: 0, reason: 0, auth_type: 0, datalen: 14, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } [1c, f2, 9a, 9a, bf, d4, 77, 6c, 30, 00, 00, 00, 00, 00]
4.811427 DEBUG === EVENT PSK_SUP: EventMessage { version: 2, flags: 0, event_type: 46, status: 6, reason: 0, auth_type: 0, datalen: 0, addr: [194, 95, 150, 128, 186, 55], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } []
11.754100 DEBUG DHCP send DISCOVER to 255.255.255.255: Repr { message_type: Discover, transaction_id: 2085640647, client_hardware_address: Address([40, 205, 193, 4, 178, 161]), client_ip: 0.0.0.0, your_ip: 0.0.0.0, server_ip: 0.0.0.0, router: None, subnet_mask: None, relay_agent_ip: 0.0.0.0, broadcast: false, requested_ip: None, client_identifier: Some(Address([40, 205, 193, 4, 178, 161])), server_identifier: None, parameter_request_list: Some([1, 3, 6]), dns_servers: None, max_size: Some(1432), lease_duration: None }
15.004014 DEBUG DHCP recv Offer from 192.168.23.1: Repr { message_type: Offer, transaction_id: 2085640647, client_hardware_address: Address([40, 205, 193, 4, 178, 161]), client_ip: 0.0.0.0, your_ip: 192.168.23.20, server_ip: 192.168.23.1, router: Some(192.168.23.1), subnet_mask: Some(255.255.255.0), relay_agent_ip: 0.0.0.0, broadcast: false, requested_ip: None, client_identifier: None, server_identifier: Some(192.168.23.1), parameter_request_list: None, dns_servers: Some([Some(192.168.23.1), None, None]), max_size: None, lease_duration: Some(86400) }
15.004603 DEBUG DHCP send request to 255.255.255.255: Repr { message_type: Request, transaction_id: 2403751650, client_hardware_address: Address([40, 205, 193, 4, 178, 161]), client_ip: 0.0.0.0, your_ip: 0.0.0.0, server_ip: 0.0.0.0, router: None, subnet_mask: None, relay_agent_ip: 0.0.0.0, broadcast: false, requested_ip: Some(192.168.23.20), client_identifier: Some(Address([40, 205, 193, 4, 178, 161])), server_identifier: Some(192.168.23.1), parameter_request_list: Some([1, 3, 6]), dns_servers: None, max_size: Some(1432), lease_duration: None }
15.020519 DEBUG DHCP recv Ack from 192.168.23.1: Repr { message_type: Ack, transaction_id: 2403751650, client_hardware_address: Address([40, 205, 193, 4, 178, 161]), client_ip: 0.0.0.0, your_ip: 192.168.23.20, server_ip: 192.168.23.1, router: Some(192.168.23.1), subnet_mask: Some(255.255.255.0), relay_agent_ip: 0.0.0.0, broadcast: false, requested_ip: None, client_identifier: None, server_identifier: Some(192.168.23.1), parameter_request_list: None, dns_servers: Some([Some(192.168.23.1), None, None]), max_size: None, lease_duration: Some(86400) }
15.021299 DEBUG Acquired IP configuration:
15.021323 DEBUG IP address: 192.168.23.20/24
15.021401 DEBUG Default gateway: 192.168.23.1
15.021501 DEBUG DNS server 0: 192.168.23.1
18.921220 DEBUG non-unicast source address
48.821999 DEBUG non-unicast source address
```
Let's try flashing the wifi firmware separately:
```
cyw43/examples/rpi-pico-w on master is 📦 v0.1.0 via 🦀 v1.64.0-nightly on ☁️ ttc (us-east-1)
❯ cargo install probe-rs-cli
Updating crates.io index
Downloaded probe-rs-cli v0.13.0
Downloaded 1 crate (23.5 KB) in 0.17s
Installing probe-rs-cli v0.13.0
...
cyw43/examples/rpi-pico-w on master is 📦 v0.1.0 via 🦀 v1.64.0-nightly on ☁️ ttc (us-east-1) took 44s
❯ probe-rs-cli download ../../firmware/43439A0.bin --format bin --chip RP2040 --base-address 0x10100000
Erasing sectors ✔ [00:00:03] [#############################################] 220.00KiB/220.00KiB @ 69.58KiB/s (eta 0s )
Programming pages ✔ [00:00:12] [#############################################] 220.00KiB/220.00KiB @ 13.68KiB/s (eta 0s )
Finished in 15.68s
cyw43/examples/rpi-pico-w on master is 📦 v0.1.0 via 🦀 v1.64.0-nightly on ☁️ ttc (us-east-1)
❯ WIFI_NETWORK="XXX" WIFI_PASSWORD="XXX" cargo run --release
Compiling cyw43-example-rpi-pico-w v0.1.0 (/Users/manuel/code/others/rust/cyw43/examples/rpi-pico-w)
Finished release [optimized + debuginfo] target(s) in 2.96s
Running `probe-run --chip RP2040 target/thumbv6m-none-eabi/release/cyw43-example-rpi-pico-w`
(HOST) WARN (BUG) location info is incomplete; it will be omitted from the output
(HOST) INFO flashing program (23 pages / 92.00 KiB)
(HOST) INFO success!
────────────────────────────────────────────────────────────────────────────────
0.001156 INFO Hello World!
0.271257 INFO waiting for ping...
0.271379 INFO ping ok
0.271652 INFO waiting for clock...
0.271713 INFO clock ok
0.271850 INFO chip ID: 43439
0.274282 INFO loading fw
0.537636 INFO loading nvram
0.538745 INFO starting up core...
0.559717 INFO waiting for wifi init...
0.644122 INFO init done
0.644298 INFO Downloading CLM...
0.645880 WARN TX stalled
0.646362 WARN unexpected ethernet type 0x2613, expected Broadcom ether type 0x886c
0.646727 WARN unexpected ethernet type 0x2613, expected Broadcom ether type 0x886c
0.647724 INFO IOCTL Response: [63, 6c, 6d, 6c, 6f, 61, 64, 00, 02, 10, 02, 00, 00, 04, 00, 00, 00, 00, 00, 00, 42, 4c, 4f, 42, 3c, 00, 00, 00, 2b, 25, e5, 32, 01, 00, 00, 00, 02, 00, 00, 00, 00, 00, 00, 00, 3c, 00, 00, 00, 50, 12, 00, 00, db, 81, 05, 17, 00, 00, 00, 00, 00, 00, 00, 00, 8c, 12, 00, 00, 04, 00, 00, 00, a0, b0, e5, e2, 00, 00, 00, 00, 43, 4c, 4d, 20, 44, 41, 54, 41, 00, 00, 0c, 00, 02, 00, 39, 2e, 31, 30, 2e, 33, 39, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 31, 2e, 32, 39, 2e, 34, 00, 00, 00, 00, 00, 00, 00, 00, 94, 00, 00, 00, 43, 6c, 6d, 49, 6d, 70, 6f, 72, 74, 3a, 20, 31, 2e, 33, 36, 2e, 33, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 42, 72, 6f, 61, 64, 63, 6f, 6d, 2d, 30, 2e, 30, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 01, 01, 01, 0a, 01, 0b, 01, 0c, 01, 0d, 01, 0e, 02, 02, 02, 0a, 02, 0b, 02, 0c, 03, 09, 0a, 0a, 0b, 0b, 0c, 0c, 0c, 0d, 0c, 0e, 0d, 0d, 0e, 0e, 51, 31, 00, 51, 32, 00, 00, 00, d0, 11, 00, 00, 2c, 04, 00, 00, 68, 00, 00, 00, 54, 01, 00, 00, 34, 04, 00, 00, 00, 00, 00, 00, 98, 02, 00, 00, 00, 00, 00, 00, dd, 10, 00, 00, 00, 00, 00, 00, 4c, 01, 00, 00, 48, 12, 00, 00, 20, 12, 00, 00, 7f, b2, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, fc, 11, 00, 00, 00, 00, 00, 00, 7e, 02, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 67, 01, 00, 00, 3b, 04, 00, 00, 01, 0e, 01, 0f, 45, 30, 00, 58, 41, 00, 58, 55, 00, 41, 45, 01, 41, 52, 01, 41, 54, 01, 41, 55, 02, 42, 45, 01, 42, 47, 01, 42, 4e, 01, 43, 41, 02, 43, 48, 01, 43, 59, 01, 43, 5a, 01, 44, 45, 03, 44, 4b, 01, 45, 45, 01, 45, 53, 01, 46, 49, 01, 46, 52, 01, 47, 42, 01, 47, 52, 01, 48, 52, 01, 48, 55, 01, 49, 44, 05, 49, 45, 01, 49, 53, 01, 49, 54, 01, 4a, 50, 03, 4b, 52, 04, 4b, 57, 01, 4c, 49, 01, 4c, 54, 01, 4c, 55, 01, 4c, 56, 01, 4d, 41, 01, 4d, 54, 01, 4d, 58, 01, 4e, 4c, 01, 4e, 4f, 01, 50, 4c, 01, 50, 54, 01, 50, 59, 01, 52, 4f, 01, 52, 55, 05, 53, 45, 01, 53, 49, 01, 53, 4b, 01, 54, 52, 07, 54, 57, 02, 55, 53, 1a, 41, 45, 01, 41, 52, 01, 41, 54, 01, 41, 55, 02, 42, 45, 01, 42, 47, 01, 42, 4e, 01, 43, 41, 02, 43, 48, 01, 43, 59, 01, 43, 5a, 01, 44, 45, 03, 44, 4b, 01, 45, 45, 01, 45, 53, 01, 46, 49, 01, 46, 52, 01, 47, 42, 01, 47, 52, 01, 48, 52, 01, 48, 55, 01, 49, 44, 05, 49, 45, 01, 49, 53, 01, 49, 54, 01, 4a, 50, 03, 4b, 52, 04, 4b, 57, 01, 4c, 49, 01, 4c, 54, 01, 4c, 55, 01, 4c, 56, 01, 4d, 41, 01, 4d, 54, 01, 4d, 58, 01, 4e, 4c, 01, 4e, 4f, 01, 50, 4c, 01, 50, 54, 01, 50, 59, 01, 52, 4f, 01, 52, 55, 05, 53, 45, 01, 53, 49, 01, 53, 4b, 01, 54, 57, 02, 55, 53, 19, 32, 30, 32, 31, 2d, 31, 31, 2d, 32, 39, 20, 32, 32, 3a, 34, 32, 3a, 33, 31, 00, 41, 55, 02, 4a, 50, 01, 01, 00, ff, 01, 1e, 02, 00, 03, 4c, 01, 03, 4c, 02, 01, 42, 0c, 03, 01, 00, ff, 01, 1e, 02, 00, 07, 48, 00, 01, 3a, 00, 03, 44, 06, 03, 4a, 08, 01, 4a, 0a, 03, 44, 0b, 03, 42, 0c, 03, 01, 00, ff, 01, 1e, 02, 00, 02, 40, 02, 01, 38, 02, 03, 01, 00, ff, 01, 1e, 02, 00, 05, 48, 00, 01, 4c, 01, 03, 4c, 07, 01, 48, 0c, 01, 42, 0c, 03, 01, 00, ff, 01, 1e, 02, 00, 04, 3a, 00, 03, 44, 02, 01, 42, 07, 03, 3a, 0c, 03, 01, 00, ff, 01, 1e, 02, 00, 05, 5c, 00, 01, 56, 00, 03, 7e, 07, 00, 5c, 0c, 01, 56, 0c, 03, 01, 00, ff, 01, 1e, 02, 00, 05, 46, 00, 03, 50, 01, 01, 50, 07, 03, 4c, 0c, 01, 48, 0c, 03, 02, 04, ff, 01, 14, 04, 02, 01, 4c, 04, 00, 02, 00, 00, 01, 14, 04, 02, 01, 4c, 04, 01, 02, 00, ff, 01, 14, 04, 00, 01, 4c, 04, 00, 03, 00, 01, 01, 14, 05, 02, 05, 4c, 01, 03, 4c, 04, 01, 46, 0c, 03, 4c, 0e, 03, 36, 11, 01, 03, 00, 01, 01, 14, 05, 00, 06, 3c, 00, 03, 44, 02, 01, 40, 08, 03, 30, 0e, 01, 2c, 0e, 03, 40, 11, 01, 03, 00, 01, 01, 14, 05, 00, 03, 40, 03, 03, 40, 05, 01, 2e, 10, 03, 02, 00, 00, 01, 14, 04, 00, 03, 40, 02, 00, 30, 0e, 01, 2c, 0e, 03, 03, 00, 01, 01, 14, 05, 00, 06, 3e, 00, 03, 42, 04, 01, 42, 07, 03, 3e, 0c, 03, 42, 0e, 03, 2a, 11, 01, 03, 00, ff, 01, 14, 05, 02, 02, 54]
0.652534 INFO IOCTL Response: [63, 6c, 6d, 6c, 6f, 61, 64, 00, 00, 10, 02, 00, 00, 04, 00, 00, 00, 00, 00, 00, 04, 03, 4e, 05, 01, 01, 00, ff, 01, 14, 02, 00, 02, 45, 02, 01, 4f, 02, 03, 03, 00, ff, 01, 1e, 05, 00, 01, 78, 05, 00, 00, 00, ff, 00, 00, 00, 02, 00, ff, 01, 17, 04, 02, 01, 5c, 04, 00, 02, 00, ff, 01, 24, 04, 02, 01, 64, 04, 00, 02, 04, 00, 01, 14, 04, 02, 01, 4c, 04, 00, 01, 00, ff, 01, 14, 02, 02, 01, 4c, 02, 00, 02, 00, ff, 01, 14, 04, 04, 03, 38, 00, 03, 40, 09, 03, 38, 10, 03, 02, 01, 4c, 04, 01, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 01, 02, 01, 04, 01, 05, 23, 61, 00, 11, ff, 13, ff, cc, 00, 23, 6e, 00, 12, ff, ff, ff, fc, 00, 23, 72, 00, 11, ff, 13, ff, cc, 00, 30, 41, 00, 07, ff, ff, ff, fc, 10, 30, 42, 00, 00, ff, 00, ff, cc, 10, 30, 43, 00, 07, ff, 0d, ff, cc, 10, 41, 43, 00, 12, ff, ff, ff, fc, 10, 41, 44, 00, 07, ff, 0e, ff, cc, 30, 41, 45, 00, 07, ff, 06, ff, cc, 20, 41, 45, 01, 07, ff, 06, ff, cc, 20, 41, 46, 00, 07, ff, 0e, ff, cc, 30, 41, 47, 00, 07, ff, 06, ff, cc, 20, 41, 49, 00, 06, ff, 05, ff, cc, 10, 41, 4c, 00, 07, ff, 06, ff, cc, 20, 41, 4d, 00, 07, ff, 0d, ff, cc, 00, 41, 4e, 00, 07, ff, 06, ff, cc, 20, 41, 4f, 00, 07, ff, ff, ff, fc, 10, 41, 51, 00, 12, ff, ff, ff, fc, 10, 41, 52, 00, 07, ff, 06, ff, cc, 00, 41, 52, 01, 07, ff, 06, ff, cc, 00, 41, 53, 00, 06, ff, 05, ff, cc, 10, 41, 54, 00, 07, ff, 06, ff, cc, 20, 41, 54, 01, 07, ff, 06, ff, cc, 20, 41, 55, 00, 14, ff, 18, ff, cc, 00, 41, 55, 02, 14, ff, 17, ff, cc, 00, 41, 57, 00, 07, ff, 06, ff, cc, 00, 41, 58, 00, 12, ff, ff, ff, fc, 10, 41, 5a, 00, 07, ff, 06, ff, cc, 20, 42, 41, 00, 07, ff, 06, ff, cc, 20, 42, 42, 00, 07, ff, 0d, ff, cc, 10, 42, 44, 00, 07, ff, 06, ff, cc, 00, 42, 45, 00, 07, ff, 06, ff, cc, 20, 42, 45, 01, 07, ff, 06, ff, cc, 20, 42, 46, 00, 07, ff, 0e, ff, cc, 10, 42, 47, 00, 07, ff, 06, ff, cc, 20, 42, 47, 01, 07, ff, 06, ff, cc, 20, 42, 48, 00, 07, ff, 06, ff, cc, 00, 42, 49, 00, 07, ff, 0e, ff, cc, 10, 42, 4a, 00, 07, ff, 0e, ff, cc, 30, 42, 4c, 00, 12, ff, ff, ff, fc, 10, 42, 4d, 00, 06, ff, 05, ff, cc, 10, 42, 4e, 00, 07, ff, ff, ff, fc, 00, 42, 4e, 01, 13, ff, 16, ff, cc, 00, 42, 4f, 00, 07, ff, 0d, ff, cc, 20, 42, 51, 00, 12, ff, ff, ff, fc, 10, 42, 52, 00, 07, ff, 06, ff, cc, 20, 42, 53, 00, 14, ff, 17, ff, cc, 00, 42, 54, 00, 07, ff, 0d, ff, cc, 30, 42, 56, 00, 12, ff, ff, ff, fc, 10, 42, 57, 00, 07, ff, 0d, ff, cc, 30, 42, 59, 00, 07, ff, ff, ff, fc, 00, 42, 5a, 00, 07, ff, 0d, ff, cc, 10, 43, 41, 00, 00, ff, 00, ff, cc, 00, 43, 41, 02, 06, ff, 05, ff, cc, 10, 43, 43, 00, 12, ff, ff, ff, fc, 10, 43, 44, 00, 07, ff, 0e, ff, cc, 30, 43, 46, 00, 07, ff, 0e, ff, cc, 10, 43, 47, 00, 07, ff, 0e, ff, cc, 30, 43, 48, 00, 07, ff, 06, ff, cc, 20, 43, 48, 01, 07, ff, 06, ff, cc, 20, 43, 49, 00, 07, ff, 0e, ff, cc, 30, 43, 4b, 00, 07, ff, 0d, ff, cc, 10, 43, 4c, 00, 07, ff, 06, ff, cc, 00, 43, 4d, 00, 07, ff, 0e, ff, cc, 10, 43, 4e, 00, 17, ff, 1a, ff, cc, 00, 43, 4f, 00, 07, ff, 06, ff, cc, 20, 43, 50, 00, 12, ff, ff, ff, fc, 10, 43, 52, 00, 07, ff, 06, ff, cc, 20, 43, 55, 00, 07, ff, 0e, ff, cc, 30, 43, 56, 00, 07, ff, 0e, ff, cc, 10, 43, 57, 00, 12, ff, ff, ff, fc, 10, 43, 58, 00, 14, ff, 17, ff, cc, 10, 43, 59, 00, 07, ff, 06, ff, cc, 20, 43, 59, 01, 07, ff, 06, ff, cc, 20, 43, 5a, 00, 07, ff, 06, ff, cc, 20, 43, 5a, 01, 07, ff, 06, ff, cc, 20, 44, 45, 00, 07, ff, 06, ff, cc, 20, 44, 45, 03, 07, ff, 06, ff, cc, 20, 44, 4a, 00, 07, ff, ff, ff, fc, 10, 44, 4b, 00, 07, ff, 06, ff, cc, 20, 44, 4b, 01, 07, ff, 06, ff, cc, 20, 44, 4d, 00, 07, ff, 0d, ff, cc, 10, 44, 4f, 00, 07, ff, 0d, ff, cc, 10, 44, 5a, 00, 07, ff, 06, ff, cc, 20, 45, 30, 00, 07, ff, 06, ff, cc, 20, 45, 43, 00, 07, ff, 06, ff, cc, 20, 45, 45, 00, 07, ff, 06, ff, cc, 20, 45, 45, 01, 07, ff, 06, ff, cc, 20, 45, 47, 00, 07, ff, 15, ff, cc, 00, 45, 48, 00, 07, ff, 0d, ff, cc, 10, 45, 52, 00, 07, ff, ff, ff, fc, 10, 45, 53, 00, 07, ff, 06, ff, cc, 20, 45, 53, 01, 07, ff, 06, ff, cc, 20, 45, 54, 00, 07, ff, 06, ff, cc, 00, 46, 49, 00, 07, ff, 06, ff, cc, 20, 46, 49, 01, 07, ff, 06, ff, cc, 20, 46, 4a, 00, 07, ff, 0d, ff, cc, 10, 46, 4b, 00, 07, ff, 0e, ff, cc, 10, 46, 4d, 00, 06, ff, 05, ff, cc, 10, 46, 4f, 00, 07, ff, 0e, ff, cc, 30, 46, 52, 00, 07, ff]
0.727376 INFO IOCTL Response: [63, 6c, 6d, 6c, 6f, 61, 64, 00, 00, 10, 02, 00, 00, 04, 00, 00, 00, 00, 00, 00, 06, ff, cc, 20, 46, 52, 01, 07, ff, 06, ff, cc, 20, 47, 41, 00, 07, ff, 0e, ff, cc, 10, 47, 42, 00, 07, ff, 06, ff, cc, 20, 47, 42, 01, 07, ff, 06, ff, cc, 20, 47, 44, 00, 07, ff, 06, ff, cc, 00, 47, 45, 00, 07, ff, 0e, ff, cc, 30, 47, 46, 00, 07, ff, 06, ff, cc, 00, 47, 47, 00, 07, ff, 0e, ff, cc, 10, 47, 48, 00, 07, ff, 0e, ff, cc, 30, 47, 49, 00, 07, ff, 0e, ff, cc, 10, 47, 4c, 00, 12, ff, ff, ff, fc, 10, 47, 4d, 00, 07, ff, 0e, ff, cc, 10, 47, 4e, 00, 07, ff, 0e, ff, cc, 30, 47, 50, 00, 07, ff, 06, ff, cc, 00, 47, 51, 00, 07, ff, 0e, ff, cc, 10, 47, 52, 00, 07, ff, 06, ff, cc, 20, 47, 52, 01, 07, ff, 06, ff, cc, 20, 47, 53, 00, 12, ff, ff, ff, fc, 10, 47, 54, 00, 07, ff, 0c, ff, cc, 10, 47, 55, 00, 00, ff, 00, ff, cc, 00, 47, 57, 00, 07, ff, 0e, ff, cc, 10, 47, 59, 00, 07, ff, 0d, ff, cc, 10, 48, 4b, 00, 14, ff, 18, ff, cc, 00, 48, 4d, 00, 12, ff, ff, ff, fc, 10, 48, 4e, 00, 07, ff, 0d, ff, cc, 00, 48, 52, 00, 07, ff, 06, ff, cc, 20, 48, 52, 01, 07, ff, 06, ff, cc, 20, 48, 54, 00, 07, ff, 0d, ff, cc, 00, 48, 55, 00, 07, ff, 06, ff, cc, 20, 48, 55, 01, 07, ff, 06, ff, cc, 20, 49, 44, 00, 07, ff, 06, ff, cc, 00, 49, 44, 05, 07, ff, 0e, ff, cc, 10, 49, 45, 00, 07, ff, 06, ff, cc, 20, 49, 45, 01, 07, ff, 06, ff, cc, 20, 49, 4c, 00, 07, ff, 06, ff, cc, 20, 49, 4d, 00, 07, ff, 0e, ff, cc, 10, 49, 4e, 00, 13, ff, 16, ff, cc, 20, 49, 4f, 00, 07, ff, 0e, ff, cc, 10, 49, 51, 00, 07, ff, 0e, ff, cc, 10, 49, 52, 00, 07, ff, 0e, ff, cc, 30, 49, 53, 00, 07, ff, 06, ff, cc, 20, 49, 53, 01, 07, ff, 06, ff, cc, 20, 49, 54, 00, 07, ff, 06, ff, cc, 20, 49, 54, 01, 07, ff, 06, ff, cc, 20, 4a, 30, 00, 07, ff, 10, ff, cc, 00, 4a, 31, 00, 0f, ff, ff, ff, fc, 00, 4a, 32, 00, 0f, ff, ff, ff, fc, 00, 4a, 33, 00, 0f, ff, ff, ff, fc, 00, 4a, 34, 00, 0f, ff, ff, ff, fc, 00, 4a, 35, 00, 0f, ff, ff, ff, fc, 00, 4a, 36, 00, 0f, ff, ff, ff, fc, 00, 4a, 37, 00, 0f, ff, ff, ff, fc, 00, 4a, 38, 00, 0f, ff, ff, ff, fc, 00, 4a, 39, 00, 07, ff, 10, ff, cc, 00, 4a, 45, 00, 07, ff, 0e, ff, cc, 10, 4a, 4d, 00, 07, ff, 0e, ff, cc, 10, 4a, 4f, 00, 07, ff, 06, ff, cc, 20, 4a, 50, 00, 0f, ff, 11, ff, cc, 00, 4a, 50, 01, 0f, ff, 10, ff, cc, 00, 4a, 50, 03, 0f, ff, 10, ff, cc, 00, 4a, 50, 58, 10, ff, 12, ff, cc, 00, 4b, 41, 00, 16, ff, 19, ff, cc, 00, 4b, 43, 00, 16, ff, 19, ff, cc, 00, 4b, 44, 00, 07, ff, 06, ff, cc, 00, 4b, 45, 00, 07, ff, 06, ff, cc, 20, 4b, 47, 00, 07, ff, 0e, ff, cc, 10, 4b, 48, 00, 07, ff, 06, ff, cc, 00, 4b, 49, 00, 14, ff, 17, ff, cc, 10, 4b, 4b, 00, 16, ff, 19, ff, cc, 00, 4b, 4d, 00, 07, ff, 0e, ff, cc, 10, 4b, 4e, 00, 07, ff, 0d, ff, cc, 10, 4b, 50, 00, 12, ff, ff, ff, fc, 10, 4b, 52, 00, 12, ff, 14, ff, cc, 00, 4b, 52, 04, 17, ff, 1a, ff, cc, 10, 4b, 57, 00, 07, ff, 06, ff, cc, 20, 4b, 57, 01, 07, ff, 06, ff, cc, 20, 4b, 58, 00, 07, ff, 06, ff, cc, 00, 4b, 59, 00, 08, ff, 08, ff, cc, 00, 4b, 5a, 00, 07, ff, 0d, ff, cc, 00, 4c, 41, 00, 07, ff, 06, ff, cc, 00, 4c, 42, 00, 07, ff, 06, ff, cc, 20, 4c, 43, 00, 07, ff, 0d, ff, cc, 10, 4c, 49, 00, 07, ff, 06, ff, cc, 00, 4c, 49, 01, 07, ff, 06, ff, cc, 00, 4c, 4b, 00, 13, ff, 16, ff, cc, 00, 4c, 52, 00, 07, ff, 15, ff, cc, 10, 4c, 53, 00, 07, ff, 06, ff, cc, 00, 4c, 54, 00, 07, ff, 06, ff, cc, 20, 4c, 54, 01, 07, ff, 06, ff, cc, 20, 4c, 55, 00, 07, ff, 06, ff, cc, 20, 4c, 55, 01, 07, ff, 06, ff, cc, 20, 4c, 56, 00, 07, ff, 06, ff, cc, 20, 4c, 56, 01, 07, ff, 06, ff, cc, 20, 4c, 59, 00, 07, ff, 0f, ff, cc, 10, 4d, 41, 00, 07, ff, 15, ff, cc, 20, 4d, 41, 01, 07, ff, 15, ff, cc, 20, 4d, 43, 00, 07, ff, 06, ff, cc, 00, 4d, 44, 00, 07, ff, 06, ff, cc, 20, 4d, 45, 00, 07, ff, 06, ff, cc, 20, 4d, 46, 00, 07, ff, 0d, ff, cc, 10, 4d, 47, 00, 07, ff, 0e, ff, cc, 30, 4d, 48, 00, 12, ff, ff, ff, fc, 10, 4d, 4b, 00, 07, ff, 06, ff, cc, 20, 4d, 4c, 00, 07, ff, 0e, ff, cc, 10, 4d, 4d, 00, 07, ff, 0e, ff, cc, 10, 4d, 4e, 00, 07, ff, 0c, ff, cc, 20, 4d, 4f, 00, 07, ff, 06, ff, cc, 00, 4d, 50, 00, 06, ff, 05, ff, cc, 10, 4d, 51, 00, 07, ff, 06, ff, cc, 00, 4d, 52, 00, 07, ff, 06, ff, cc, 00, 4d, 53, 00, 07, ff, 0e, ff, cc, 30, 4d, 54, 00, 07, ff, 06, ff, cc, 20, 4d, 54, 01, 07, ff, 06, ff, cc, 20, 4d, 55, 00]
0.840371 INFO IOCTL Response: [63, 6c, 6d, 6c, 6f, 61, 64, 00, 00, 10, 02, 00, 00, 04, 00, 00, 00, 00, 00, 00, 07, ff, 06, ff, cc, 20, 4d, 56, 00, 07, ff, 06, ff, cc, 20, 4d, 57, 00, 07, ff, 06, ff, cc, 20, 4d, 58, 00, 07, ff, 06, ff, cc, 00, 4d, 58, 01, 07, ff, 06, ff, cc, 00, 4d, 59, 00, 13, ff, 16, ff, cc, 00, 4d, 5a, 00, 07, ff, 0d, ff, cc, 10, 4e, 41, 00, 07, ff, 0d, ff, cc, 10, 4e, 43, 00, 07, ff, 0e, ff, cc, 10, 4e, 45, 00, 07, ff, 0e, ff, cc, 10, 4e, 46, 00, 07, ff, 0c, ff, cc, 00, 4e, 47, 00, 07, ff, 0e, ff, cc, 30, 4e, 49, 00, 07, ff, 06, ff, cc, 20, 4e, 4c, 00, 07, ff, 06, ff, cc, 20, 4e, 4c, 01, 07, ff, 06, ff, cc, 20, 4e, 4f, 00, 07, ff, 06, ff, cc, 20, 4e, 4f, 01, 07, ff, 06, ff, cc, 20, 4e, 50, 00, 13, ff, 16, ff, cc, 00, 4e, 52, 00, 07, ff, 0e, ff, cc, 10, 4e, 55, 00, 07, ff, ff, ff, fc, 10, 4e, 5a, 00, 07, ff, 06, ff, cc, 20, 4f, 4d, 00, 07, ff, 06, ff, cc, 20, 50, 41, 00, 13, ff, 16, ff, cc, 20, 50, 45, 00, 07, ff, 06, ff, cc, 20, 50, 46, 00, 07, ff, 0e, ff, cc, 10, 50, 47, 00, 07, ff, 06, ff, cc, 00, 50, 48, 00, 07, ff, 06, ff, cc, 20, 50, 4b, 00, 07, ff, 0c, ff, cc, 20, 50, 4c, 00, 07, ff, 06, ff, cc, 20, 50, 4c, 01, 07, ff, 06, ff, cc, 20, 50, 4d, 00, 07, ff, 0e, ff, cc, 10, 50, 4e, 00, 12, ff, ff, ff, fc, 10, 50, 52, 00, 00, ff, 00, ff, cc, 00, 50, 53, 00, 12, ff, ff, ff, fc, 00, 50, 54, 00, 07, ff, 06, ff, cc, 20, 50, 54, 01, 07, ff, 06, ff, cc, 20, 50, 57, 00, 07, ff, 0d, ff, cc, 10, 50, 59, 00, 07, ff, 06, ff, cc, 00, 50, 59, 01, 07, ff, 06, ff, cc, 00, 51, 31, 00, 02, ff, 02, ff, cc, 00, 51, 32, 00, 00, ff, 00, ff, cc, 00, 51, 41, 00, 07, ff, 0e, ff, cc, 30, 52, 45, 00, 07, ff, 06, ff, cc, 00, 52, 4f, 00, 07, ff, 06, ff, cc, 20, 52, 4f, 01, 07, ff, 06, ff, cc, 20, 52, 53, 00, 07, ff, 06, ff, cc, 20, 52, 55, 00, 07, ff, ff, ff, fc, 00, 52, 55, 05, 07, ff, 0c, ff, cc, 00, 52, 57, 00, 07, ff, 0e, ff, cc, 30, 53, 41, 00, 07, ff, 06, ff, cc, 20, 53, 42, 00, 07, ff, ff, ff, fc, 10, 53, 43, 00, 07, ff, 0d, ff, cc, 10, 53, 44, 00, 07, ff, 0e, ff, cc, 30, 53, 45, 00, 07, ff, 06, ff, cc, 20, 53, 45, 01, 07, ff, 06, ff, cc, 20, 53, 47, 00, 13, ff, 16, ff, cc, 20, 53, 48, 00, 12, ff, ff, ff, fc, 10, 53, 49, 00, 07, ff, 06, ff, cc, 20, 53, 49, 01, 07, ff, 06, ff, cc, 20, 53, 4a, 00, 12, ff, ff, ff, fc, 10, 53, 4b, 00, 07, ff, 06, ff, cc, 20, 53, 4b, 01, 07, ff, 06, ff, cc, 20, 53, 4c, 00, 07, ff, 0e, ff, cc, 10, 53, 4d, 00, 07, ff, 0e, ff, cc, 10, 53, 4e, 00, 07, ff, 06, ff, cc, 20, 53, 4f, 00, 07, ff, ff, ff, fc, 10, 53, 52, 00, 07, ff, 0e, ff, cc, 10, 53, 54, 00, 07, ff, 0e, ff, cc, 10, 53, 56, 00, 07, ff, 0c, ff, cc, 20, 53, 58, 00, 12, ff, ff, ff, fc, 10, 53, 59, 00, 12, ff, ff, ff, fc, 10, 53, 5a, 00, 07, ff, 0e, ff, cc, 10, 54, 41, 00, 12, ff, ff, ff, fc, 10, 54, 43, 00, 07, ff, 0e, ff, cc, 10, 54, 44, 00, 07, ff, 0e, ff, cc, 10, 54, 46, 00, 07, ff, 0e, ff, cc, 10, 54, 47, 00, 07, ff, 0e, ff, cc, 10, 54, 48, 00, 07, ff, 06, ff, cc, 20, 54, 4a, 00, 07, ff, 0e, ff, cc, 10, 54, 4b, 00, 12, ff, ff, ff, fc, 10, 54, 4c, 00, 07, ff, 0e, ff, cc, 30, 54, 4d, 00, 07, ff, 0e, ff, cc, 10, 54, 4e, 00, 07, ff, 06, ff, cc, 20, 54, 4f, 00, 07, ff, ff, ff, fc, 10, 54, 52, 00, 07, ff, 06, ff, cc, 20, 54, 52, 07, 07, ff, 0e, ff, cc, 30, 54, 54, 00, 07, ff, 06, ff, cc, 20, 54, 56, 00, 07, ff, ff, ff, fc, 10, 54, 57, 00, 00, ff, 00, ff, cc, 00, 54, 57, 02, 00, ff, 00, ff, cc, 00, 54, 5a, 00, 07, ff, 0e, ff, cc, 10, 55, 41, 00, 07, ff, ff, ff, fc, 00, 55, 47, 00, 07, ff, 06, ff, cc, 20, 55, 4d, 00, 00, ff, 00, ff, cc, 00, 55, 53, 00, 05, ff, 04, ff, cc, 00, 55, 53, 19, 0c, ff, 0a, ff, cc, 00, 55, 53, 1a, 04, ff, 01, ff, cc, 00, 55, 59, 00, 14, ff, 17, ff, cc, 00, 55, 5a, 00, 07, ff, 0e, ff, cc, 10, 56, 41, 00, 07, ff, 06, ff, cc, 00, 56, 43, 00, 07, ff, 0d, ff, cc, 10, 56, 45, 00, 07, ff, 06, ff, cc, 00, 56, 47, 00, 07, ff, 06, ff, cc, 00, 56, 49, 00, 00, ff, 00, ff, cc, 00, 56, 4e, 00, 07, ff, 06, ff, cc, 00, 56, 55, 00, 07, ff, 0d, ff, cc, 10, 57, 46, 00, 07, ff, 0d, ff, cc, 10, 57, 53, 00, 07, ff, 0c, ff, cc, 10, 58, 30, 00, 03, ff, 00, ff, cc, 00, 58, 31, 00, 07, ff, 06, ff, cc, 00, 58, 32, 00, 15, ff, 06, ff, cc, 00, 58, 33, 00, 07, ff, 06, ff, cc, 20, 58, 41, 00, 07, ff, ff, ff, fc, 00, 58, 42, 00, 00, ff, ff, ff, fc, 00, 58]
0.901665 INFO IOCTL Response: [63, 6c, 6d, 6c, 6f, 61, 64, 00, 04, 10, 02, 00, 90, 02, 00, 00, 00, 00, 00, 00, 52, 00, 01, ff, 03, ff, cc, 00, 58, 53, 00, 0d, ff, 0b, ff, cc, 20, 58, 54, 00, 0c, ff, 0a, ff, cc, 20, 58, 55, 00, 09, ff, 07, ff, cc, 20, 58, 56, 00, 0b, ff, 09, ff, cc, 20, 58, 57, 00, 16, ff, 19, ff, cc, 20, 58, 58, 00, 0a, ff, ff, ff, fc, 20, 58, 59, 00, 07, ff, 06, ff, cc, 20, 58, 5a, 00, 0e, ff, ff, ff, fc, 20, 59, 31, 00, 00, ff, ff, ff, fc, 10, 59, 32, 00, 00, ff, ff, ff, fc, 10, 59, 33, 00, 00, ff, ff, ff, fc, 10, 59, 34, 00, 00, ff, ff, ff, fc, 10, 59, 35, 00, 00, ff, ff, ff, fc, 10, 59, 36, 00, 00, ff, ff, ff, fc, 10, 59, 37, 00, 00, ff, ff, ff, fc, 10, 59, 45, 00, 07, ff, 0d, ff, cc, 10, 59, 54, 00, 07, ff, 06, ff, cc, 00, 59, 59, 00, 12, ff, ff, ff, fc, 00, 5a, 31, 00, 12, ff, ff, ff, fc, 10, 5a, 32, 00, 12, ff, ff, ff, fc, 10, 5a, 33, 00, 12, ff, ff, ff, fc, 10, 5a, 34, 00, 12, ff, ff, ff, fc, 10, 5a, 35, 00, 12, ff, ff, ff, fc, 10, 5a, 36, 00, 12, ff, ff, ff, fc, 10, 5a, 37, 00, 12, ff, ff, ff, fc, 10, 5a, 38, 00, 12, ff, ff, ff, fc, 10, 5a, 39, 00, 12, ff, ff, ff, fc, 10, 5a, 41, 00, 07, ff, 06, ff, cc, 20, 5a, 4d, 00, 13, ff, 16, ff, cc, 00, 5a, 57, 00, 07, ff, 0e, ff, cc, 30, 01, 0e, 01, 00, 05, 4c, 00, 02, 4c, 06, 02, 4c, 0a, 02, 4c, 0b, 02, 42, 0c, 02, 00, 03, 3a, 00, 02, 42, 07, 02, 3a, 0c, 02, 00, 01, 38, 02, 02, 00, 05, 3a, 00, 02, 44, 06, 02, 4a, 0a, 02, 44, 0b, 02, 42, 0c, 02, 00, 03, 56, 00, 02, 7e, 07, 02, 56, 0c, 02, 00, 05, 46, 00, 02, 50, 06, 02, 50, 0a, 02, 50, 0b, 02, 48, 0c, 02, 00, 01, 40, 04, 02, 00, 01, 4c, 04, 02, 00, 01, 40, 04, 02, 00, 04, 3c, 00, 02, 40, 08, 02, 2c, 0d, 02, 2c, 10, 02, 00, 02, 40, 03, 02, 2e, 10, 02, 00, 02, 40, 02, 02, 2c, 0e, 02, 02, 01, 4c, 04, 02, 02, 01, 4c, 04, 02, 02, 01, 4c, 04, 02, 02, 01, 4c, 04, 02, 00, 01, 40, 04, 02, 02, 01, 54, 04, 02, 00, 01, 4f, 02, 02, 00, 02, 78, 04, 02, 78, 11, 02, 00, 00, 00, 01, 40, 04, 02, 00, 01, 50, 04, 02, 00, 01, 58, 04, 02, 02, 01, 64, 04, 02, 00, 01, 40, 02, 02, 00, 03, 38, 00, 02, 40, 09, 02, 38, 10, 02, 00, 00, 00, 58, 41, 00, 00, 02, 00, 00, 00, 92, 02, 00, 00, 58, 54, 00, 00, 2f, 00, 00, 00, f1, 01, 00, 00, 58, 56, 00, 00, 30, 00, 00, 00, 61, 01, 00, 00, 01, 00, 00, 00, da, 10, 00, 00, 44, 45, 00, 00, 03, 00, 00, 00, 58, 01, 00, 00, 4a, 50, 00, 00, 0a, 00, 00, 00, 28, 12, 00, 00, 55, 53, 00, 00, 02, 00, 00, 00, 8c, 00, 00, 00, 0c, 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, 0a, 0b, 04, 00, 01, 02, 03, 08, 0c, 0d, 0e, 0f, 10, 11, 12, 13, 08, 04, 05, 06, 07, 08, 09, 0a, 0b, 03, 00, 00, 00, ac, 11, 00, 00, 4a, 30, 00, 4a, 31, 00, 4a, 32, 00, 4a, 33, 00, 4a, 34, 00, 4a, 35, 00, 4a, 36, 00, 4a, 37, 00, 4a, 38, 00, 4a, 39, 00, 00, 00, 03, 00, 00, 00, d8, 11, 00, 00, af, a9, 00, 00]
0.903236 INFO get clmload_status
0.904244 INFO IOCTL Response: [00, 00, 00, 00, 6f, 61, 64, 5f, 73, 74, 61, 74, 75, 73, 00]
0.904346 INFO Configuring misc stuff...
0.904397 INFO set bus:txglom = [00, 00, 00, 00]
0.905065 INFO IOCTL Response: [62, 75, 73, 3a, 74, 78, 67, 6c, 6f, 6d, 00, 00, 00, 00, 00]
0.905186 INFO set apsta = [01, 00, 00, 00]
0.905924 INFO IOCTL Response: [61, 70, 73, 74, 61, 00, 01, 00, 00, 00]
0.906039 INFO get cur_etheraddr
0.907058 INFO IOCTL Response: [28, cd, c1, 04, b2, a1, 68, 65, 72, 61, 64, 64, 72, 00]
0.907173 INFO mac addr: [28, cd, c1, 04, b2, a1]
0.907252 INFO set country = [58, 58, 00, 00, ff, ff, ff, ff, 58, 58, 00, 00]
0.936134 INFO IOCTL Response: [63, 6f, 75, 6e, 74, 72, 79, 00, 58, 58, 00, 00, ff, ff, ff, ff, 58, 58, 00, 00]
1.036727 INFO IOCTL Response: [00, 00, 00, 00]
1.036817 INFO set bus:txglom = [00, 00, 00, 00]
1.037308 INFO IOCTL Response: [62, 75, 73, 3a, 74, 78, 67, 6c, 6f, 6d, 00, 00, 00, 00, 00]
1.137440 INFO set ampdu_ba_wsize = [08, 00, 00, 00]
1.138091 INFO IOCTL Response: [61, 6d, 70, 64, 75, 5f, 62, 61, 5f, 77, 73, 69, 7a, 65, 00, 08, 00, 00, 00]
1.238248 INFO set ampdu_mpdu = [04, 00, 00, 00]
1.238834 INFO IOCTL Response: [61, 6d, 70, 64, 75, 5f, 6d, 70, 64, 75, 00, 04, 00, 00, 00]
1.338993 INFO set bsscfg:event_msgs = [00, 00, 00, 00, ff, ff, ff, ff, ff, ee, bf, ff, 7f, ff, ff, ff, ff, ff, ff, ff, ff, fd, ff, ff, ff, ff, ff, ff]
1.339723 INFO IOCTL Response: [62, 73, 73, 63, 66, 67, 3a, 65, 76, 65, 6e, 74, 5f, 6d, 73, 67, 73, 00, 00, 00, 00, 00, ff, ff, ff, ff, ff, ee, bf, ff, 7f, ff, ff, ff, ff, ff, ff, ff, ff, fd, ff, ff, ff, ff, ff, ff]
1.440710 INFO IOCTL Response: []
1.540819 INFO set pm2_sleep_ret = [c8, 00, 00, 00]
1.541636 INFO IOCTL Response: [70, 6d, 32, 5f, 73, 6c, 65, 65, 70, 5f, 72, 65, 74, 00, c8, 00, 00, 00]
1.541728 INFO set bcn_li_bcn = [01, 00, 00, 00]
1.542530 INFO IOCTL Response: [62, 63, 6e, 5f, 6c, 69, 5f, 62, 63, 6e, 00, 01, 00, 00, 00]
1.542640 INFO set bcn_li_dtim = [01, 00, 00, 00]
1.543432 INFO IOCTL Response: [62, 63, 6e, 5f, 6c, 69, 5f, 64, 74, 69, 6d, 00, 01, 00, 00, 00]
1.543542 INFO set assoc_listen = [0a, 00, 00, 00]
1.544351 INFO IOCTL Response: [61, 73, 73, 6f, 63, 5f, 6c, 69, 73, 74, 65, 6e, 00, 0a, 00, 00, 00]
1.545115 INFO IOCTL Response: [02, 00, 00, 00]
1.545621 INFO IOCTL Response: [01, 00, 00, 00]
1.546089 INFO IOCTL Response: [00, 00, 00, 00]
1.646175 INFO INIT DONE
1.646220 INFO set ampdu_ba_wsize = [08, 00, 00, 00]
1.646852 INFO IOCTL Response: [61, 6d, 70, 64, 75, 5f, 62, 61, 5f, 77, 73, 69, 7a, 65, 00, 08, 00, 00, 00]
1.647604 INFO IOCTL Response: [04, 00, 00, 00]
1.647720 INFO set bsscfg:sup_wpa = [00, 00, 00, 00, 01, 00, 00, 00]
1.648499 INFO IOCTL Response: [62, 73, 73, 63, 66, 67, 3a, 73, 75, 70, 5f, 77, 70, 61, 00, 00, 00, 00, 00, 01, 00, 00, 00]
1.648598 INFO set bsscfg:sup_wpa2_eapver = [00, 00, 00, 00, ff, ff, ff, ff]
1.649385 INFO IOCTL Response: [62, 73, 73, 63, 66, 67, 3a, 73, 75, 70, 5f, 77, 70, 61, 32, 5f, 65, 61, 70, 76, 65, 72, 00, 00, 00, 00, 00, ff, ff, ff, ff]
1.649535 INFO set bsscfg:sup_wpa_tmo = [00, 00, 00, 00, c4, 09, 00, 00]
1.650285 INFO IOCTL Response: [62, 73, 73, 63, 66, 67, 3a, 73, 75, 70, 5f, 77, 70, 61, 5f, 74, 6d, 6f, 00, 00, 00, 00, 00, c4, 09, 00, 00]
1.750942 INFO IOCTL Response: [09, 00, 01, 00, 31, 34, 53, 61, 6e, 62, 6f, 72, 6e, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00]
1.751532 INFO IOCTL Response: [01, 00, 00, 00]
1.752005 INFO IOCTL Response: [00, 00, 00, 00]
1.752707 INFO IOCTL Response: [80, 00, 00, 00]
1.753695 INFO IOCTL Response: [0e, 00, 00, 00, 6b, 69, 6e, 67, 64, 6f, 6d, 20, 6f, 66, 20, 62, 6f, 7a, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00]
1.753830 INFO JOINED
1.754439 INFO Listening on TCP:1234...
1.755021 DEBUG DHCP send DISCOVER to 255.255.255.255: Repr { message_type: Discover, transaction_id: 1346337802, client_hardware_address: Address([40, 205, 193, 4, 178, 161]), client_ip: 0.0.0.0, your_ip: 0.0.0.0, server_ip: 0.0.0.0, router: None, subnet_mask: None, relay_agent_ip: 0.0.0.0, broadcast: false, requested_ip: None, client_identifier: Some(Address([40, 205, 193, 4, 178, 161])), server_identifier: None, parameter_request_list: Some([1, 3, 6]), dns_servers: None, max_size: Some(1432), lease_duration: None }
1.756437 INFO link_up = true
1.756511 DEBUG Lost IP configuration
4.773218 DEBUG === EVENT ASSOC_REQ_IE: EventMessage { version: 2, flags: 0, event_type: 87, status: 0, reason: 0, auth_type: 0, datalen: 82, addr: [208, 253, 59, 224, 189, 26], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } [d0, fd, 3b, e0, bd, 1a, 77, 6c, 30, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 0e, 6b, 69, 6e, 67, 64, 6f, 6d, 20, 6f, 66, 20, 62, 6f, 7a, 01, 08, 82, 84, 8b, 96, 24, 30, 48, 6c, 32, 04, 0c, 12, 18, 60, 21, 02, 05, 17, 24, 02, 01, 0e, 30, 14, 01, 00, 00, 0f, ac, 04, 01, 00, 00, 0f, ac, 04, 01, 00, 00, 0f]
4.773896 DEBUG === EVENT AUTH: EventMessage { version: 2, flags: 0, event_type: 3, status: 0, reason: 0, auth_type: 0, datalen: 0, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } []
4.785556 DEBUG === EVENT ASSOC_RESP_IE: EventMessage { version: 2, flags: 0, event_type: 88, status: 0, reason: 0, auth_type: 0, datalen: 109, addr: [0, 59, 2, 81, 0, 45], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } [00, 3b, 02, 51, 00, 2d, 77, 6c, 30, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 01, 08, 82, 84, 8b, 96, 0c, 12, 18, 24, 32, 04, 30, 48, 60, 6c, 2d, 1a, ed, 11, 1b, ff, ff, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 01, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 3d, 16, 0b, 00, 17, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 7f, 08, 04, 00, 08, 02, 00, 00, 00, 40, 5a, 03, 24, 01, 00, dd, 18]
4.786187 DEBUG === EVENT ASSOC: EventMessage { version: 2, flags: 0, event_type: 7, status: 0, reason: 0, auth_type: 0, datalen: 115, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } [1c, f2, 9a, 9a, bf, d4, 77, 6c, 30, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 31, 14, 00, 00, 03, c0, 01, 08, 82, 84, 8b, 96, 0c, 12, 18, 24, 32, 04, 30, 48, 60, 6c, 2d, 1a, ed, 11, 1b, ff, ff, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 01, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 3d, 16, 0b, 00, 17, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 7f, 08, 04, 00, 08, 02, 00, 00, 00, 40, 5a, 03, 24, 01, 00, dd, 18]
4.787014 DEBUG === EVENT LINK: EventMessage { version: 2, flags: 1, event_type: 16, status: 0, reason: 0, auth_type: 0, datalen: 22, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } [1c, f2, 9a, 9a, bf, d4, 77, 6c, 30, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00]
4.816366 DEBUG === EVENT PSK_SUP: EventMessage { version: 2, flags: 0, event_type: 46, status: 6, reason: 0, auth_type: 0, datalen: 0, addr: [195, 66, 122, 2, 191, 110], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } []
4.853024 DEBUG === EVENT JOIN: EventMessage { version: 2, flags: 0, event_type: 1, status: 0, reason: 0, auth_type: 0, datalen: 0, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } []
4.853469 DEBUG === EVENT SET_SSID: EventMessage { version: 2, flags: 0, event_type: 0, status: 0, reason: 0, auth_type: 0, datalen: 14, addr: [28, 242, 154, 154, 191, 212], ifname: [119, 108, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0 } [1c, f2, 9a, 9a, bf, d4, 77, 6c, 30, 00, 00, 00, 00, 00]
11.754179 DEBUG DHCP send DISCOVER to 255.255.255.255: Repr { message_type: Discover, transaction_id: 4012802384, client_hardware_address: Address([40, 205, 193, 4, 178, 161]), client_ip: 0.0.0.0, your_ip: 0.0.0.0, server_ip: 0.0.0.0, router: None, subnet_mask: None, relay_agent_ip: 0.0.0.0, broadcast: false, requested_ip: None, client_identifier: Some(Address([40, 205, 193, 4, 178, 161])), server_identifier: None, parameter_request_list: Some([1, 3, 6]), dns_servers: None, max_size: Some(1432), lease_duration: None }
11.764029 DEBUG DHCP recv Offer from 192.168.23.1: Repr { message_type: Offer, transaction_id: 4012802384, client_hardware_address: Address([40, 205, 193, 4, 178, 161]), client_ip: 0.0.0.0, your_ip: 192.168.23.20, server_ip: 192.168.23.1, router: Some(192.168.23.1), subnet_mask: Some(255.255.255.0), relay_agent_ip: 0.0.0.0, broadcast: false, requested_ip: None, client_identifier: None, server_identifier: Some(192.168.23.1), parameter_request_list: None, dns_servers: Some([Some(192.168.23.1), None, None]), max_size: None, lease_duration: Some(86400) }
11.764584 DEBUG DHCP send request to 255.255.255.255: Repr { message_type: Request, transaction_id: 1306292086, client_hardware_address: Address([40, 205, 193, 4, 178, 161]), client_ip: 0.0.0.0, your_ip: 0.0.0.0, server_ip: 0.0.0.0, router: None, subnet_mask: None, relay_agent_ip: 0.0.0.0, broadcast: false, requested_ip: Some(192.168.23.20), client_identifier: Some(Address([40, 205, 193, 4, 178, 161])), server_identifier: Some(192.168.23.1), parameter_request_list: Some([1, 3, 6]), dns_servers: None, max_size: Some(1432), lease_duration: None }
11.779060 DEBUG DHCP recv Ack from 192.168.23.1: Repr { message_type: Ack, transaction_id: 1306292086, client_hardware_address: Address([40, 205, 193, 4, 178, 161]), client_ip: 0.0.0.0, your_ip: 192.168.23.20, server_ip: 192.168.23.1, router: Some(192.168.23.1), subnet_mask: Some(255.255.255.0), relay_agent_ip: 0.0.0.0, broadcast: false, requested_ip: None, client_identifier: None, server_identifier: Some(192.168.23.1), parameter_request_list: None, dns_servers: Some([Some(192.168.23.1), None, None]), max_size: None, lease_duration: Some(86400) }
11.779875 DEBUG Acquired IP configuration:
11.779898 DEBUG IP address: 192.168.23.20/24
11.779977 DEBUG Default gateway: 192.168.23.1
11.780078 DEBUG DNS server 0: 192.168.23.1
12.753358 INFO Received connection from Some(192.168.23.28:62599)
13.050816 DEBUG non-unicast source address
13.120898 INFO rxd [31, 32, 33, 31, 32, 33, 0a]
13.784914 WARN read EOF
13.785121 INFO Listening on TCP:1234...
```
Which works as well and only is 92 kB of code.
### Optimizing flashing speed
Looking for an adapter for the [[ST-Link v3]] I realize I don't know where that [[Waveshare]] devboard is I bought to work on the USB Host device for the Roland drum machines.
I found the waveshare board and my [[saleae]] logic analyzer! No adapter for the [[ST-Link v3]], but I took a lot of notes on what I found. So it seems that the [GitHub - probe-rs/hs-probe](https://github.com/probe-rs/hs-probe) is the best bet for high speed flashing, which is out of stock: [hs-probe from probe-rs on Tindie](https://www.tindie.com/products/probe-rs/hs-probe/)
Changing the speed on the dappermime isn't changing much (I tried `-- --speed 600` and `-- --speed 4800`). The only full speed probe that could go faster are `rust-dap` and `rustyprobe`.
#### Trying rust-dap
[rust-dap/boards/rpi_pico at main · ciniml/rust-dap · GitHub](https://github.com/ciniml/rust-dap/tree/main/boards/rpi_pico) runs on rp2040, so we could this a try. But, I would need a rp2040 probe to flash the probe...
Let's see if I can build it.
Complicated start
```
error[E0463]: can't find crate for `core`
|
= note: the `thumbv6m-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv6m-none-eabi`
error[E0463]: can't find crate for `compiler_builtins`
error[E0463]: can't find crate for `core`
--> /Users/manuel/.cargo/registry/src/github.com-1ecc6299db9ec823/nb-1.0.0/src/lib.rs:189:5
|
189 | use core::fmt;
| ^^^^ can't find crate
|
= note: the `thumbv6m-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv6m-none-eabi`
error: cannot find attribute `derive` in this scope
--> /Users/manuel/.cargo/registry/src/github.com-1ecc6299db9ec823/nb-1.0.0/src/lib.rs:198:3
|
198 | #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
| ^^^^^^
error[E0463]: can't find crate for `core`
--> /Users/manuel/.cargo/registry/src/github.com-1ecc6299db9ec823/nb-1.0.0/src/lib.rs:192:27
|
192 | pub type Result<T, E> = ::core::result::Result<T, Error<E>>;
| ^^^^ can't find crate
|
= note: the `thumbv6m-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv6m-none-eabi`
error[E0405]: cannot find trait `FnOnce` in this scope
--> /Users/manuel/.cargo/registry/src/github.com-1ecc6299db9ec823/nb-1.0.0/src/lib.rs:223:12
|
223 | F: FnOnce(E) -> T,
| ^^^^^^ not found in this scope
error[E0405]: cannot find trait `From` in this scope
--> /Users/manuel/.cargo/registry/src/github.com-1ecc6299db9ec823/nb-1.0.0/src/lib.rs:232:9
|
```
Probably because I don't have a rust-toolchain.toml, and the target is not installed:
```shell
rust-dap/boards/rpi_pico on main is 📦 v0.1.0 via 🦀 v1.62.1 on ☁️ ttc (us-east-1)
❯ rustup target add thumbv6m-none-eabi
info: downloading component 'rust-std' for 'thumbv6m-none-eabi'
info: installing component 'rust-std' for 'thumbv6m-none-eabi'
```
Looking into creating a [[UF2 Format]] file out of the resulting ELF file:
> UF2 is a file format developed by Microsoft. The UF2 firmware allows for flashing microcontrollers over USB and appears as a Mass Storage Device (USB Drive) when attached to your computer.
- [UF2 Bootloader: Creating Custom Boards - Hackster.io](https://www.hackster.io/wallarug/uf2-bootloader-creating-custom-boards-c9620c)
There is more info here: [GitHub - rp-rs/rp-hal: A Rust Embedded-HAL for the rp series microcontrollers](https://github.com/rp-rs/rp-hal)
```
cargo install elf2uf2-rs --locked
```
Actually, rust-dap already had it all setup:
```shell
❯ cat .cargo/config.toml
[build]
target = "thumbv6m-none-eabi"
[target.thumbv6m-none-eabi]
runner = "elf2uf2-rs -d"
#runner = "picotool load -x -t elf"
#runner = "probe-run --probe xiao-rp2040 --chip RP2040" # Program target with rust-dap on XIAO RP2040 (for rust-dap RP2040 development board)
rustflags = [
"-C", "link-arg=-Tlink.ram.x", "-C", "link-arg=--nmagic",
]%
❯ cargo run --release
warning: constant is never used: `DEFAULT_SWJ_CLOCK_HZ`
--> /Users/manuel/code/others/rust/rust-dap/rust-dap-rp2040/src/pio.rs:30:1
|
30 | const DEFAULT_SWJ_CLOCK_HZ: u32 = ((125000000 / 8) as f32 / DEFAULT_PIO_DIVISOR) as u32;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field is never read: `clk_pin_id`
--> /Users/manuel/code/others/rust/rust-dap/rust-dap-rp2040/src/pio.rs:39:5
|
39 | clk_pin_id: u8,
| ^^^^^^^^^^^^^^
warning: field is never read: `dat_pin_id`
--> /Users/manuel/code/others/rust/rust-dap/rust-dap-rp2040/src/pio.rs:40:5
|
40 | dat_pin_id: u8,
| ^^^^^^^^^^^^^^
warning: associated function is never used: `set_clock`
--> /Users/manuel/code/others/rust/rust-dap/rust-dap-rp2040/src/pio.rs:214:8
|
214 | fn set_clock(&mut self, frequency_hz: u32) {
| ^^^^^^^^^
warning: `rust-dap-rp2040` (lib) generated 4 warnings
Finished release [optimized + debuginfo] target(s) in 0.09s
Running `elf2uf2-rs -d target/thumbv6m-none-eabi/release/rust-dap-raspberrypi-pico`
Found pico uf2 disk /Volumes/RPI-RP2
Transfering program to pico
75.00 KB / 75.00 KB [===========================================================================================================================================================================================================] 100.00 % 30.56 MB/s
```
That flashing was *extremely* fast, so if I don't need debugging, this might be a good option.
Let's try flashing again though. Yo, this was much faster! Nice!
## LED lights and 3d prints
Some links about building lights with 3d prints:
Had information about diffusing:
- [First time using transparent pla to make panels that cover my led strip. : 3Dprinting](https://www.reddit.com/r/3Dprinting/comments/q0ewuz/first_time_using_transparent_pla_to_make_panels/)
- [Any good guides on making LED diffusers that I've missed? : 3Dprinting](https://www.reddit.com/r/3Dprinting/comments/durw3y/any_good_guides_on_making_led_diffusers_that_ive/)
Diffuser designs:
- [Designs - Thingiverse](https://www.thingiverse.com/chickenpicture/designs)
Printing with transparent filament:
- [How to create transparent 3D prints! - YouTube](https://www.youtube.com/watch?v=QkfQri2B0PY)
Making neon signs with NeoPixel:
- [Overview | LED Neon Signs with NeoPixels | Adafruit Learning System](https://learn.adafruit.com/led-neon-signs-with-neopixels)
Perfect, that's what I'm going to use!
## Vault cleanup
An article about the workings of the [[SQLite]] virtual machine. I actually wasn't aware that [[SQLite]] was using a [[Virtual Machines]] at all.
- [How the SQLite Virtual Machine Works · Fly](https://fly.io/blog/sqlite-virtual-machine/
A video about [[Command Line]], probably very interesting in regards to [[Manifesto for CLI utilities]]:
- [The Renaissance of the Command Line - YouTube](https://www.youtube.com/watch?v=c0oVt4tDY8Y) - Only 20 minutes, really should watch it.
- [[ZK - 2022-10-01 - Use category theory concepts to help refactoring]]
An interesting link for [[Prototypes]], a library that can generate fake browser events with fake data, according to distributions. A bit similar in concept to [[Idea - SQL Test Data Generator|squeak]]:
- [GitHub - andresionek91/fake-web-events: Creates a Simulation of Fake Web Events](https://github.com/andresionek91/fake-web-events)
A great looking [[Spreadsheets]] application for the [[Calculator]]:
- [GitHub - zooxo/rack42: A Spreadsheet Application for the DM42](https://github.com/zooxo/rack42)
[](https://user-images.githubusercontent.com/16148023/188614503-6745a1b5-de10-44c6-91d7-7ebb76eaf232.png)
A presentation by [[Graydon Hoare]] about what [[Compilers|Compiler]] look like for people working on them daily:
- [venge.net/graydon/talks/CompilerTalk-2019.pdf?utm_source=thenewstack&utm_medium=website&utm_campaign=platform](http://venge.net/graydon/talks/CompilerTalk-2019.pdf?utm_source=thenewstack&utm_medium=website&utm_campaign=platform)
I'm adding all kinds of inspiration links to [[IDEA - Rust based Microbit Typewriter]] from the App store. Some cool stuff in there, like
- Tiny Poems - App Store
> For the first time „tiny poems“ brings concrete minimal poetry to mobile devices like Apple Watch, iPhone and iPad. The pieces are optimized for the screen of the Apple Watch and show short and dynamic texts for the wrist. The poems reflect time and vanity and change constantly according to the continuosly passing time.
![[IDEA - Rust based Microbit Typewriter-1664633854922.jpeg]]
Here is an app for [[Visualization|VizDev]]:
- [VizRef on the App Store](https://apps.apple.com/us/app/vizref/id1482680568)
![[2022-10-01-1664634534670.jpeg]]
I'm going to quickly clean up all the links about [[Language Server Protocol]].
[[ZK - 2022-10-01 - TCP connections don't exist per se, they are just a set of rules on different devices that dispatch bytes to their proper recipients]]
A helper library to make [[Macros (Programming)]] writing in [[Common Lisp]] provide better [[Error Handling]]:
- [GitHub - scymtym/trivial-with-current-source-form: Helps macro writers produce better errors for macro users](https://github.com/scymtym/trivial-with-current-source-form)
A starting point for links about the [[Small Web]] (see [[Convivial Tools]]):
- [What is the Small Web? – Aral Balkan](https://ar.al/2020/08/07/what-is-the-small-web/)
Starting the [[Activism]] topic:
- [No, We Won't Calm Down – Tone Policing Is Just Another Way to Protect Privilege - Everyday Feminism](https://everydayfeminism.com/2015/12/tone-policing-and-privilege/)
- [[BLOG IDEA - Write up Strange Loop]]
- [[BLOG IDEA - Neuroqueer Heresies writeup]]
- [[BLOG IDEA - Hacking capitalism writeup]]
## Inbound projects cleanup
I wrote up a ton of projects in my sketchbook, some are pretty cool and probably one weekend projects (if I don't include the [[CAD]] work).
- [[PROJ - Animal voting booth]]
- [[PROJ - G-Code visualizer in rust]]
- [[PROJ - Pomodoro desk widget]]
- [[PROJ - Almanach thermal printer]]
- [[PROJ - zj58 rust library]]
- [[PROJ - Obsidian Plugin to Write Tweet Threads]]
- [[PROJ - Thermal printer ideas]]
- [[PROJ - Font glyph rendering crate for thermal printer]]
- [[IDEA - A federated custom search engine]]
- Index curated pages, tweets, vaults, evernote inboxes
- Easily annotate and add a write up like stumbleupon
- Subscribe to other people's search engines, through [[IDEA - A federated custom search engine]]]
- See: [GitHub - thesephist/monocle: Universal personal search engine, powered by a full text search algorithm written in pure Ink, indexing Linus's blogs and private note archives, contacts, tweets, and over a decade of journals.](https://github.com/thesephist/monocle)
- [Monocle](https://monocle.surge.sh)
- Bookmarklet to queue a page for indexing