Skip to the content
4 layers85 × 75 mmFilestick prototype, the printed circuit board in 3D

Filestick prototype

spectrumero/filestick

Econet on a stick

Size
85 × 75 mm
Copper layers
4
Thickness
1.66 mm
Parts
60
Nets
81
Pads
257
Tracks, vias
441, 31
Pours
4
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
15 Jul 2023
Updated
7 Nov 2026

Overview

Filestick prototype is an open-source printed circuit board by spectrumero, from the spectrumero/filestick repository on GitHub. It is a 4-layer board of 85 × 75 mm with 60 parts on 81 nets, routed with 441 tracks and 31 vias.

It is built around the SN65HVD75D, LMV324 and BAT54S. Its parts include 20 resistors, 9 capacitors, 6 connectors, 5 ICs and 5 diodes.

Main components

3

README

README.md

FileStick

This is still a very early work in progress.

This project implements an Econet fileserver "onna stick". Acorn had the FileStore, so this is kind of a play on words on the FileStore. The system is built on a Lattice UltraPlus 5K FPGA, which includes 128kbyte of static RAM on the chip, as well as a number of dual ported blockrams, which makes it ideal for a small system project.

The prototype board is based on the UPduino 3.1 board. See: https://tinyvision.ai/products/upduino-v3-1

The version 1 board contains the econet front end, the up5k FPGA, an SD card slot, flash memory and a USB interface, implemented with an FTDI USB UART.

V1 board

The system consists of a RISC-V core (modified FemtoRV core supporting some extra CSRs, the ecall instruction to handle system calls, ebreak and some limited illegal instruction trapping). The core is an rv32imc (RISC-V 32 bit with the multiply/divide and compressed instructions extensions).

Features

  • USB powered, < 500mA
  • Simple RISC-V implementation and early microcomputer style operating system. System functions via ecall interface.
  • Fully buffered econet implementation, with econet exposed via standard open/read/write/close/ioctl operations.
  • Switchable econet clock generation and termination, so that you don't need a separate clock and terminators for a small Econet.
  • Programmable timers.
  • USB serial interface with hardware FIFO and hardware CTS/RTS flow control. Has an interactive mode for use as the system console and raw mode for transferring files over USB etc.
  • FAT support using FatFS for both microSD and built-in flash.
  • RGB LED, useful for showing system activity.
  • C / C++ programming made easy with newlib and GCC riscv cross compiler, and a lightweight library and specs file for system-specifics.

Project structure

  • hardware: Contains the Verilog source code. Requires a recent version of yosys, nextpnr, and the icestorm tools. (Debian users will need to build these from source, as Debian is still on the old arachnepnr).

  • system: Contains the operating system. This isn't a multiuser/ multitasking operating system, it's an OS in the vein of a classic home micro's operating system. It does provide a number of system calls using the Linux rv32 syscall numbers. Remember there is no virtual memory on this very small system, however, some simple memory protection is planned so that user programs can't accidentally overwrite kernel memory or device address space.

  • lib: The filestick library. This is required for most userspace programs as at the very least it provides the sbrk implementation needed to properly support libc's malloc.

Other programs

(Full disclosure: the emulator and BASIC interpreter below was done with the full assistance of Claude Code, much as it would be an interesting project to do them from scratch, it would take me far too long, I had already been putting off writing the emulator for 2 years :-) )

  • emulator: An emulator. See the README file for how to use it. The emulator is based off the Verilog code and should match it closely. At the moment it only supports an OS with pseudottys (e.g. Linux) but it's probably not too hard to do a version for Windows for anyone so inclined. By default, tries to match the running speed of the real hardware.

  • basic: A small BBC BASIC implementation. Implements most of BASIC II as you would find on a BBC Micro and should be compatible with a saved BBC BASIC file. Graphics/sound/screen modes not implemented because there aren't any. Nor is there an assembler (if you want to write rv32 asm, I suggest using xpack's gnu as). The code segment is around 28k, and when running on the board, there's about 33k available for BASIC programs.

  • cputest: A test suite for the CPU, checking each unprivileged RV32IMC instruction against the RISC-V specification. See the README file.

Toolchain

The xPack GNU RISC-V embedded GCC project is used to build all source code. xPack provides ready-to-run toolchains for many platforms including Linux, Windows and MacOS. Other GCC toolchains will probably work, but xPack is likely the easiest/most convenient to use.

The xPack toolchain includes newlib (the libc).

See their releases here: https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases

The build system uses cmake. If you're running Linux, your distro almost certainly has cmake. Otherwise see: https://cmake.org/

Building

To build the gateware, you will need yosys, nextpnr and icestorm tools installed. Run:

text
$ cd rtl
$ make PCF=<pcf version of your board>

If the PCF variable is left unset, the default will be picked which will be for the latest version of the hardware.

To build the software, assuming a suitable rv32 compiler (e.g. the xpack one suggested):

text
$ cmake -B build
$ cd build
$ make

Outputs will be build/system/filestick-system.bin, build/boot/filestick-boot.bin, build/lib/libfilestick.a, build/init/init.elf.

Installing

To install the gateware, in the rtl directory run make flash which will use a suitable FTDI FT232H programmer to write the flash. This also installs the bootloader as part of the gateware file.

To install the system image with the FTDI programmer:

