From dbc78f8c57735b4cafc95d02eea76b56ae55d626 Mon Sep 17 00:00:00 2001 From: Gwenhael Goavec-Merou Date: Thu, 28 Jan 2021 06:19:43 +0100 Subject: [PATCH] add seeedstudio runber (gowin GW1N-4) --- README.md | 21 ++++++++++++--------- src/board.hpp | 1 + 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 9815d09..fddd15f 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ __Current support kits:__ * [QMTech CycloneV Core Board](https://fr.aliexpress.com/i/1000006622149.html) (memory) * [Trenz Gowin LittleBee (TEC0117)](https://shop.trenz-electronic.de/en/TEC0117-01-FPGA-Module-with-GOWIN-LittleBee-and-8-MByte-internal-SDRAM) * [Saanlima Pipistrello LX45](http://pipistrello.saanlima.com/index.php?title=Welcome_to_Pipistrello) (memory) +* [SeeedStudio Gowin RUNBER](https://www.seeedstudio.com/Gowin-RUNBER-Development-Board-p-4779.html) (memory and flash) * [SeeedStudio Spartan Edge Accelerator Board](http://wiki.seeedstudio.com/Spartan-Edge-Accelerator-Board) (memory) * [Sipeed Tang Nano](https://tangnano.sipeed.com/en/) (memory) * [Sipeed Lichee Tang](https://tang.sipeed.com/en/hardware-overview/lichee-tang/) (memory and spi flash) @@ -363,7 +364,7 @@ openFPGALoader [-b yourBoard] [-c yourCable] project_name/*.mcs ``` -### Trenz GOWIN LittleBee (TEC0117) and Sipeed Tang Nano +### GOWIN GW1N (Trenz TEC0117, Sipeed Tang Nano and RUNBER) *.fs* file is the default format generated by *Gowin IDE*, so nothing special must be done to generates this file. @@ -375,23 +376,25 @@ specify the destination. with **-m** -__file load (Trenz)__: ```bash -openFPGALoader -m -b littleBee impl/pnr/*.fs -``` -__file load (Tang Nano)__: -```bash -openFPGALoader -m -b tangnano impl/pnr/*.fs +openFPGALoader -m -b BOARD_NAME impl/pnr/*.fs ``` +where *BOARD_NAME* is: +- *tec0117* +- *tangnano* +- *runber* -#### Flash (only with Trenz board): +#### Flash (only with Trenz TEC0117 and runber): with **-f** __file load__: ```bash -openFPGALoader -f -b littleBee impl/pnr/*.fs +openFPGALoader -f -b BOARD_NAME impl/pnr/*.fs ``` +where *BOARD_NAME* is: +- **tec0117** +- **runber** ### Sipeed Lichee Tang diff --git a/src/board.hpp b/src/board.hpp index dbf1a52..55c9d2f 100644 --- a/src/board.hpp +++ b/src/board.hpp @@ -108,6 +108,7 @@ static std::map board_list = { JTAG_BOARD("spartanEdgeAccelBoard", "",0, 0), JTAG_BOARD("pipistrello", "ft2232", 0, 0), JTAG_BOARD("qmtechCycloneV", "", 0, 0), + JTAG_BOARD("runber", "ft232", 0, 0), JTAG_BOARD("tangnano", "ft2232", 0, 0), JTAG_BOARD("tec0117", "ft2232", 0, 0), JTAG_BITBANG_BOARD("ulx2s", "ft232RL", 0, 0, FT232RL_RI, FT232RL_DSR, FT232RL_CTS, FT232RL_DCD),