Welcome to the VSDSquadron Mini RISC-V Development Board workshop documentation! This comprehensive guide contains all the essential information you need for setup and development. The VSDSquadron Mini is an innovative RISC-V development board designed for education and development, featuring the CH32V003F4U6 chip with a 32-bit RISC-V core based on the RV32EC instruction set. This documentation will walk you through the process of setting up your workshop, understanding the technical specifications, and getting started with development.
The VSDSquadron Mini is an innovative RISC-V development board designed for education and development. It features the CH32V003F4U6 chip with a 32-bit RISC-V core based on the RV32EC instruction set.
- CH32V003F4U6 with 32-bit RISC-V core (RV32EC)
- 24MHz system main frequency
- 2KB SRAM
- 16KB CodeFlash
- 1920B Bootloader
- Multiple communication interfaces (USART, I2C, SPI)
Parameter | Specification |
---|---|
Form Factor | 50.00 x 28.00 mm |
I/O Voltage | 3.3V |
Input Voltage | 5V (USB) |
Operating Temperature | 20-35Β°C |
- VSCode
- 100GB free space
- USB Type-C cable
- Windows/Ubuntu OS
- Download and install VSCode
- Install required extensions
- Set up development environment
- Configure board drivers
- Connect USB Type-C cable
- Install necessary drivers
- Verify board connection
- Configure development environment
- Basic programming workflow
- Code examples
- Debugging instructions
- Common programming patterns
For technical support and questions:
- Visit our Documentation Wiki
- Join our Community Chat
- Report issues on GitHub
This repository provides comprehensive documentation for the VSDSquadron Mini RISC-V Development Board workshop.
- Comprehensive guide for laboratory setup
- File:
StepsToSetupLabs.pdf
- Size: 754.6 KB
- Purpose: Provides detailed instructions for setting up workshop laboratories
- Detailed technical specifications
- File:
datasheet.pdf
- Size: 15.9 MB
- Purpose: Contains technical specifications and reference materials
- Start with
StepsToSetupLabs.pdf
for initial setup instructions - Refer to
datasheet.pdf
for technical specifications and details
- Ensure to follow the setup steps in the correct order
- Keep these documents for future reference
- Both PDFs contain crucial information for workshop operation
- VSCode
- 100GB free space
- USB Type-C cable
- Windows/Ubuntu OS
- CH32V003F4U6 with 32-bit RISC-V core (RV32EC)
- 24MHz system main frequency
- 2KB SRAM
- 16KB CodeFlash
- 1920B Bootloader
Parameter | Specification |
---|---|
Form Factor | 50.00 x 28.00 mm |
I/O Voltage | 3.3V |
Input Voltage | 5V (USB) |
Operating Temperature | 20-35Β°C |
- 15 I/O ports in 3 groups
- USART (PD6-RX, PD5-TX)
- I2C (PC1-SDA, PC2-SCL)
- SPI (PC5-SCK, PC1-NSS, PC6-MOSI, PC7-MISO)
For detailed setup instructions, please refer to our setup guide.
The VSDSquadron Mini is an innovative RISC-V development board designed for education and development. It features the CH32V003F4U6 chip with a 32-bit RISC-V core based on the RV32EC instruction set.
Key Highlights
- π― Perfect for RISC-V learning and development
- π‘ Built-in programmer - no external hardware needed
- π USB Type-C connectivity
- β‘ 24MHz system frequency
- πΎ 16KB Flash + 2KB SRAM
Core Components
- Processor: CH32V003F4U6 with 32-bit RISC-V core (RV32EC)
- Clock: 24MHz system main frequency
- Memory:
- 2KB SRAM
- 16KB CodeFlash
- 1920B Bootloader
Connectivity
- GPIO: 15 I/O ports in 3 groups
- Communication Interfaces:
- USART (PD6-RX, PD5-TX)
- I2C (PC1-SDA, PC2-SCL)
- SPI (PC5-SCK, PC1-NSS, PC6-MOSI, PC7-MISO)
Board Specifications
Parameter | Specification |
---|---|
Form Factor | 50.00 x 28.00 mm |
I/O Voltage | 3.3V |
Input Voltage | 5V (USB) |
Current per I/O Pin | 8mA (Source/Sink) |
Operating Temperature | 20-35Β°C (68-95Β°F) |
Maximum Component Height | Top: 8mm, Bottom: 1mm |
Detailed Pin Configurations
Interface | Pin Configuration |
---|---|
SPI | PC5(SCK), PC1(NSS), PC6(MOSI), PC7(MISO) |
I2C | PC1(SDA), PC2(SCL) |
USART | PD6(RX), PD5(TX) |
- Resolution: 10-bit
- Input channels: PD0-PD7, PA1, PA2, PC4
- Conversion time: Based on APB2 clock
- Reference voltage: 3.3V
- 8 external interrupt edge detectors
- Mappable to any of 18 external I/O ports
- Configurable trigger edges (rising/falling)
Visual Setup Guide
Prerequisites
Step-by-Step Installation
- Download and install VirtualBox
- Install VirtualBox Extension Pack for USB support
- Restart your system if prompted
Configure VM:
- Name: VSDSquadron
- Type: Linux
- Version: Ubuntu 18.04
- Memory: 4096 MB (recommended)
1. Choose "Use an existing virtual hard disk file"
2. Click the folder icon to browse
3. Select your downloaded VDI file
4. Click "Create"
System Settings:
- Enable EFI
- Enable PAE/NX
- Processor: 2 CPUs
- Enable VT-x/AMD-V
Display Settings:
- Video Memory: 128MB
- Enable 3D Acceleration
- Graphics Controller: VBoxSVGA
1. Enable USB Controller
2. Select USB 3.0 Controller
3. Add USB device filters if needed
1. Start the VM
2. Click "Devices" β "Insert Guest Additions CD"
3. Follow installation prompts
4. Restart VM when complete
Common Issues and Solutions
-
Virtualization Errors
- Error: VT-x/AMD-V hardware acceleration is not available
Solution: 1. Enter BIOS (usually F2 or Del during boot) 2. Look for "Virtualization Technology" or "VT-x" 3. Enable the setting 4. Save and restart
- Error: Hyper-V is interfering with VirtualBox
# Run in PowerShell as Administrator bcdedit /set hypervisorlaunchtype off
- Error: VT-x/AMD-V hardware acceleration is not available
-
Performance Issues
- Slow VM Performance
Solutions: 1. Increase RAM allocation 2. Enable 3D acceleration 3. Increase video memory to 128MB 4. Disable unnecessary VM features
- Laggy Interface
Solutions: 1. Install VirtualBox Guest Additions 2. Enable hardware virtualization 3. Reduce desktop effects in Ubuntu
- Slow VM Performance
-
Boot and Startup Issues
- Black Screen on Boot
Solutions: 1. Enable EFI in VM settings 2. Try different graphics controllers 3. Start in safe graphics mode
- VERR_VMX_MSR_LOCKED_OR_DISABLED Error
Solutions: 1. Disable Hyper-V 2. Remove Hyper-V Windows feature 3. Restart Windows
- Black Screen on Boot
-
USB and Connectivity Issues
- Device Not Recognized
Solutions: 1. Install VirtualBox Extension Pack 2. Enable USB 3.0 controller 3. Add user to vboxusers group (Linux)
- Network Connection Failed
Solutions: 1. Check adapter settings 2. Try different adapter types 3. Reset network configuration
- Device Not Recognized
-
Storage and Space Issues
- Insufficient Disk Space
Solutions: 1. Clean Windows temporary files 2. Use disk cleanup tools 3. Move VDI to drive with more space
- VDI File Corruption
Solutions: 1. Verify VDI checksum 2. Try VBoxManage repair 3. Re-download VDI if necessary
- Insufficient Disk Space
Performance Optimization Tips
-
Virtual Machine Settings
- Allocate at least 4GB RAM - Enable PAE/NX - Use VBoxSVGA graphics controller - Enable 3D acceleration
-
Host System Optimization
- Close unnecessary applications - Disable background services - Update VirtualBox to latest version - Update host OS drivers
-
Guest OS Optimization
- Install Guest Additions - Disable unnecessary services - Use lightweight desktop environment - Regular system cleanup
Quick Start Code
// Blink Example
#include "ch32v00x.h"
int main(void) {
// Initialize LED pin
GPIO_InitTypeDef GPIO_InitStructure = {0};
RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOD, ENABLE);
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_6;
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP;
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
GPIO_Init(GPIOD, &GPIO_InitStructure);
while(1) {
GPIO_WriteBit(GPIOD, GPIO_Pin_6, Bit_SET); // LED ON
Delay_Ms(1000);
GPIO_WriteBit(GPIOD, GPIO_Pin_6, Bit_RESET); // LED OFF
Delay_Ms(1000);
}
}
Get Help
- π§ Email: [email protected]
- π¬ Slack: https://vsdsquadron.slack.com/
- π Documentation: CH32V003F4U6 Datasheet
2024 VLSI System Design (VSD)