SeedHammer notes

04 / Firmware proposal

SeedSigner to SeedHammer.
Over serial.

A proposed direct transfer of a public wallet descriptor—and later, disposable test seed data—to custom SeedHammer II firmware using the existing RP2350.

Design proposal only. No cable, serial transfer, custom firmware, or completed engraving has been demonstrated here. This page is independent of both projects.

The idea

Add an explicit export action to SeedSigner and a receive-and-review workflow to SeedHammer. Keep the stock motion-control hardware and adapt the input path. This approach does not require replacing the RP2350.

SeedSigner export → framed UART message → SeedHammer validation → on-device review → separate manual engraving confirmation

Both applications need development. A debug connector is not evidence that stock firmware accepts seeds or descriptors over serial. SeedSigner-side hardware UART availability, pin allocation, and software integration remain unverified.

Evidence: the v1.5.0 schematic

The excerpts below were rendered with KiCad from the official v1.5.0 schematic, commit 9564e9a. They are schematic views, not board photographs. The machine reports hardware v1.5; the tag is a candidate reference, not a confirmed identification of the assembled board.

KiCad v1.5.0 excerpt showing J2 UART pin 1 DBG_RX, pin 2 ground and pin 3 DBG_TX, with R5 and R6 series resistors
J2 UART connector and R5/R6, each 100 Ω. Click any schematic to open the scalable original.
J2 UART connectivity, verified from exported v1.5.0 netlist
J2 pinNetPath to RP2350 U16
1DBG_RXR5, 100 Ω → GPIO1, package pin 78
2GNDCommon ground
3DBG_TXR6, 100 Ω → GPIO0, package pin 77

The connector is specified as WAFER-SH1.0-3PWB. The pin numbers above are schematic numbers, not a left-to-right wiring instruction. Confirm footprint orientation and continuity on the actual unpowered board. No supply pin is present on J2.

U16’s I/O rail is +3V3. Treat this as a proposed 3.3 V logic UART interface, not RS-232 or a 5 V serial port. The conceptual link crosses sender TX to receiver RX, crosses the return direction, and shares ground. Confirm both devices’ electrical levels and pin ownership before connecting them; the 100 Ω resistors do not provide isolation or level conversion.

SWD is a different interface

J4 debug header: pin 1 SWCLK, pin 2 ground, pin 3 SWD
J4 exposes SWD debugging, not the proposed serial data channel.
R16 and R17, each 100 ohms, between SWCLK and SWD nets and the RP2350
R16/R17 connect the debug nets to RP2350 SWCLK/SWD. They do not carry UART messages.

The official firmware development instructions describe debug/UART connections and debug-mode logging over USB serial. USB serial and the physical J2 UART are distinct transports. Custom firmware installation may be constrained by secure-boot provisioning; inspect the actual device and the source before promising that an unsigned build can run. No protection bypass is proposed here.

How the steppers and hammer are controlled

At the MCU boundary, motion uses timed digital signals. The GPIOs command power-driver circuits; they do not directly power motors or the hammer coil.

SubsystemInterfaceRole
X/Y stepper driversSTEP + DIR per axisStep pulses command movement; direction sets its sign.
Stepper configurationShared single-wire UARTConfigure driver registers; separate from J2 data transfer.
Homing / faultsX_DIAG, Y_DIAG, S_DIAG and enable logicFeedback and fault handling must be retained.
Hammer / solenoidNEEDLE pulses through gating logicU8 gates NEEDLE into NEEDLE_EN; DRV8701E U14 controls external power MOSFETs. DRV_EN controls its sleep input.

Revision matters: the tagged v1.5.0 schematic has TMC2226 stepper drivers U2/U7; the current upstream design inspected earlier has TMC2209 parts. Those names must not be interchanged when identifying components or pins.

The current platform source specifies a 25 ms hammer cycle (40 Hz), with approximately 4–5 ms activation depending on supply voltage. The engraver initialization applies this timing. These are current source settings, not measured behavior or verified settings for the installed v1.4.2 firmware.

PIO produces coordinated motion in stock firmware. A replacement MCU would need deterministic pulse generation, acceleration and homing behavior, driver configuration, power handling, and fault response. Serial input into the existing controller is a smaller first experiment.

Firmware findings that affect this proposal

The firmware deep dive confirms the distinction between J2 UART0 and the stepper configuration bus. It also finds internal provisioning commands in the shared scanner and automatic homing during full application startup. The serial receiver should accept only typed wallet data and must not forward arbitrary input to internal command dispatch. A debug build does not automatically suppress motion.

A proposed protocol

Start with bounded frames containing protocol version, message type, payload length, payload, and checksum. Specify maximum lengths, timeouts, acknowledgement/error responses, and handling of interrupted or repeated transfers. A checksum detects corruption; it does not authenticate a sender or encrypt a seed.

A public descriptor can reveal wallet addresses and history. Real seed transfer would expose full spending authority on the link and requires a separate security review. No real seed, QR, or personal descriptor belongs in logs, screenshots, fixtures, this website, or issue reports.

Bench milestones

  1. Identify the physical PCB revision, J2 orientation and continuity. Verify levels and boot-time behavior; confirm whether custom firmware can be installed through a supported path.
  2. Validate J2 with non-secret loopback/test messages and no actuator commands.
  3. Add the receiver parser and exercise truncated, malformed, oversized, repeated and interrupted messages.
  4. Implement SeedSigner export with an explicit user action and confirmed UART resources.
  5. Transfer a disposable descriptor, review it on-device, and compare it with the source.
  6. Only then test disposable seed import and a separately confirmed practice engraving. Record scan/readback results before any recovery claim.

Sources and open questions

Tagged official hardware · Official firmware · SeedSigner source · Official V2 manual

Unresolved: exact assembled-board revision, connector mating orientation, installed firmware UART use, secure-boot state, SeedSigner pin conflicts, transport parameters, protocol implementation, and end-to-end validation. This page is an investigation record, not a ready-to-wire guide.

Back to hardware investigations →