NodeNet PWR Module is an open-source printed circuit board by stephentissot, from the stephentissot/NodeNet-SoC-Risc-v repository on GitHub, published under the MIT licence. It is a 2-layer board of 53.5 × 46 mm with 14 parts on 11 nets, routed with 29 tracks and 5 vias.
It is built around the AO3407A, MF-LSMF185X-2 and SMBJ15A. Its parts include 2 capacitors, 1 resistor, 1 diode, 1 transistor and 1 fuse. It belongs with the fPGA and programmable logic boards of this library.
NodeNet SoC Risc-v — Colorlight i9 Multi-Node Embedded System
A complete RISC-V System-on-Chip (SoC) design for the Colorlight i9 FPGA board, featuring a PicoRV32 processor, Wishbone bus interconnect, persistent SPI flash storage, I2C peripherals, distributed RS485 multi-node communication via the NodeNet485 protocol, and a PLC runtime ready for relocatable object-file deployment.
Overview
This project demonstrates a scalable embedded systems design on a cost-effective FPGA:
Peripherals: D2 LED GPIO, RJ45 LED pulse controllers (wb_led), UART1 Modbus RTU master (wb_modbus_master), RS485 NodeNet485, I2C master, SDRAM controller
Communication: NodeNet485 @ 1 Mb/s over RS-485 (multi-node capable)
Firmware: C++17, bare-metal, newlib-nano
Validated boot path: stage0 in ROM validates an image header in SPI flash, copies the payload to SDRAM, checks CRC, then jumps to the application entry point
Validated SDRAM path: full firmware execution from SDRAM, 32-bit accesses, partial Wishbone writes, linker-placed SDRAM_DATA variables, and scratch-area self-tests
Current project status:
PLC Ready with V0 basic ISA
runtime point catalog with pointDefsReq / pointStatesReq browsing and pagination
16 PLC slots with reboot persistence in the raw PLC flash package and automatic restore after boot
OLED boot progress screen plus post-boot slot status screen
ESP32 SPI coprocessor for local web API is in progress on the current branch; the shared SPI link, snapshot bootstrap, incremental state updates, and web UI runtime path are now working together on hardware, while broader validation and the MQTT bridge remain pending
Features
NodeNet PLC
NodeNet PLC catalog browsing supports pointDefsReq and pointStatesReq with hierarchical paths of the form deviceId.feature.pointId.
Point definitions can be created or updated with pointUpsert, and removed with pointDelete.
Modbus-backed points are polled by the PLC runtime and exposed through the same NodeNet command surface.
The PLC runtime publishes a shared SDRAM descriptor/value/status map, and PLC VM writes are consumed through the runtime write queue.
Generic PLC deployment uses relocatable objectFileV1 artifacts; the built-in plcLoadReq mirror helper remains available for fast validation.
PLC feature summary:
Main feature status: PLC Ready with V0 basic ISA
Runtime architecture: shared SDRAM PLC ABI, point runtime descriptors, value/status windows, slot loader/linker, persistent flash package restore at boot
Deployment model: host builds relocatable objectFileV1, firmware links it against the live point catalog, loads it into one of 16 slots, and can persist the slot set for reboot restore
Operating surface: NodeNet browse/update commands for point definitions and point states, PLC slot control/status points, raw PLC upload flow, linked-bytecode readback, and original object-file readback
RISC-V GCC toolchain (riscv-none-elf-gcc ≥ 12, with C++ support)
Make
After cloning, fetch the u8g2 submodule:
bash
git submodule update --init
Build Steps
bash
# Full build (firmware + FPGA)
make all
# Stage0 bootloader only (ROM image)
make firmware-bootloader
# Alias: same stage0 ROM build as above
make firmware-build
# Build stage0 application image (SDRAM payload + header in SPI flash format)
make firmware-image
# SDRAM application ELF only
make -C src/firmware firmware-app-build
# Program firmware payload only in SPI flash (no FPGA rebuild)
make flash-fw
# If bootloader ROM startup / IRQ forwarding changed, reload the FPGA image too
make ram
# Optional: enforce openFPGALoader verify as fatal
make FW_STRICT_VERIFY=1 flash-fw
make firmware-build / make firmware-bootloader print stage0 ROM size telemetry on each build:
ELF text/data/bss
RAM usage (.data + .bss)
HEX file size and payload bytes
ROM usage (payload / ROM_BYTES, in %)
If payload exceeds ROM capacity, build stops with an explicit error.
CPU profile note:
Default build is configured in fast mode for PicoRV32 in src/top.sv with:
.BARREL_SHIFTER(1)
.ENABLE_FAST_MUL(1)
.ENABLE_DIV(1)
To switch back to the normal/smaller CPU profile, set those three parameters to 0 in src/top.sv and rebuild (make clean; make).
If OpenOCD flash programming fails on your setup, you can switch the flash
targets in Makefile to ecpdap. Reference commands:
Field Wiring: Each RS485 channel is exposed as direct A/B/GND connections.
Planned Enhancements
8 MB SDRAM controller (wb_sdram_litedram.sv) with LiteDRAM-generated core and runtime execution from SDRAM
I2C master (wb_i2c.sv) — Wishbone wrapper around verilog-i2c
u8g2 OLED display support (SSD1306 128×64 over I2C)
C++17 firmware with newlib-nano and dead-code elimination
SDRAM section in linker script (sdram.h, SDRAM_DATA macro)
NodeNet485 mailbox transport with TX/RX framing and heartbeat (validation pending)
UART1–4 implementation and testing
RS485 direct connector mapping and labeling verification (A/B/GND)
wb_gpio control bit for RS485 120R termination switch (74LVC1G66GW,125)
Modbus V1 front-end: 4x RS485 modules with direct A/B/GND connectors per channel
wb_gpiopwm peripheral + firmware API (PKLCS1212E4001-R1 buzzer)
TMP117 board temperature sensor + firmware I2C driver/API
Display validation: OLED over I2C and LCD over SPI (select final path after tests)
Evaluate and select more robust 1 Mb/s transceivers for Modbus and NodeNet
Dual Ethernet breakout using i9 onboard Broadcom PHYs (2x RJ45 with magnetics)
RJ45 LEDs integrated through wb_led at dedicated addresses
Final RJ45 firmware policy (link/activity/status) for production runtime
ESP32 module SPI coprocessor for web API and MQTT bridge (in progress: shared SPI link, HTTP app, websocket updates, and plcLink snapshot/resync path validated on hardware; MQTT bridge still pending)
Power option study: use ESP32 module 3.3V rail vs dedicated 12V->3.3V buck
# Program RAM (requires openFPGALoader)
make ram
# Program Flash (permanent)
make flash
# Explicit flash protection control (optional)
make unlock-flash
make lock-flash
# UART loopback test# - Send "Hello" via USB-to-UART adapter# - LED should blink# - Characters echoed back
make flash now performs an explicit unlock step in the OpenOCD write command (flash write_image erase unlock ...) before erase/program.
make lock-flash/make unlock-flash call flash protect ... through OpenOCD; effectiveness/persistence depends on driver support for the target flash path.
The separate vNext PCB skill and orchestrator package is available alongside the reference workflow below; existing projects keep their accepted toolchain until an explicit migration.
Remote HF antenna switch: 3 radios x 4 antennas (path to 8), outdoor relay unit with a hardware safety chain, controlled over Cat6 from a shack interface. KiCad 10, open hardware, designed together with an AI.
357 parts2CERN-OHL-S-2.0
Questions
How big is the NodeNet PWR Module PCB?
It measures 53.5 × 46 mm and has 2 copper layers, 1.6 mm thick.
What parts does the NodeNet PWR Module use?
14 parts, built around the AO3407A, MF-LSMF185X-2 and SMBJ15A. 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 NodeNet PWR Module KiCad files?
From the stephentissot/NodeNet-SoC-Risc-v repository on GitHub, at the commit this page was made from: the board is src/hardware/NodeNetSoh_motherboard_V0.1/Modules/NodeNet_PWR_Module/NodeNet_PWR_Module.kicad_pcb and its schematic src/hardware/NodeNetSoh_motherboard_V0.1/ColorLight i9.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the NodeNet PWR Module design in my own project?
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).