Delay generator will appear as a new serial device under /dev/tty.usb*
with default baud rate of 115200.
As of now, only the commands marked with a tick symbol below, are supported.
Recommended way of operation:
- Set up serial connection
- Soft reset (optional)
- Set pulse width in clock cycles (default: 8ns each)
- Set delay in clock cycles (default: 8ns each)
- Arm the device using "glitch" command
- Wait for state to return to 0 (idle)
PICO_SDK_PATH=/path/to/pico-sdk cmake -S . -B build
cmake --build build
Fully compatible with FPGA-based chipfail-glitcher, but not all commands are functional yet.
Soft Reset = b"@" = 64 = 0x40 ✓
Toggle LED = b"A" = 65 = 0x41 ✓
Power Cycle = b"B" = 66 = 0x42
Set Pulse Width = b"C" = 67 = 0x43 ✓
Set Delay = b"D" = 68 = 0x44 ✓
Set Power Pulse = b"E" = 69 = 0x45
Glitch = b"F" = 70 = 0x46 ✓
Read GPIO 0-7 = b"G" = 71 = 0x47
Enable power cycle = b"H" = 72 = 0x48
Get state = b"I" = 73 = 0x49 ✓