This commit is contained in:
wonderfullook
2022-10-21 22:11:13 +08:00
parent 0f6c02c374
commit 43e2597dbf
11 changed files with 139 additions and 47 deletions

View File

@@ -195,6 +195,10 @@
{
"label": "Tang Nano examples",
"file": "tang/Tang-Nano-Doc/examples.md"
},
{
"label": "Questions&Answers",
"file": "tang/Tang-Nano-Doc/questions.md"
}
]
},
@@ -206,8 +210,23 @@
{
"label": "Tang Primer 20K",
"file": "tang/tang-primer-20k/primer-20k.md",
"item": [
{}
"item": [
{
"label":"Notice",
"file" :"tang/tang-primer-20k/start.md"
},
{
"label": "Install IDE",
"file": "tang/Tang-Nano-Doc/install-the-ide.md"
},
{
"label":"Examples",
"file" :"tang/tang-primer-20k/example.md"
},
{
"label": "Questions&Answers",
"file": "tang/Tang-Nano-Doc/questions.md"
}
]
},
{
@@ -242,10 +261,6 @@
]
}
]
},
{
"label": "Questions&Answers",
"file": "tang/Tang-Nano-Doc/questions.md"
}
]
},

View File

@@ -1,11 +1,15 @@
---
title: Install IDE
keywords: Sipeed, Gowin, Tang, Nano, fpga, primer
update:
- date: 2022-10-18
version: none
author: wonder
content:
- Update the expired descriptions
---
> Edit on 2022.08.16
We need Gowin IDE to use Gowin chips, and the documents about the ide can be found here:[click me](https://www.gowinsemi.com/en/support/database/14/)
We need Gowin IDE to program Gowin FPGA chips, and the documents about the ide can be found here:[click me](https://www.gowinsemi.com/en/support/database/14/)
- Download and install the corresponding edition of the IDE according to your OS
- For linux users we suggested using Openfpgaloader to burn fpga, which maybe a good choice. Visit the end of this page [burn-in-linux](#burn-in-linux) for more details.
@@ -14,17 +18,17 @@ We need Gowin IDE to use Gowin chips, and the documents about the ide can be fou
### Download IDE
- The IDE can be downloaded on this page http://www.gowinsemi.com.cn/faq.aspx after logining in.
- The IDE can be downloaded on this page https://www.gowinsemi.com/en/support/download_eda/ after logining in.
![download_ide](./assets/download_ide.png)
> Because of the IDE updating, the screenshot is created on 2022.08.17
> Because of the IDE updating, the screenshot is created on 2022.10.18
---
The IDE is divided into General Edition and Education Edition:
The IDE is divided into Standard Edition and Education Edition:
General Edition IDE requires license, which you should apply from GOWIN.
Standard Edition IDE requires license, which you should apply from GOWIN Semiconductor Corp.
Education Edition IDE is free to use, but supports fewer device and contains less IP core.
@@ -33,15 +37,17 @@ The following figure shows part number supported in the latest Education Edition
![educational_device](./assets/educational_device.png)
In this sheet
- GW2A-LV18PG256C8/I7 GW2A-18C is the chip on Primer 20K
- GW1NR-LV9QN88PC6/I5 GW1NR-9C is the chip on Nano 9K
- GW1NSR-LV4CQN48PC6/I5 GW1NSR-4C is the chip on Nano 4K
- GW2A-LV18PG256C8/I7 GW2A-18C is the chip on Primer 20K
- GW1NR-LV9QN88PC6/I5 GW1NR-9C is the chip on Nano 9K
- GW1NSR-LV4CQN48PC6/I5 GW1NSR-4C is the chip on Nano 4K
### Start to install
So for those who use Tang Nano or Tang Nano 1K, it's need to use Standard Edition IDE and apply license from GOWIN Semiconductor Corp now.
### Install
#### Linux OS
For linux OS, download the IDE and extract it, the executable file gw.ide is in the /programmer/bin/ execut it in command line to run GOWIN IDE.
For linux, download the Linux edition IDE and decompress it, the executable file `gw_ide` is in the decompressed folder /IDE/bin/execute it in command line to run GOWIN IDE. Remember to change the executable permission of the software `chmod + x` if running the software fails.
#### Windows OS
@@ -54,7 +60,10 @@ Make sure you have installed all components.
<img src="./../../../zh/tang/Tang-Nano-Doc/get_started/assets/IDE-4.png" width=45% alt="install-programmer">
</div>
In the second picture, Gowin is the IDE which we will use to generate bitstream file, and the Gowin programmer is what we use to burn fpga. But the programmer installed with IDE does not match the USB-Jtag we provide, so we recommand you use this [programmer](https://dl.sipeed.com/shareURL/TANG/programmer) to avoid situations such as failing downloading bitstream file.
In the second picture, Gowin is the IDE which we will use to generate bitstream file, and the Gowin programmer is what we use to burn fpga. But the programmer installed with IDE does not match the USB-Jtag we provide, so we suggest you visit [Tang questions](./../Tang-Nano-Doc/questions.md) to see how to replace programmer application to solve problems.
<!-- so we recommand you use this [programmer](https://dl.sipeed.com/shareURL/TANG/programmer) to avoid situations such as failing downloading bitstream file. -->
After finishing installing IDE, there are 2 drivers to be installed.
@@ -69,7 +78,7 @@ After installing all, there is an IDE icon is like this shown on your desktop.
### About the license
Educational edition IDE does not require license.
General edition IDE require the license, which you should apply from Gowin official website, visit https://www.gowinsemi.com/en/support/license/ for more information, and there will be a software choice between `GOWIN EDA` and `GOWIN GMD`, the `GOWIN EDA` is what we use to program FPGA and the `GOWIN GMD` is what we use to program the hardcore or softcore in FPGA, so you should choose `GOWIN EDA` in the software choice to get your license to run GOWIN IDE.
Standard edition IDE require the license, which you should apply from Gowin official website, visit https://www.gowinsemi.com/en/support/license/ for more information, and there will be a software choice between `GOWIN EDA` and `GOWIN GMD`, the `GOWIN EDA` is what we use to program FPGA and the `GOWIN GMD` is what we use to program the hardcore or softcore in FPGA, so you should choose `GOWIN EDA` in the software choice to get your license to run GOWIN IDE.
### Verify license
@@ -84,28 +93,28 @@ Then we can start to use GOWIN IDE.
Because the Programmer application installed with IDE may bot match with the USB-JTAG we provide when burning fpga, so for Windows users it's commanded that using this [Programmer](https://dl.sipeed.com/shareURL/TANG/programmer) to burn FPGA.
For linux users, go to the end of this page to see [burn-in-linux](#burn-in-linux) if you have trouble openning Gowin programmer.
For Linux users, go to the end of this page to see [burn-in-linux](#burn-in-linux) if you have trouble running Gowin programmer.
## External
## Other
It may take a time to receive license. During this time we can read GOWIN official documents, which can easily be found after installing IDE.
It may take a time to receive license. During this time we can read GOWIN Semiconductor Corp official documents, which can easily be found after installing IDE.
There are three contents in the IDE installation path : IDE folder, Programmer folder, uninst.exe
![ide_folder](./../../../zh/tang/Tang-Nano-Doc/get_started/assets/ide_folder.png)
**IDE** folderHere I suggest you view the **doc** folder, many GOWIN official documents are set in it like showing below.
**IDE** folderHere I suggest you view the **doc** folder, many GOWIN Semiconductor Corp official documents are set in it like showing below.
![IDE](./../../../zh/tang/Tang-Nano-Doc/get_started/assets/doc-folder.png)
Programmer folder: There are also many documents
**Programmer folder**: There are also many documents
![programmer](./../../../zh/tang/Tang-Nano-Doc/get_started/assets/programmer-folder.png)
We suggest you delete the Programmer folder installed with IDE and use this version [Click me](https://dl.sipeed.com/shareURL/TANG/programmer)which can reduse many troubles
uninst.exeremove IDE
**uninst.exe**remove IDE
### Burn in linux
## Burn in linux
Here is a way to burn the development board in linux [click me](./flash-in-linux.md)

View File

@@ -0,0 +1,44 @@
---
title: Tang Primer 20K examples tutorial
keywords: Tang Primer 20K ,example, guide
update:
- date: 2022-10-17
version: v0.1
author: wonder
content:
- Determine directory
---
> All examples articles and github are continuing building, thanks for your unserstanding.
## LED
Dock ext-board contains 6 LEDs, we can do many things by them.
- Combined logic operation:
- [Assign led on]
<!-- - (./examples/assign_led.md)The guide of IDEnecessary read -->
- [Key_led_on]
<!-- - (./examples/key_led_on.md) (The guide of following documentsnecessary read) -->
- [Xor_logic_led_on]
<!-- - (./examples/xor_led_on.md) -->
- [Decode_led_on]
<!-- - (./examples/decode_led_on.md) -->
- Timing logic operation:
- [Counter blink led]
<!-- - (./examples/led.md) -->
- [Flow led]
<!-- - (./examples/water_led.md) -->
- Breath_led
## RGB LCD
## SPI LCD
## CAM LCD
## Others
- HDMI
- USB example
- Ethernet

View File

@@ -279,6 +279,10 @@
"label":"开箱指南",
"file" :"tang/tang-primer-20k/start.md"
},
{
"label": "安装 IDE",
"file": "tang/Tang-Nano-Doc/get_started/install-the-ide.md"
},
{
"label":"例程指南",
"file" :"tang/tang-primer-20k/example.md"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 94 KiB

View File

@@ -10,12 +10,6 @@ update:
- 去掉了替换 Programmer 相关操作说明
---
<!--
---
title: 安装IDE
keywords: Sipeed, Gowin, Tang, Nano, fpga, 矽速
--- -->
使用高云半导体的 FPGA 需要用到 GOWIN 这个软件,对应的软件文档链接:
<http://www.gowinsemi.com.cn/down.aspx?FId=n14:14:26>
@@ -49,11 +43,13 @@ IDE 分为商业版和教育版:
- GW1NR-LV9QN88PC6/I5 GW1NR-9C 为 Nano 9K 所使用的芯片
- GW1NSR-LV4CQN48PC6/I5 GW1NSR-4C 为 Nano 4K 所使用的芯片
所以对于购买了 Tang Nano 和 Tang Nano 1K 的用户,目前需要使用商业版的 IDE 且需要自行向高云半导体官方申请 license。
### 开始安装
#### Linux 系统
Linux 版本的解压后里面存在着一个 bin 文件夹,然后可执行文件 gw.ide 就在所解压路径的 bin 文件夹中,用命令行来启动即可;运行软件失败的话记得改软件的可执行权限 `chmod + x`
Linux 版本的解压后里面存在着一个 bin 文件夹,然后可执行文件 `gw_ide` 就在所解压路径的 /IDE/bin/ 文件夹中,用命令行来运行即可;运行软件失败的话记得改软件的可执行权限 `chmod + x`
#### Windows 系统
@@ -66,6 +62,8 @@ Linux 版本的解压后里面存在着一个 bin 文件夹,然后可执行文
下图的两个都需要安装上。其中的 Gowin 为 IDE 本体, 另一个 programmer 相关的是烧录软件。
因为我们的下载器与 IDE 附带安装的 Programmer 可能不太兼容,使用中有问题的话可以前往 <a href="./../questions.html#下载失败" target="blank">programmer 相关里的下载失败</a> 来查看对应方法。
<!-- 由于我们所提供下载器会与新版的 IDE 不太兼容,因此建议前往 <a href="./../questions.html#下载失败" target="blank">programmer 相关里的下载失败</a> 来查看对应方法。 -->
<img src="./assets/IDE-4.png" width=50%>
@@ -125,7 +123,8 @@ Linux 版本的解压后里面存在着一个 bin 文件夹,然后可执行文
<!-- 在烧录 FPGA 的时候可能因为安装 IDE 时所安装的 Programmer 软件不兼容我们所提供的下载器,因此对于 Windows 用户要求使用我们所提供的特定版本的 Programmer 软件,[点我](https://dl.sipeed.com/shareURL/TANG/programmer)跳转下载即可; -->
如果下载固件失败的话,可以手动下载一下 Programmer 软件来试试 [跳转地址](http://www.gowinsemi.com.cn/faq.aspx)
如果下载固件失败的话,可以手动下载一下 Programmer 软件来试试 [跳转地址](https://dl.sipeed.com/shareURL/TANG/programmer)
![programmer_download](./assets/programmer_download.png)
对于 Linux 用户可以用 Openfpgaloader, 查看本页最底部的相关说明即可。
@@ -146,13 +145,13 @@ Linux 版本的解压后里面存在着一个 bin 文件夹,然后可执行文
![programmer](./assets/programmer-folder.png)
uninst.exe卸载IDE
**uninst.exe**卸载IDE
## 其他安装方法
<!-- ## 其他安装方法
下面是高云半导体官方所提供的 IDE 安装方法,有需要的话可以自行查阅
+ [高云半导体软件简介和安装](http://cdn.gowinsemi.com.cn/%E9%AB%98%E4%BA%91%E8%BD%AF%E4%BB%B6%E7%AE%80%E4%BB%8B%E5%92%8C%E5%AE%89%E8%A3%85.pdf)
+ [高云半导体软件简介和安装](http://cdn.gowinsemi.com.cn/%E9%AB%98%E4%BA%91%E8%BD%AF%E4%BB%B6%E7%AE%80%E4%BB%8B%E5%92%8C%E5%AE%89%E8%A3%85.pdf) -->
## Burn in linux

View File

@@ -1,4 +0,0 @@
---
layout: redirect
redirect_url: https://wiki.sipeed.com/m3axpi
---

16
pages/index/zh/gowin.html Normal file
View File

@@ -0,0 +1,16 @@
<script>
var hash = window.location.hash
if (hash.indexOf("qa")!= -1){
location.href = "https://wiki.sipeed.com/hardware/zh/tang/Tang-Nano-Doc/questions.html"
}
if (hash.indexOf("ide")!= -1){
location.href = "https://wiki.sipeed.com/hardware/zh/tang/Tang-Nano-Doc/get_started/install-the-ide.html"
}
if (hash.indexOf("gao")!= -1){
location.href = "https://wiki.sipeed.com/hardware/zh/tang/Tang-Nano-Doc/questions.html#%E4%BD%BF%E7%94%A8-GAO"
}
else
{
location.href = "https://wiki.sipeed.com/hardware/zh/tang/index.html"
}
</script>

View File

@@ -0,0 +1,10 @@
<script>
var hash = window.location.hash
if (hash.indexOf("qa")!= -1){
location.href = "https://wiki.sipeed.com/soft/maixpy/zh/others/maixpy_faq.html"
}
else
{
location.href = "https://wiki.sipeed.com/soft/maixpy/zh/"
}
</script>

View File

@@ -1,5 +0,0 @@
---
layout: redirect
redirect_url: /soft/maixpy/zh/
---

View File

@@ -0,0 +1,4 @@
---
layout: redirect
redirect_url: https://wiki.sipeed.com/hardware/zh/modules/micarray.html
---