TA的每日心情 | 开心 2019-11-4 13:48 |
---|
签到天数: 14 天 连续签到: 1 天 [LV.3]偶尔看看II
|
楼主 |
发表于 2018-11-2 16:52:54
|
显示全部楼层
4、SiFive基于risc-v指令集的芯片验证
4.1 准备工作
1) Xilinx Artix-7 35T Arty FPGA Evaluation Kit开发板
2) ARM-USB-TINY-H(这里我选用JLink当作Jtag用,省了点钱)
3) FPGA toolchain(下载WEB版开发工具:https://www.xilinx.com/support/download.html)
- sudo chmod +x Xilinx_Vivado_SDK_Web_2018.2_0614_1954_Lin64.bin
- sudo ./Xilinx_Vivado_SDK_Web_2018.2_0614_1954_Lin64.bin
复制代码 下载合适的驱动:
- cd /opt/Xilinx/Vivado/2018.2/data/xicom/cable_drivers/lin64/install_script/install_drivers/
- sudo ./install_drivers
复制代码 获取Diailent板级支持文件,拷贝到Vivado下:
- git clone https://github.com/Digilent/vivado-boards.git
- sudo cp -r vivado-boards/new/board_files/* /opt/Xilinx/Vivado/2018.2/data/boards/board_files/
复制代码 返回到HOME目录,启动环境变量(每次新打开一个termianl去启动VIVADO的时候,都需要执行):
- source /opt/Xilinx/Vivado/2018.2/settings64.sh
- sudo /opt/Xilinx/Vivado/2018.2/bin/vivado
复制代码
4) 通过vivado UI界面给板子配置(烧写pre-build FPGA二进制程序)
预编译好的二进制FPGA文件Freedom E310 Arty FPGA Dev Kit Bitstream可以从https://dev.sifive.com/dashboard/下载(需要注册)
打开vivado -> Hardware Manager -> 选择板子( Micron part n25q128-3.3v,也可以根据板子来筛选)-> add configuration memory device
烧写完毕后,点击PROG按键,demo程序将会执行,LED1、LED2会点亮,用上位机打开串口会发现LOG输出:
- <span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);">sudo minicom -D /dev/ttyUSB0
- Welcome to minicom 2.7.1
- OPTIONS: I18n
- Compiled on Aug 13 2017, 15:25:34.
- Port /dev/ttyUSB0, 23:03:08
- Press CTRL-A Z for </span><span class="hljs-keyword" style="color: rgb(0, 0, 255); line-height: 1.5; font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">help</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);"> </span><span class="hljs-keyword" style="color: rgb(0, 0, 255); line-height: 1.5; font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">on</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);"> special </span><span class="hljs-keyword" style="color: rgb(0, 0, 255); line-height: 1.5; font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">keys</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);">
- core freq </span><span class="hljs-keyword" style="color: rgb(0, 0, 255); line-height: 1.5; font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">at</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);"> </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">65000000</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);"> Hz
- SIFIVE, INC.</span>
- <span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);"> </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">5555555555555555555555555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);">
- </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">5555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);"> </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">5555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);">
- </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">5555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);"> </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">5555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);">
- </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">5555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);"> </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">5555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);">
- </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">5555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);"> </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">5555555555555555555555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);">
- </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">5555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);"> </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">555555555555555555555555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);">
- </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">5555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);"> </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">5555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);">
- </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">5555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);"> </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">5555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);">
- </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">5555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);"> </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">5555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);">
- </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">5555555555555555555555555555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);"> </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">55555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);">
- </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">55555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);"> </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">555555555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);"> </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">55555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);">
- </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">55555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);"> </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">55555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);"> </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">55555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);">
- </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">55555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);"> </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">5</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);"> </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">55555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);">
- </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">55555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);"> </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">55555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);">
- </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">55555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);"> </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">55555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);">
- </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">55555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);"> </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">55555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);">
- </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">55555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);"> </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">55555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);">
- </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">55555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);"> </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">55555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);">
- </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">555555555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);">
- </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">55555</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);">
- </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">5</span>
- <span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);">SiFive E-Series Software Development Kit </span><span class="hljs-string" style="color: rgb(163, 21, 21); line-height: 1.5; font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">'demo_gpio'</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);"> program.
- Every </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">2</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);"> </span><span class="hljs-keyword" style="color: rgb(0, 0, 255); line-height: 1.5; font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">second</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);">, the Timer Interrupt will invert the LEDs.
- (Arty Dev Kit </span><span class="hljs-keyword" style="color: rgb(0, 0, 255); line-height: 1.5; font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">Only</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);">): Press Buttons </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">0</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);">, </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">1</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);">, </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">2</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);"> </span><span class="hljs-keyword" style="color: rgb(0, 0, 255); line-height: 1.5; font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">to</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);"> </span><span class="hljs-keyword" style="color: rgb(0, 0, 255); line-height: 1.5; font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">Set</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);"> the LEDs.
- Pin </span><span class="hljs-number" style="line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">19</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);"> (HiFive1) </span><span class="hljs-keyword" style="color: rgb(0, 0, 255); line-height: 1.5; font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">or</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);"> A5 (Arty Dev Kit) </span><span class="hljs-keyword" style="color: rgb(0, 0, 255); line-height: 1.5; font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">is</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);"> being </span><span class="hljs-built_in" style="color: rgb(0, 0, 255); line-height: 1.5; font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">bit</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);">-banged
- </span><span class="hljs-keyword" style="color: rgb(0, 0, 255); line-height: 1.5; font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">for</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);"> GPIO speed demonstration.</span>
复制代码
BT0~3对应板子上的几个按键:
- <span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);">*
- </span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);">*
- </span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">** Avnet/Digilent Arty Evaluation Board **</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);">
- </span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">** LEDs and switches GPIO Demonstration **</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);">
- </span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);">*
- </span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span class="hljs-strong" style="font-weight: bold; line-height: 1.5; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap;">*****</span><span style="color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; font-size: 12px; white-space: pre-wrap; background-color: rgb(245, 245, 245);">*
- **
- Choose Task:
- BTN0: Print PWM value.
- BTN1: 'Cylon' LED display.
- BTN2: Scrolling LED display.
- BTN3: Return to this menu.</span>
复制代码 注:只要用USB数据线连接上就行,查看串口会发现开发板占了两个USB,依次打开,第二个发现会有LOG输出
注:此外上位机串口工具请参考: https://blog.csdn.net/zoujiachi666/article/details/79441340
|
|