Skip to content

CanMV K230 Guide

A setup and usage guide for the CanMV K230 v1.1 board.

Board Overview

Item Value
Board CanMV K230 v1.1
SoC Kendryte K230
RAM 512 MB LPDDR3
WiFi Chip Broadcom (bcmdhd driver, 2.4GHz only)
Serial USB via /dev/ttyACM0 at 115200 baud

Dual-Core Architecture

The K230 features two Xuantie C908 (RISC-V 64-bit) cores in a heterogeneous configuration, each running a different OS.

Big Core (CPU1) Little Core (CPU0)
Clock 1.6 GHz 800 MHz
OS RT-Smart (real-time OS) Linux 5.10.4
Role AI inference (KPU), media processing System control, networking, user interaction
Feature RISC-V Vector 1.0 (128-bit) Controls big core boot sequence

The two cores communicate via a shared filesystem (/sharefs).

KPU (AI Accelerator)

Supports INT8/INT16 inference. Models in ONNX/TFLite format are compiled to kmodel using the nncase compiler. Operators not supported by the KPU (e.g. softmax) are executed efficiently on the big core using RVV 1.0.

Official Documentation & SDK

CanMV (MicroPython)

AI Development

Hardware

Firmware Downloads

Preparing the OS Image

Download

Download the SD card image from the following URL:

https://kendryte-download.canaan-creative.com/k230/release/sdk_images/v2.0/k230_canmv_defconfig/CanMV-K230_sdcard_v2.0_nncase_v2.10.0.img.gz
wget https://kendryte-download.canaan-creative.com/k230/release/sdk_images/v2.0/k230_canmv_defconfig/CanMV-K230_sdcard_v2.0_nncase_v2.10.0.img.gz
gunzip CanMV-K230_sdcard_v2.0_nncase_v2.10.0.img.gz

Writing to SD Card

Check the device name

The device name for of= varies by environment (/dev/sda, /dev/sdb, /dev/mmcblk0, etc.). Writing to the wrong device will destroy data. Verify with lsblk before proceeding.

sudo dd if=CanMV-K230_sdcard_v2.0_nncase_v2.10.0.img of=/dev/sdX bs=1M oflag=sync

Booting the Board

  1. Insert the prepared SD card into the K230
  2. Connect to the host PC via USB cable
  3. The board automatically boots Linux on power-up

Serial Connection

When connected via USB, /dev/ttyACM0 appears on the host PC. Use picocom to access the serial console:

picocom -b 115200 /dev/ttyACM0

Installing picocom

On Debian/Ubuntu: sudo apt install picocom

Exiting picocom

Press Ctrl-a Ctrl-x to exit picocom.

If a login prompt appears, log in as root (no password).