text
iceprog -d i:0x0403:0x6014 -X -o 0x020000 build/system/filestick-system.bin

To install init with the FTDI programmer:

text
iceprog -d i:0x0403:0x6014 -o 0x030000 build/init/init.elf

To install the in-built filesystem:

text
iceprog -d i:0x0403:0x6014 -o 0x040000 256kfs.img

(256kfs.img is a blank 256k fat12 filesystem, used for storing system settings and some basic software).

TODO

There's much to do. More to come later, including how to write programs for the FileStick.

Parts

60
QtyValueFootprintReferences
9100nFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC1, C2, C3, C4, C5, C6, C7, C8, C9
71kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR1, R11, R13, R15, R16, R17, R18
52N7002Package_TO_SOT_SMD:SOT-23Q1, Q2, Q3, Q4, Q5
456Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR7, R8, R9, R10
336kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR3, R5, R14
3BAT54SPackage_TO_SOT_SMD:SOT-23D1, D2, D3
2560Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR19, R20
2DIN-5filestick-footprints:Lumberg_DIN41524_5pinJ1, J2
2LEDLED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolderD5, D6
2SN65HVD75Package_SO:SO-8_5.3x6.2mm_P1.27mmU1, U3
110kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR4
11R0Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR12
1470kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR6
15k1Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR2
1Collision Mon TPConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalTP4
1Conn_01x01_FemaleConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalTP3
1Econet TP headerConnector_PinHeader_2.54mm:PinHeader_1x12_P2.54mm_VerticalTP2
1GPIO header 1Connector_PinHeader_2.54mm:PinHeader_1x09_P2.54mm_VerticalJ3
1GPIO header 2Connector_PinHeader_2.54mm:PinHeader_1x16_P2.54mm_VerticalJ5
1J Clk +Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJP2
1J Clk -Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJP1
1J Data +Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJP4
1J Data -Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJP3
1LMV324Package_SO:SO-14_5.3x10.2mm_P1.27mmU2
1SPI headerConnector_PinHeader_2.54mm:PinHeader_1x10_P2.54mm_VerticalJ6
1SW_PushButton_Switch_SMD:SW_Push_1P1T_NO_6x6mm_H9.5mmSW1
1Term En V TPConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalTP1
1UART headerConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ4
1Upduino 3.1filestick-footprints:DIP48_0.7inU4
1VDD TX TPConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalTP5
1pololu_sd_breakoutfilestick-footprints:pololu_sd_cardU5

More from spectrumero/filestick

1
  • 4 layers88 × 54 mmFilestick, the printed circuit board in 3D

    Filestick

    spectrumero/filestick

    Econet on a stick

    108 parts

Similar boards

  • 4 layers10 × 22.5 mmCircle, the printed circuit board in 3D

    Circle

    osrf/slow_bldc

    52 parts4Apache-2.0
  • 4 layers135 × 70 mmBms c1, the printed circuit board in 3D

    Bms c1

    OpenConverters/Faraday

    The living record of ABT #422 (closed 2026-08-01; this file is its successor — update it as boards land). The program: grow the open-source converter corpus, track (a) the derive success rate of the critical-mesh…

    210 partsMIT
  • 2 layers30 × 17.1 mmRs485 SN65HVD75 TestBoard, the printed circuit board in 3D

    Rs485 SN65HVD75 TestBoard

    horychen/ProjectEureka

    12 phase motor drive including inverter, microcontroller-mother-board, sensing, communication, DAC, etc.

    11 parts17GPL-3.0
  • 4 layers89 × 58 mmHALMET, the printed circuit board in 3D

    HALMET

    hatlabs/HALMET-hardware

    Hat Labs Marine Engine & Tank interface hardware design files

    227 parts8CC-BY-4.0
  • 2 layers180 × 100 mmController V2, the printed circuit board in 3D

    Controller V2

    omeralaa11/BLDC-Motor-controller-for-Shell-eco-marathon-

    Hardware design of A BLDC Motor controller design for a 350W motor used in Shell eco marathon Qatar 2026 competition

    174 parts
  • 4 layers80 × 105 mmRobotLegoController, the printed circuit board in 3D

    RobotLegoController

    OpenBotBrain/mcu-board

    Some design notes for an MCU board.

    725 parts
  • 2 layers100 × 59 mmML0, the printed circuit board in 3D

    ML0

    brucemack/microlink

    An open source EchoLink/AllStarLink implementation that runs on a simple microcontroller.

    65 parts18GPL-3.0
  • 2 layers150 × 50 mmEsp32-led smps, the printed circuit board in 3D

    Esp32-led smps

    lucysrausch/esp32-led-smps

    230V main LED smps. 2x30W Constant Current.

    179 parts30

Questions

How big is the Filestick prototype PCB?

It measures 85 × 75 mm and has 4 copper layers, 1.66 mm thick.

What parts does the Filestick prototype use?

60 parts, built around the SN65HVD75D, LMV324 and BAT54S. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Filestick prototype KiCad files?

From the spectrumero/filestick repository on GitHub, at the commit this page was made from: the board is prototype/filestick-prototype/filestick-prototype.kicad_pcb and its schematic pcb/filestick/filestick.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Filestick prototype design in my own project?

Its repository states no licence, so its author keeps all rights: ask spectrumero before reusing the design.