Leviathan icon indicating copy to clipboard operation
Leviathan copied to clipboard

Provision the Leviathan over SWD?

Open Poofjunior opened this issue 1 year ago • 0 comments

The Leviathan has a SWD header with a RESET pin exposed.

swd schematic snippet

In theory, it should be possible to flash the bootloader and firmware to the Leviathan from a Pi4/5 using OpenOCD and by plugging in the the SWD, SWDIO, and RESET pins to reserved GPIO pins on the Pi4/5.

The result is that we could write an all-in-one script that flashes the bootloader and firmware without requiring that the user push a sequence of buttons on the hardware itself.

This would also ask the user would to plug in another cable (or set of cables) for now, but a future header board could expose these pins or include a dedicated cable.

References

Poofjunior avatar Aug 17 '24 16:08 Poofjunior