How kavinv125/gnss-dev works
This repository contains two PicoRV32 FPGA SoC paths: a GNSS telemetry engine documented in the README, and a separate resident UART bootloader in picorv32_bootloader. The principal bootloader workflow is host upload, bootloader receipt and RAM copy, acknowledgement, then application execution. The README describes richer GNSS RTL capabilities, but their named modules are absent from the supplied tree; the graph limits that branch to listed RTL files and documented architecture. The source excerpts show the bootloader protocol directly; GNSS internals beyond the sampled files are not verified.
Main entry points: main.c Resident Loader · soc.v SoC Interconnect · simple_uart.v UART Peripheral · upload.py Image Uploader
Components 15
Host Upload
- Image Uploader
picorv32_bootloader/host/upload.py - UART Monitor
scripts/monitor_uart.py
Bootloader Runtime
- Resident Loader
picorv32_bootloader/bootloader/main.c - LED Application
picorv32_bootloader/app/main.c
FPGA SoC
- Application RAM
- PicoRV32 Core
rtl/picorv32.v - SoC Interconnect
rtl/soc.v - BRAM
rtl/bram.v - FPGA Top
rtl/picorv32_top.v
GNSS Telemetry
- GNSS Architecture
- UART Transmitter
rtl/uart_tx.v - UART Peripheral
rtl/simple_uart.v - Firmware Demo
firmware/main.c
Other components
- Board Operator
- Serial Port
Connections 15
- Board Operator → Image Uploader: selects image
picorv32_bootloader/host/upload.py - Image Uploader → Serial Port: sends length and image
picorv32_bootloader/host/upload.py - Serial Port → Resident Loader: delivers upload
picorv32_bootloader/bootloader/main.c - Resident Loader → Application RAM: writes image
picorv32_bootloader/bootloader/main.c - Resident Loader → Serial Port: sends acknowledgement
picorv32_bootloader/bootloader/main.c - Resident Loader → LED Application: jumps to app
picorv32_bootloader/bootloader/main.c - Board Operator → UART Monitor: opens monitor
scripts/monitor_uart.py - UART Monitor → Serial Port: reads bytes
scripts/monitor_uart.py - PicoRV32 Core → SoC Interconnect: uses bus
- SoC Interconnect → BRAM: accesses RAM
- SoC Interconnect → UART Peripheral: routes MMIO
- FPGA Top → SoC Interconnect: instantiates
- GNSS Architecture → UART Transmitter: documents transmitter
README.md - Firmware Demo → UART Peripheral: writes MMIO
firmware/main.c - UART Peripheral → Serial Port: transmits output