The OrangeCrab is an electronics development board. It is FPGA based featuring an ECP5 from Lattice. The board follows the slim feather board specification from Adafruit. The FPGA is compatible with all open source toolchains and is perfect for experimenting with RISC-V cores. There aren't many FPGA boards available that make use of the ECP5, but here are some distinct features that set this board apart:
FPGA is an acronym for Field Programmable Gate Array. At a basic level, a FPGA is an integrated circuit filled with an array of very basic digital building blocks.
One of these blocks is the Look-Up Table (LUT). A LUT takes some inputs and 'looks up' what its output should be. LUTs are programmable, so they can be configured to emulate basic logic elements: AND, OR, NOR, XOR. Or they can be programmed as compound logic.
Another element inside FPGAs is Flip-Flops or registers. These enable the chip to have a memory or current state. They update and hold their output value based on the input value at the rising edge of a clock signal.
The last major component inside a FPGA is the routing. Routing enables us, the digital designer, to tell the FPGA how all these internal elements shall be connected.
Using these blocks, we can create simple designs such as counters, and state machines or more complex designs like an entire CPU.
FPGAs are typically used in systems requiring lots of parallel processing, such as Video/Imaging processing, Digital signal processing, Telecom/communication encoding. They also work great for prototyping and learning digital electronics. They enable you to design and run custom digital logic. The FPGA used on this board is the ECP5 from Lattice, is classed as a low power/midrange FPGA. It's powerful enough to create a RISC-V 32bit CPU inside running at ~75MHz with a DDR3 memory controller. A CPU in isolation is typically not very useful, which is where SoC's come in.
System On Chip (SoC), in an FPGA context, describes a CPU and its connection to memory, cache, peripherals, and I/O. An FPGA is a perfect tool to experiment with your own SoCs.
Have you ever been working through a project, but then need just one more UART?
Run out of Timers?
Short on PWM?
No more program space?
Routed UART TX/RX backward on a circuit board?
A custom SoC design may have been able to help! Because you're in control of everything, you get to decide how many UARTs or PWMs you have!
If you want 20 UARTs, one on every I/O pin, this FPGA can deliver.
I've been enjoying using LiteX for working on custom SoC. It handles a lot of the basic tasks required, such as:
Litex also works seamlessly with LiteDRAM, which is an open source DDR memory controller. This is used and tested on the OrangeCrab to handle the management of the on-board DDR3 memory.
Unlike traditional FPGA development boards, this board is small enough to carry in your pocket and function as a prototyping ground for custom SoC designs. Create custom SoCs or work on your own custom digital logic designs on a bus, train, or in an airplane.
If you are not familiar with the feather format, you might be surprised by the size of this board. The Feather format has dimensions of: 22.86 x 50.8mm (0.9" x 2.0")
For reference this is the board pictured next to some standard ISO/IEC 7810 ID-1 cards.
This what you will receive, the OrangeCrab r0.2
MicroSD card not included, just shown for demonstration purposes
OrangeCrab-examples - still a work in progress
DFU Bootloader - The DFU bootloader that ships with the OrangeCrab.
The board comes pre-loaded with a USB based DFU bootloader. Just hold down the button while plugging it in to activate. The bootloader lets you load new bitstreams (FPGA code) or firmware (RISCV code) directly into the FLASH, without the need for an external programmer.
The bootloader is also open source, based on foboot (fomu bootloader)
For more advanced users, the board also features a standard 0.05" JTAG connector. The ECP5 can be reprogrammed directly over JTAG or using a SPI bypass mode, and the onboard FLASH can be read/written over JTAG.
This is still a work in progress!
Plug the board in and start blinking LEDs straight away with no external tools required.
Install the RISCV GCC compiler and start programming the board, code is executed on the SoC created by the bootloader.
Update the FPGA gateware using Verilog or other Higher level language: nMigen, Litex, Chisel, etc.
The open source toolchain is quick to install and fully cross platform. These tools can be installed by following the installation guides on each project, or alternatively there are prebuilt versions
The Board is also fully compatible with Lattice's Diamond IDE.
Find more info on the projects Github pages site: https://gregdavill.github.io/OrangeCrab/r0.2/
Contact me on twitter: @GregDavill.
I'd love to see what you create with the OrangeCrab!
Thanks for your interest, have a great day.
The group buy will enable us to get these boards professionally manufactured by a US assembly house. We want to get more awesome hardware into your hands!
One OrangeCrab PCB assembly
Not available / campaign funded, end date: Mon, 13 Apr 2020 16:19:00 PDT
GroupGets will handle the shipment of orders for this product.
Select this option if you need a USB cable.
A high quality custom case to keep your Orange Crab in.
If there's anyone in Europe that would be interested in doing a group buy together to split the shipping, shoot me an email at firstname.lastname@example.org.
Even though we ordered enough Lattice parts well before the campaign closed, they currently won't arrive until the end of May, which was unexpected. All PCBs and remaining parts are in hand but it's looking like we won't be able to ship until the middle of June. We will update you if this changes, and sorry for the late notice. We just found out this week that the Lattice parts got delayed.