APP_START/SELF_INFO, GET_CONTACTS/CONTACT/END_OF_CONTACTS and SYNC_NEXT_MESSAGE with v3 contact and channel message frames, laid out per MeshCore MyMesh.cpp. Little-endian fields are assembled byte by byte so they decode correctly on the big-endian 68k. Builders are checked byte-for-byte against frames the real radio accepted; SELF_INFO and the empty contact list are real captures (key and name redacted), contact and message frames are synthetic. companion_query.py gains --text.
5.0 KiB
5.0 KiB
Progress
Milestones
Hardware: SB-LoRa v0.1
- Board designed, DRC clean, fab package generated
- Check part rotations in JLC preview (U1–U7, Y1, D1); corrections saved to the CPL
- Order PCBs + assembly from JLCPCB (5 boards, 2-layer, 1.6 mm, leaded HASL); tagged
hw-v0.1 - Boards received
- Order J1: Hirose IC1HA-68RD-1.27SH(51) is obsolete; 1 ordered as new-old stock from eBay ($24)
- Order 2x 1x7 female headers
- Buy 2–3 cheap used Springboard modules (spare connectors to harvest + slot-fit reference)
- Bare board: continuity check, dry-fit in Visor slot
- Fit J1, bench-power VSB at 3.3 V, check current and 14.7456 MHz on Y1
- In Visor: read/write SC16IS740 scratch register (SPR, 0x07) from Palm side
Firmware
- Apply
firmware/meshcore-xiao-nrf52-uart-companion.patchto MeshCore, buildXiao_nrf52_companion_radio_uart(firmware/Makefile, MeshCore a366955c, GCC 14 on Apple Silicon) - Flashed to the XIAO; answers
CMD_DEVICE_QUERYover USB with DEVICE_INFO (v1.17.1) - Bench-test the D6/D7 UART: FT232R at 3.3 V, 115200 8N1, DEVICE_INFO identical to the USB reply
- Plug stack into carrier;
CMD_DEVICE_QUERYgets a DEVICE_INFO reply
Palm client
- Toolchain set up: prc-tools-remix 2.3.6 + PilRC + Palm OS 3.5 SDK in Docker (
palm-client/Dockerfile) - Scaffold: builds
visormesh.prc(main form + "Query radio" → CMD_DEVICE_QUERY); protocol framing with host tests - USB link from the dev Mac: pilot-link (desrod @6d696653 +
tools/pilot-link-darwin-usb-open-retry.patch) lists the Visor's databases make installputs VisorMesh on the Visor; app launches and shows the main form on the Visor Neo- Emulator: CloudpilotEmu with a Palm OS 3.5 ROM (the Visor isn't emulated); optionally POSE + a Visor Neo ROM in a Windows VM
- Original Handspring SDK headers (Springboard
HsCard*APIs; the PalmOneHsExt.hlacks them), needed for module-ROM work only - Port springSD bus routines; SC16IS740 driver
- Companion protocol: framing, builders (DEVICE_QUERY, APP_START, GET_CONTACTS, SYNC_NEXT_MESSAGE), parsers (SELF_INFO, contacts, v3 contact/channel messages); host tests from real captures + MeshCore layouts
- Wire the protocol into the app: connect sequence, contact list, message sync on PUSH_MSG_WAITING
- UI: contacts, DMs, channels
- Install method confirmed: HotSync over the USB cradle from the dev Mac (
make install)
Open questions
- Which CF adapter is it, and does its ROM include an app installer?
- Is the J1 footprint correct against the Hirose drawing? (Only checked against springSD.)
- Which Handspring offset variant (−0.3 / 0 / +0.3 / +0.6 mm) is the (51)? This matters if a harvested connector replaces it.
- Long-term J1 supply: no current-production part known. Could a PCMCIA card-side straddle receptacle work? (The keying fit is untested.)
- Does the extension clear the Visor body? Is the slot-opening alignment right?
Log
2026-10-30
- Planning done in claude.ai. Chose a custom Springboard module (SB-LoRa) over cradle serial/IR.
- SB-LoRa v0.1 fab package generated. Repo set up and files organized.
- Crystal Y1 swapped to SX3B14.7456F2010F30 (C2901666, 20 pF load) because C6264361 was out of stock.
- JLC placement preview showed U1, U2, U4 a quarter-turn off and U3, U5–U7 a half-turn off. Fixed in the preview and in the CPL (270 / 180).
- Chose leaded HASL over ENIG (+$18). JLC does the fine-pitch assembly, so pad flatness isn't critical.
- PCB + assembly order placed with JLCPCB.
hw-v0.1tag moved to the ordered commit.
2026-11-01
- J1 (IC1HA-68RD-1.27SH(51)) found to be obsolete at DigiKey and Mouser. Ordered 1 NOS from eBay at $24.
- Removed the unverified XKB/LCSC substitute from the hardware README (it's a vertical SMD socket, not a straddle).
- Starting Palm client development.
- macOS USB sync to the Visor works with pilot-link from desrod's repo. Fixed a race where macOS holds the Visor briefly when it appears, so pilot-link's single open attempt failed with exclusive access. The retry patch is saved in
palm-client/tools/. - First on-device run: VisorMesh v0.1 installed with
make installand launches on the Visor Neo. - Firmware builds and runs. Fixed the patch's I2C override (
-Uflags broke Wire under PlatformIO; nowbuild_unflags). Pinned native GCC 14 on Apple Silicon. Enabled the USB companion link alongside the UART. The XIAO answers DEVICE_QUERY over USB, and that real frame is now a Palm host test. - UART path verified: FT232R on D6/D7 at 115200 8N1 gets the same DEVICE_INFO as USB. The radio side of SB-LoRa is proven; what remains is the carrier board (SC16IS740 + bus) and the Palm transport for it.
- Protocol layer for the read-only commands, built against MeshCore's MyMesh.cpp and captured replies (DEVICE_QUERY, APP_START → SELF_INFO, GET_CONTACTS with 0 contacts, SYNC → NO_MORE_MESSAGES). LE fields are assembled byte by byte for the big-endian 68k. The radio is on MeshCore factory defaults (869.618 MHz / 62.5 kHz / SF8, 22 dBm, no name).