MQTT-controlled 4-channel DDS signal generator using Urukul, Humpback and STM32 NUCLEO
Go to file
2020-08-31 13:32:08 +08:00
.cargo ethernet: separate pin dec 2020-08-27 17:09:35 +08:00
examples ethernet: minimal impl for urukul as scpi device 2020-08-31 13:32:08 +08:00
gdb_config gdb_config: less destructive flash reset 2020-08-20 11:18:33 +08:00
migen migen: replace ethernet conflict pin 2020-08-24 10:57:37 +08:00
nix nmigen: purgred nmigen nix config 2020-08-12 12:45:19 +08:00
src ethernet: minimal impl for urukul as scpi device 2020-08-31 13:32:08 +08:00
.gitignore gitignore: migrated 2020-08-07 13:08:40 +08:00
Cargo.toml cpld: detach from lib.rs 2020-08-31 09:31:56 +08:00
memory.x rust: migrated 2020-08-07 13:36:00 +08:00
README.md ethernet: add scpi to silent socket example 2020-08-28 15:48:13 +08:00
shell.nix migen: fix lvds input 2020-08-21 11:17:08 +08:00

Firmware development

RF signal generator using Urukul, Humpback and STM32

Nix commands

Open nix shell before anything.

nix-shell

Start OpenOCD server in unblocking mode.

run-openocd

Start OpenOCD server in blocking mode, for console print through semihosting.

run-openocd-block

Reset STM32 flash before flashing bitstream for Humpback FPGA.

reset-flash

Load bitstream to Humpback FPGA.

configure-fpga

Verify a proper bitstream is loaded to STM32 flash.

verify-fpga-config

Run a Ethernet server with TCP socket examples.

run-ethernet-server

Select a different gdb config file from gdb_config directory.

set-gdb-config-file <filename>

Leave as blank for default openocd.gdb configuration.

Known problems

This version does not compile on its own. The SCPI crate referenced in cargo.toml refers a modified SCPI pasrsng crate stored locally.