198 Commits
Author SHA1 Message Date
rich 7764fe94e4 docs: progress: rev 2 draft case (not printed) and the measurements and fit check it waits on 2026-11-19 23:15:24 -05:00
rich 26a8387a6e hardware: SB-LoRa rev 2 draft case: a two-part OpenSCAD shell for FDM, the in-slot part from nkorth's CC0 Springboard slot cover, a bump for the radio boards, LiPo and an FPC antenna, split at the board's top face with two M2 screws; the connector height, J1 body and radio/LiPo heights are parameters to measure 2026-11-19 23:09:41 -05:00
rich 1e32aea88c docs: progress: rev 2 J1 laid out as a straddle with estimated row position, pad size and thickness; measuring the parts is next 2026-11-19 23:01:54 -05:00
rich 1d43beeabf hardware: SB-LoRa rev 2 J1 as a straddle for the MCS-068SMA1: pins 1-34 on F.Cu, 35-68 on B.Cu directly opposite at 1.27 mm (rev 1's split); row position, pad size and board thickness are estimates until a part is measured. Rerouted: DRC 0 unconnected, verify.py checks the straddle and passes; renders regenerated 2026-11-19 22:58:16 -05:00
rich f5653d9d2c docs: SB-LoRa rev 2: show the top and bottom renders in REV2.md, noting they still have the placeholder J1 2026-11-19 22:50:06 -05:00
rich 7b4e23ad64 docs: progress: SB-LoRa rev 2 milestones (planned, laid out, J1 chosen and ordered), the cancelled rev 1 J1, the release workflow, and the J1 supply and board-thickness questions 2026-11-19 22:43:43 -05:00
rich fdacc2daa8 docs: SB-LoRa rev 2 connector: the MCS-068SMA1 straddle parts are ordered (2026-11-19) and J1 is designed around them; no stock of the single-row MCS-068SSA1 turned up 2026-11-19 22:41:33 -05:00
rich f41ddf43bd docs: SB-LoRa rev 2 connector: the MCS-068SMA1 is Robinson Nugent's MEMPAK straddle receptacle (.050" pitch, no tail offset) per the catalogue overview page; the row gap still needs a sample, and the single-row MCS-068SSA1 is noted as a single-sided alternative 2026-11-19 22:39:23 -05:00
rich ef1d245c73 docs: SB-LoRa rev 2 connector: 3M MCS-068SMA1-TR30 (female straddle receptacle, eBay surplus, rows not staggered) replaces the AliExpress part as the J1 candidate, which is dropped for $39 shipping and a 2+ week wait; the J1 pattern becomes opposed F.Cu/B.Cu rows and the board thickness follows the connector's row gap 2026-11-19 22:30:01 -05:00
rich fff912fb4d docs: SB-LoRa rev 2 connector: the J1 listing photo shows an AMP-marked part with no part number but it's sold as Jiansu BST, so the land pattern comes from the parts that arrive and they're bought in one lot 2026-11-19 22:19:53 -05:00
rich e71f979dce docs: SB-LoRa rev 2 connector: the AliExpress 68-pin female PCMCIA part is the J1 candidate (female side, both rows of tails flat on top per the listing photos); its land pattern waits on a measured sample, and the Hirose IC1K listing looks like a host-side socket 2026-11-19 22:18:32 -05:00
rich 0e37755b66 docs: SB-LoRa rev 2 connector: drop the unconfirmed Amphenol 1C1K candidate and list the parts ruled out (out of production, host-side, or a SIM tray), so J1 has no stocked candidate yet 2026-11-19 22:10:04 -05:00
rich ecd9900ec1 hardware: SB-LoRa rev 2 layout: 4 layers (In1 GND plane), flash, UART and logic in the slot, XIAO and Wio side by side, LiPo pads underneath; routed with Freerouting 1.9.0, DRC 0 unconnected, verify.py passes. J1 is a parametric placeholder until a single-sided card-side receptacle is chosen, so it isn't ready to order; the UART footprint becomes NXP's SOT617-1 (EP 3.1 mm), and REV2.md drops TE 5535657, which is the host-side header 2026-11-17 20:35:15 -05:00
rich 6d4cadadbc docs: SB-LoRa temporary connector options for rev 1 now the Hirose IC1HA order is cancelled (harvested straddle, donor connector on wires, top-mounted SMT receptacle, PCMCIA card part), with the 17 pins rev 1 uses; rev 2 drops the straddle footprint 2026-11-17 19:20:57 -05:00
rich fec5a03358 palm-client: release workflow: a v* tag builds and tests the app and publishes visormesh-<tag>.prc with SHA256SUMS as a release; the toolchain install moves to tools/install_toolchain.sh so CI and the Dockerfile share the pinned versions
release / palm-client (push) Successful in 3m14s
v0.1
2026-11-11 16:49:05 -05:00
rich 00feaffca5 hardware: SB-LoRa rev 2 footprints for the XIAO (flat or by its header, bottom BAT/SWD pads through solder-filled holes), the Wio (14 holes) and the LiPo pads, generated from Seeed's own KiCad files 2026-11-09 15:17:32 -05:00
rich bbfb334431 hardware: SB-LoRa rev 2 LCSC numbers for the flash (C914935), OR gate (C91874), inverters (C105251) and dual translator (C15741) 2026-11-09 15:12:25 -05:00
rich 440845684c hardware: SB-LoRa rev 2 flash pinout checked against the S29AL016J datasheet; it reads as an Am29LV160BB to Handspring's flash driver 2026-11-09 15:10:31 -05:00
rich de88c7a7a1 hardware: SB-LoRa rev 2 netlist draft: S29AL016J flash on CS0, SC16C650B UART on CS1 with OR-gated strobes (the slot can assert OE*/WE* with CS1*, the UART wants 10 ns after CS), XIAO and Wio side by side, battery and SWD pads. Plan: the flash's installer copies the app to RAM, since the transport's interrupt handler can't live on a removable module; battery sizing estimate 2026-11-09 13:46:56 -05:00
rich f33f5d18dc docs: SB-LoRa rev 2 plan: keep the flash, and replace the SC16IS740 SPI bridge with a 16550-style UART on CS1*, since the flash already needs the full bus 2026-11-09 13:38:47 -05:00
rich 4dd5e5893d docs: SB-LoRa rev 2 plan: how the app gets onto the flash (make rom, an updater .prc run from RAM, Handspring's MakeROM and Flash Manager sources as the base) 2026-11-09 13:37:25 -05:00
rich 99b66a2cf9 docs: SB-LoRa rev 2 plan: running from the module's flash leaves the app's features intact (all data is in RAM databases); note the copy-to-RAM alternative 2026-11-09 13:30:49 -05:00
rich 62d22b59dc docs: SB-LoRa rev 2 plan: the Wio's underside is bare, so it sits flush on the carrier 2026-11-09 13:18:52 -05:00
rich 189091e462 docs: SB-LoRa rev 2 plan: the Wio's 8 mm top socket comes off; it was the tallest part once the XIAO moves alongside 2026-11-09 13:18:21 -05:00
rich 460b82a214 docs: SB-LoRa rev 2 plan: the Wio mounts by its own male pins through the carrier; its unused top socket is the tallest part and may come off 2026-11-09 13:16:56 -05:00
rich 41043065f2 docs: SB-LoRa rev 2 plan: correct the battery cut-out note (rev 1 has none) 2026-11-09 13:15:26 -05:00
rich 14920abb52 docs: SB-LoRa rev 2 plan: reach the XIAO's bottom BAT and SWD pads through solder-filled plated holes in the carrier, so it can sit flat with no gap for battery wires 2026-11-09 13:15:21 -05:00
rich d1be438e63 docs: SB-LoRa rev 2 plan: the XIAO and Wio unplug from each other, so side by side needs only the XIAO's pin header dealt with; drop the stacked fallback 2026-11-09 13:13:08 -05:00
rich 2fc4aa6203 docs: SB-LoRa rev 2 plan: connector change waits on the Hirose order; the XIAO and Wio come soldered together, so side by side means separating them, with a headerless stack as the fallback 2026-11-09 13:11:08 -05:00
rich a4a70fb3eb docs: SB-LoRa rev 2 plan: XIAO and Wio side by side instead of stacked, a CS0 flash so the app loads on insertion, and a single-sided PC Card connector in place of the obsolete Hirose straddle part; lists what's still open 2026-11-09 13:08:29 -05:00
rich 0136ed96ab docs: layout fixes and New Key verified on the Neo 2026-11-08 19:42:55 -05:00
rich 52f3f09a13 docs: AGENTS.md covers the try-once check and make replay 2026-11-08 19:39:02 -05:00
rich 4b05bf25d5 palm-client: Add Channel's New Key (private channels) fills in a random key from a pool fed by what can't be predicted: the exact tick and position of every pen and key event, and the signal readings of every packet the radio reports. Samples are folded into a SHA-256 pool, a key is a hash of it, and the pool moves on after each; it's kept between launches in an unsaved preference (never in a backup). Until 256 samples have come in, New Key asks for a few seconds of stylus movement. Host-tested in tests/test_entropy.c 2026-11-08 19:38:55 -05:00
rich 2c32033292 palm-client: check_ui.py fails the build when two drawn form objects overlap (a label running into its value or a button); it reads each object's usable bit so popup lists shown by the code don't count 2026-11-08 19:35:47 -05:00
rich 18c55ef8aa palm-client: three labels no longer run into what follows them: Node's 'Firmware:' is 'Version:', Preferences' Check when closed trigger moved right (its choices are '5 min' to '1 hour' so the longest still fits), and Flood Scopes' default moved right 2026-11-08 19:35:47 -05:00
rich 6c17e25a76 palm-client: the request retry rules are in request.c (session.c supplies the link), host-tested with a scripted link in tests/test_request.c: a frame that went out is sent again only while tries allows, one that didn't go is resent up to 4 times without using up tries, one cut off part way never is. check_source.py checks that the functions that send over the air or take a queued message (messages, reactions, adverts, syncs, logins, traces) only ever use tries 1 2026-11-08 19:34:16 -05:00
rich e068a51768 palm-client: plain make builds the app again (the replay target had become the default goal) 2026-11-08 19:34:16 -05:00
rich 359908e927 palm-client: make replay runs the bridge's frame capture through the app's parsers and fails on any frame of a code the app parses that doesn't parse, to catch a firmware layout change before it reaches the Visor. The bridge captures every frame in full with --capture (bridge.sh writes $TMPDIR/visor_frames.txt); captures hold real messages and stay local 2026-11-08 19:32:00 -05:00
rich bb2fc014ab palm-client: the module can't keep waking a Visor on failing batteries. A slot power handler (SbPwr, in the copied block) stops the chip interrupting on a low-voltage shutdown, as the Springboard guide asks of modules without LOWBAT*; since the Neo's OS never reports that reason, the wake's card event handler and BgArmWake also check the battery and turn the wake off at the OS's warning level. Host-tested; untested on hardware 2026-11-08 19:27:39 -05:00
rich 6846d4d79b docs: Slot restore with an empty slot verified on the Neo; wake and bring-up plan noted 2026-11-08 19:22:23 -05:00
rich db46a0806f hardware: SB-LoRa bring-up plan (BRINGUP.md): bare-board and bench-power checks, what each SB-LoRa Test line means and what a failure points to (including the A0 mapping and the read values), moving the XIAO stack over, the Slot link, the message wake and standby current 2026-11-08 19:19:33 -05:00
rich e86b14e440 palm-client: a saved Slot link is restored at launch while the OS reports a module (checked without touching the bus), so the closed-app check and its wake use the module; with the slot empty it stays off, as before, so a launch can't reset the Visor 2026-11-08 19:18:31 -05:00
rich f53f851b0e palm-client: with the Slot link, the radio's 'message waiting' push wakes the Visor. The slot interrupt handler (SbIrq) spots the frame as it drains the FIFO and, as the Springboard guide describes, holds IRQ* (THR empty) to have the system woken, then keeps it awake 10 s for the app to sync. With Check when closed on, the app leaves a copy of the handler in system-owned memory as it closes (SbWakeArm), with the module asleep between frames; it posts a card event whose handler sets the app's alarm for now, so the closed-app check runs at once. check_sections.py checks that the copied block (SbCoreStart..SbCoreEnd) is whole and refers only to itself. The Slot link no longer reconnects after sleep. Host-tested on the simulated module; untested on hardware 2026-11-08 19:17:30 -05:00
rich 1354b6531a docs: Trace result, command retry, empty-slot SB-LoRa Test and Add Contact note verified on the Neo 2026-11-08 19:03:57 -05:00
rich 3ca184099c docs: contact login status verified on the Neo 2026-11-08 19:01:04 -05:00
rich 6056339ad8 palm-client: the contact screen's login status is 'Logging in over the mesh...' (it ran off the edge) and its status line is cut rather than running off; Serial Ports' lines too. check_ui.py now measures literals passed to a screen's own one-line helpers, and fails on a new helper that draws its text until its width is listed 2026-11-08 19:00:40 -05:00
rich 9ae5decc84 docs: Node clock and Radio Stats layout verified on the Neo 2026-11-08 18:57:19 -05:00
rich 5aa68d46ec docs: AGENTS.md describes check_source.py and the screen line tests 2026-11-08 18:53:54 -05:00
rich 19ba4b1cb2 palm-client: the screens' run-time lines are built in screen_fmt.c, and tests/test_screens.c checks them with their longest values in the large font. That found the Node clock lines running off the edge even in the small font (now 'Visor 11/8 14:02 (UTC-5:00)' and 'Radio 11/8 19:02 UTC, sys 300', a font row apart), Radio Stats lines too long for big counts (they wrap now, and the test checks they still fit above Done; errors get their own line, in hex that shows), and the contact summary and a Trace message too wide ('Room server' is 'Room'). Rows that could still be long are cut instead of running off 2026-11-08 18:53:49 -05:00
rich a79349eb76 palm-client: tools/check_source.py runs on every build and fails it on a static const inside a function in an extra code segment (garbage on the Visor), a menu item no code handles, a shortcut letter used twice on a menu bar or taken from the Edit menu, a form with no event handler, and an ID used twice in one form, menu bar or resource type 2026-11-08 18:53:49 -05:00