/bonbon

Bonbon Computer

Primary LanguageCOtherNOASSERTION

Bonbon Computer

Bonbon is a compact FPGA computer designed by Lone Dynamics Corporation.

Bonbon Computer

This repo contains schematics, PCB layouts, pinouts, example firmware, gateware and documentation.

Find more information on the Bonbon product page.

Blinky

Building the blinky example requires Yosys, nextpnr-ice40 and IceStorm.

Assuming they are installed, you can simply type make to build the gateware, which will be written to output/blinky.bin. You can then connect the Micro-USB port to your computer and use the latest version of ldprog to write the gateware to the device.

Programming

The RP2040 firmware, FPGA SRAM and flash MMOD can be programmed over the Micro-USB port.

Configure the FPGA SRAM:

$ ldprog -b -s blinky.bin

Program the flash MMOD:

$ ldprog -b -f blinky.bin

Note: It should also be possible to program the MMOD over the USB-C port with a USB bootloader but this is not yet officially supported.

Firmware

Bonbon ships with RP2040 firmware based on the Müsli firmware which allows it to communicate with ldprog.

The firmware is responsible for initializing the system, configuring and outputting the system clock, and either configuring the FPGA or telling the FPGA to configure itself from the MMOD.

The system clock (CLK_RP) is 48MHz by default.

The firmware can be updated by holding down the BOOTSEL button, connecting the Micro-USB port to your computer, and then dragging and dropping a new UF2 file to the device filesystem.

DDMI

See this SmolDVI fork for an example of outputting video on the DDMI port.

Pinouts

License

The contents of this repo are released under the Lone Dynamics Open License with the following exceptions:

  • The KiCad design files contain parts of the kicad-pmod library which is released under the Apache License, Version 2.0.

  • The KiCad design files may contain symbols and footprints released under other licenses; please contact us if we've failed to give proper attribution.

Note: You can use these designs for commercial purposes but we ask that instead of producing exact clones, that you either replace our trademarks and logos with your own or add your own next to ours.