System Version
Not specified
Status
cft
Last Update
2024-06-21
FreeRTOS Nuclei DDR200T Test Report
Test Environment
Operating System Information
- Source Code Link: https://github.com/Community-PIO-CH32V/ch32-pio-projects
- Reference Documents:
- PlatformIO Core: https://docs.platformio.org/en/latest/core/installation/index.html
- PlatformIO ch32v: https://pio-ch32v.readthedocs.io/en/latest/installation.html
Hardware Information
- Nuclei DDR200T Development Board
Installation Steps
Install PlatformIO Core
You can first check if the package manager includes something like platformio-core. If not, use the installation script:
curl -fsSL -o get-platformio.py https://raw.githubusercontent.com/platformio/platformio-core-installer/master/get-platformio.py
python3 get-platformio.py
Configure PlatformIO Environment
Install the Nuclei development environment:
pio pkg install --global --platform "nuclei/nuclei@^1.0.11"
Add udev rules and apply them (you may need to change GROUP depending on the distribution):
curl -fsSL https://raw.githubusercontent.com/platformio/platformio-core/develop/platformio/assets/system/99-platformio-udev.rules | sudo tee /etc/udev/rules.d/99-platformio-udev.rules
cat << EOF | sudo tee -a /etc/udev/rules.d/99-platformio-udev.rules
SUBSYSTEM=="usb", ATTR{idVendor}="1a86", ATTR{idProduct}=="8010", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}="4348", ATTR{idProduct}=="55e0", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}="1a86", ATTR{idProduct}=="8012", GROUP="plugdev"
EOF
sudo udevadm control --reload-rules
sudo udevadm trigger
Add user group:
- Debian based:
sudo usermod -a -G dialout $USER
sudo usermod -a -G plugdev $USER
- Arch based:
sudo usermod -a -G uucp $USER
sudo usermod -a -G lock $USER
Prepare Project Repository
Clone the relevant repository:
git clone https://github.com/Nuclei-Software/platform-nuclei.git
Compile Code
Use pio to compile the code:
cd cd platform-nuclei/examples/freertos_demo
pio run
Flash Image
After confirming that WCH-Link(E) is connected to the SWD debug port, use pio to flash the image:
pio run --target upload
pio will automatically detect the development board. If the flashing is unsuccessful, you can also try specifying it manually:
pio run -e hbird_eval --target upload
Logging into the System
Connect to the development board via the serial port.
Expected Results
The system should boot normally and display information through the onboard serial port.
Actual Results
CFT
Boot Log
Screen recording (from compilation to startup):
Test Criteria
Successful: The actual result matches the expected result.
Failed: The actual result does not match the expected result.
Test Conclusion
CFT
Source: Support Matrix