Git Product home page Git Product logo

nanoch32v203's Introduction

nanoCH32V203

δΈ­ζ–‡

Introduce

nanoCH32V203 is a development board made by MuseLab based on WCH CH32V203C8T6 with Dual TYPE-C USB interfaces, LCD interface and SD card interface onboard, can be programmed through the USB port, which is convenient for prototype verification and development.

3 4 5

Feature

  • Dual USB interface, USB1 supports Device, USB2 supports Host/Device
  • Can be downloaded directly via USB without additional downloader
  • Onboard 8MHz and 32.768K crystal oscillator
  • FPC-12P cable interface, can support common LCD (such as ili9341, st7789, etc.)
  • SD card slot, support SD card reading and writing (SPI protocol)

Chip Resources

CH32V203C8T6

How To Use

MounRiver Studio IDE

WCH officially provides MounRiver Studio IDE development environment, which supports Windows/Linux/Mac. The instructions are as follows

MounRiver Studio Download

download the MounRiver Studio IDE from the official website MounRiver Studio, and just select the latest version to download.

Compile

Take the GPIO project as an example, double-click GPIO_Toggle.wvproj to open the project MRS-1 MRS-2
Click Project -> Build Project to compile the project
MRS-3

Program

If use WCH's official downloader WCHLink, click Flash -> Download to program the flash. If you use the USB1 port for program, the operation instructions are as follows
Note: The compiled binary file is located in the obj directory of the factory, such as EVT\EXAM\GPIO\GPIO_Toggle\obj\GPIO_Toggle.hex

WCHISPTool Download

download WCHISPTool at WCH Official Website

WCHISPTool Config

ISP-2

The chip series select CH32Vx series, the chip model select CH32V203, and the download method select USB. Keep pressing the BOOT button on the development board, then press and release the RST button, and finally release the BOOT button to make the chip enter the bootloader. If the bootloader is successfully entered, the target can be detected in the USB device list in the WCHISPTool. Then select the bin or hex file to be programmed, and click Download to burn the firmware.

Open Source Toolchain

Toolchain Download

Download the RISC-V toolchain https://github.com/xpack-dev-tools/riscv-none-embed-gcc-xpack/releases to the local, then modify ~/.bashrc and import it into environment variables, for example as follows

export PATH=${PATH}:/home/pi/tool/xpack-riscv-none-embed-gcc-10.2.0-1.2/bin

Compile

$git clone https://github.com/wuxx/CH32V203-makefile-example
$cd CH32V203-makefile-example
$make

Program

use the open source download tool wchisp to program the flash, the operation is as follows
wchisp is a tool written in rust, first update rustc

$rustc -V
$rustup update

install wchisp

$cargo install wchisp --git https://github.com/ch32-rs/wchisp

Press and hold the BOOT button on the development board, then press the RST button and release, and finally release the BOOT button to make the chip enter the bootloader, and then call wchisp to program

$sudo /home/pi/.cargo/bin/wchisp info
$sudo /home/pi/.cargo/bin/wchisp flash ./build/app.bin

Product Link

Aliexpress Tindie

Reference

WCH

https://www.wch.cn/

nanoch32v203's People

Contributors

wuxx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.