for LUNA, and equivalent SAMDx1 boards
Based on opendime/DAFU/ Based on t2-firmware/boot/
Compatible with DFU Utils and pyfwup.
This code is a modified variant of the DAFU bootloader; a DFU bootloader for SAMD21-family microcontrollers.
Saturn-V is the "firmware upgrade" (DFU) bootloader for LUNA. It's used to bootstrap an entire LUNA board; and can help to recover the Debug Controller (DC), or to flash firmware updates.
Typically, the Saturn-V bootloader will be used to flash the Apollo firmware onto the Debug Controller; which can then be usd to bring up the main FPGA gateware.
Compilation should be as easy as running the single Makefile
. If you're not using the arm-none-eabi-
toolchain,
you'll need to specify your compiler prefix using the CROSS
variable.
Once the bootloader has been built, use an SWD programmer to load the .elf file; or program the relevant .bin to the start of ROM (0x00000000).