Giter Club home page Giter Club logo

kuchen_first_try's Introduction

Kuchen Computer

Kuchen is an FPGA computer designed by Lone Dynamics Corporation.

Kuchen FPGA Computer

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

Find more information on the Kuchen 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 use ldprog to write the gateware to the device over the ISP header, or use the USB DFU bootloader:

$ dfu-util -a 0 -D output/blinky.bin

Exit the bootloader and continue booting:

sudo dfu-util -e -a 0

Zucker

Zucker is a RISC-V SOC that supports Kuchen.

USB Bootloader

Kuchen supports updating the flash MMOD over its USB-C port with the USB DFU (Device Firmware Upgrade) protocol. When Kuchen powers on (or restarts) the USB bootloader waits 5 seconds for a USB command and then continues the boot process, if it receives a command it will wait until the device is detached (with dfu-util -e) or rebooted (with ldprog -r).

Kuchen ships with the DFU bootloader on the MMOD. In order to re-install the USB bootloader you will need to use the ISP header and ldprog. Make sure you have first installed the software required to build the Blinky example above.

git clone https://github.com/machdyne/tinydfu-bootloader
cd tinydfu-bootloader/boards/kuchen
make
make prog

Now you can program the flash MMOD over USB:

ldprog -r
sudo dfu-util -a 0 -D zucker/output/kuchen/soc.bin
sudo dfu-util -a 1 -D zucker/apps/lix/lix.bin

Exit the bootloader and continue booting:

sudo dfu-util -e -a 0

ISP Header

The ISP header can be used to program the FPGA SRAM as well as the MMOD flash memory.

7 5 3 1
8 6 4 2
Pin Signal
1 CSPI_SS
2 CSPI_SCK
3 CSPI_SI
4 CSPI_SO
5 CRESET
6 CDONE
7 GND
8 PWR5V0

Board Revisions

Revision Notes
V0 Initial production boards
V1 Move DQ7 from K14 to J14

License

The contents of this repo are released under the Lone Dynamics Open License.

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.

kuchen_first_try's People

Contributors

inc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.