AXERA AX650N setup
โฃ
์ ์กฐ์ฌ ๋ฌธ์
Specification
Component | Details |
CPU | Octa-core Cortex A55 |
NPU | 72Tops@INT4 or 18Tops@INT8 |
DSP | Dual VDSP |
ISP | 8K@30fps, AI-ISP |
Video Encoder | H.264/H.265, 8K@30fps |
Video Decoder | H.264/H.265, 8K@60fps |
Video Input Interfaces | 2x4 or 4x2 Lane MIPI CSI |
Video Output Interfaces | HDMI 2.0 x 2, 4k@60fps + 1080p@60fps |
DDR | 64bit LPDDR4(x), Up to 4266Mbit/s rate |
Ethernet | Two Gigabit Ethernet port, RGMII and RMII modes |
PCIe or SATA | PCIe 2.0 x 2, SATA3.0 x 4 |
USB | USB 3.0 x 1, USB 2.0 x 2 |
Quick Start Guide
์ฒ์ ์์ํ๋ฉด ์ค์น๋ ํ๋ก๊ทธ๋จ๋ ์ ํ ๋์ํ์ง ์๊ณ , (์น๋ธ๋ผ์ฐ์ ธ๋..) AXERA-TECH์์ ์ฌ๋ ค์ค ์ํ๋ ๋น๋๊ฐ ์๋๋ ๋ฌธ์ . ๋น๋ ์๋ฌ๋ฅผ ๋ณด๋ BSP ๋ฒ์ ๊ณผ ์ํ ํ๋ก์ ํธ์ ๋ฒ์ ์ด ์๋ง๋ ๋ก๊ทธ๋ฅผ ๋ฐ๊ฒฌํด์ Sipeed ์ฌ์ดํธ์์ axp ํ์ฅ์์ BSP ๋ฅผ ๋ค์ด ๋ฐ๊ณ , AXDL ์ด๋ผ๋ AXERA PC ํ๋ก๊ทธ๋จ์ผ๋ก ๋ณด๋์ ๋ด์ฅ๋ emmc๋ฅผ flashing ์
๋ฐ์ดํธ๊ฐ ํ์.
์๋ ํฌํธ์ AXDL์ด ์์นํ PC๋ฅผ USB-A to USB-A ์ผ์ด๋ธ๋ก ์ฐ๊ฒฐํ์ฌ ์ฌ์ฉ.

โ ๏ธ์ธ๋ถ ์ ์์ ์ ๊ฑฐํ๊ณ USB ์ ์๋ง ์ฌ์ฉํ๋ผ๊ณ ๊ฒฝ๊ณ ํ๋๋ฐ, ์๋์ง ์์ ๊ทธ๋ฅ ์งํํจ.
์ฃผ์: PC์ USBํฌํธ ์์๋ ์ ์์!!!
ย

๋ ๊ฐ ๋ฒํผ์ ๋์์ ๋๋ ๋ค๊ฐ RST ๋ฒํผ๋ง ๋ผ๋ฉด(์๋๋ฉด ์ฌ๋ฌ ๋ฒ ์๋) ์ด๋์๊ฐ PC ์ฅ์น๊ด๋ฆฌ์์์ AXERA U2S PORT ํฌํธ๊ฐ ์กํ๊ณ AXDL์์ ์๋์ผ๋ก ๋ค์ด๋ก๋๊ฐ ์์๋๋ค. axp ํ์ผ์ด ์ฉ๋์ด ๊ฝค ์๊ธฐ ๋๋ฌธ์ flash๊น์ง๋ ์๊ฐ์ด ์ค๋ ๊ฑธ๋ฆฐ๋ค.
์ฒ์์ UART๋ก ์๋ชป ์ฌ๋ ค๊ฐ์ง๊ณ , ์ค๊ฐ์ ๋ฉ์ถ์ง๋ ๋ชปํ๊ณ 4์ผ ๋์ UART๋ก 1.6GB๋ฅผ ์ฌ๋ ค์ flashing ํ๋ค. ๊ผญ USB๋ก ํ ๊ฒ!!
์
๋ฐ์ดํธ๊ฐ ์๋ฃ๋๋ฉด ์๋์ ๊ฐ์ด unplugged ์ํ๊ฐ ๋๊ณ , ํฌํธ๊ฐ ์ฌ๋ผ์ง. reboot๋ ์ํ๋, ์ด์ ๋ค์ ๋ชจ๋ํฐ์ ์ฐ๊ฒฐํด์ ์ฌ์ฉํ๋ฉด ์
๋ฐ์ดํธ ๋ ๋ฒ์ ์ ์ฌ์ฉํ ์ ์์.

Example Build test
โ SAM-ONNX-AX650-CPP
โฃ
cmake -DONNXRUNTIME_DIR=${onnxruntime_dir} -DOpenCV_DIR=${opencv_cmake_file_dir} -DBSP_MSP_DIR=${msp_out_dir} -DBUILD_WITH_AX650=ON ..
๊ฐ ๋ผ์ด๋ธ๋ฌ๋ฆฌ ๊ฒฝ๋ก ์ค์ ํ์. onnxruntime_dir๊ณผ opencv_cmake_file_dir๋ ์ github์ git clone ์ third_party ํด๋์ ์๋ ๊ฒ์ ์ฌ์ฉํ๋ฉด ๋จ. ์ ๋ ๊ฒฝ๋ก๋ก ์ค์ ํ๋ฉด ๋จ.
export onnxruntime_dir=/path/to/onnxruntime export opencv_cmake_file_dir=/path/to/opencv/build export msp_out_dir=/path/to/bsp_msp
msp_out_dir์ ์๋ BSP SDK์์ msp/out ํด๋๋ฅผ M4N Dock์ผ๋ก ๋ค์ด๋ก๋ ๋ฐ์ ๊ฒฝ๋ก๋ฅผ ์ถ๊ฐํด์ฃผ๋ฉด ๋น๋ ์ฑ๊ณต
make -j4
Build with QT
cd qtproj mkdir build apt install cmake qt6-base-dev qtcreator cmake -DONNXRUNTIME_DIR=${onnxruntime_dir} -DOpenCV_DIR=${opencv_cmake_file_dir} -DBSP_MSP_DIR=${msp_out_dir} -DBUILD_WITH_AX650=ON ../SAMQT/ make -j4
์ค์ ์ฌ์ฉํ ax_model ํ์ผ ๋ฐ ์์ ์ด๋ฏธ์ง๋ค์ ์ github release์ ์์.
ย
โ BSP SDK Build
ax650n_bsp_sdk
AXERA-TECH โข Updated Mar 27, 2026
x86_64์์ ํฌ๋ก์ค ์ปดํ์ผ ํ๋ ์ด์
wget https://developer.arm.com/-/media/Files/downloads/gnu-a/9.2-2019.12/binrel/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu.tar.xz sudo tar -xvf gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu.tar.xz -C /opt/ export PATH="/opt/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu/bin/:$PATH"
git clone https://github.com/AXERA-TECH/ax650n_bsp_sdk.git cd ax650n_bsp_sdk
ax650n_bsp_sdk ํด๋์ ์์ถ์ ํ๋ฉด third_party ํด๋๊ฐ ์๊ธฐ๋ฉด์ ๋น๋ ์ ์๋๊ฒฝ๋ก๋ก ์ฐธ์กฐ
wget https://www.notion.so/kwanmo/AXERA-AX650N-5133c46772464fe48ed1e1ae34e5c89a?pvs=4#13780f03465380ccb9d3e2d71bf709fb tar -xvf third-party-ax650.tgz
cd app make p=AX650_pipro_box
cd msp/samples make p=AX650_pipro_box
๋น๋ํ mspํด๋๋ฅผ ํต์งธ๋ก M4N box๋ก ์ด๋ํ์ฌ app, samples, msp ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ฅผ ์ถํ์ ์ฌ์ฉ
ย
OS08A20 Camera module ์ฐ๊ฒฐ
๊ด๋ จ ๋ฌธ์
HW ์ฐ๊ฒฐ ๋ฐฉ๋ฒ

๋ฏธ๋์ ์ ์ฐ๊ฒฐ ํ ์๋์ TP๋ฅผ ์ฐ์ด ์ ์ ์ ์์ด ๋์ค๋์ง ํ์ธ

์ผ์ ๋์ ์ฌ๋ถ
์์์ ๋น๋ํ msp/out/bin์๋ ์ฌ๋ฌ ์ํ์ด ์๋๋ฐ ๊ทธ ์ค ์์์ ์ทจ๋ํด์ RTSP๋ก ์คํธ๋ฆฌ๋ฐํ๋ FRTDemo๋ฅผ ์๋์ ๊ฐ์ด ์คํํ๋ฉด, RTSP ์ฃผ์์ ๋ค์ด๊ฐ ์์์ ์ทจ๋ํ ์ ์์.
bash ./run.sh -p 0 -s 1 -n 2
ย
๊ฐ์ ๋คํธ์ํฌ์ ์ฐ๊ฒฐ๋ PC์์ ์๋์ ๊ฐ์ด RTSP ์์์ ์ทจ๋ํ๋ opencv python ์ฝ๋๋ฅผ ์คํํ๋ฉด ์์ ์ทจ๋ ๊ฐ๋ฅ
import cv2 # RTSP URL rtsp_url = "rtsp:/192.168.100.53:8554/axstream0" # OpenCV VideoCapture ๊ฐ์ฒด ์์ฑ cap = cv2.VideoCapture(rtsp_url) #cap.set(cv2.CAP_PROP_FRAME_WIDTH, 1280) #cap.set(cv2.CAP_PROP_FRAME_HEIGHT, 720) if not cap.isOpened(): print("RTSP ์คํธ๋ฆผ์ ์ด ์ ์์ต๋๋ค.") else: print("RTSP ์คํธ๋ฆผ ์ฐ๊ฒฐ ์ฑ๊ณต") # ํ๋ ์์ ์ค์๊ฐ์ผ๋ก ์ฝ์ด์ ํ์ try: while True: ret, frame = cap.read() if not ret: print("ํ๋ ์ ์ฝ๊ธฐ ์คํจ. ์คํธ๋ฆผ์ด ์ค๋จ๋์์ ์ ์์ต๋๋ค.") break frame = cv2.resize(frame,(1280,640)) # ํ๋ ์ ํ์ cv2.imshow('RTSP Stream', frame) # 'q' ํค๋ฅผ ๋๋ฅด๋ฉด ์ข ๋ฃ if cv2.waitKey(1) & 0xFF == ord('q'): print("์คํธ๋ฆผ ์ข ๋ฃ") break finally: # ๋ฆฌ์์ค ํด์ cap.release() cv2.destroyAllWindows()

Image Format YUV422 ๋๋ฌธ์ธ์ง ์๋์ฐ VLC ํ๋ ์ด์ด์์๋ ์์์ ๋์คํ๋ ์ดํ์ง ๋ชปํด, ๋ฐ๋ก ์์ ํ์ด์ฌ ์ฝ๋๋ก ์์ ํ์ธ
SDK๋ก ์ง์ Acquisition(์ด๋ฏธ์ง ํฝ์ ๊ฐ ํฌ์ธํฐ๋ก ์ ๊ทผ)
์์
์ค
๋น๋ํ ์ฝ๋ ์ค sample_vin.c ๊ฐ ์นด๋ฉ๋ผ ์ด๋ฏธ์ง ์ทจ๋ ๊ด๋ จ ์์ ์ฝ๋.
ํด๋น ์ฝ๋์๋ ์ผ์์ ์ฌ๋ฌ configuration์ ๋ํด ๋ค๋ฃจ๊ณ ์์ผ๋ฏ๋ก, ์ฐ๋ฆฌ๊ฐ ํ์ํ ๋ถ๋ถ๋ง ๋จ๊ธฐ๊ณ ์ ๊ฑฐ ๋ฐ ์๋์ ์ด๋ฏธ์ง ์ทจ๋ ๊ด๋ จ AXERA SDK ๋ผ์ด๋ธ๋ฌ๋ฆฌ์ ๋ํ ํ์ธ ํ์
#include "ax_isp_api.h" #include "sample_vin.h" #include "common_sys.h" #include "common_vin.h" #include "common_cam.h" #include "ax_vin_error_code.h" #include "common_nt.h"
ax-sample
์์
์ค
ย
Related posts
SD Card Image Comparison
Jan 7, 2026
Verifying whether an OS boot image is valid by comparing images stored on SD cards.
My First PCB Prototype with AI: The Connector Was Harder Than the Design
Aug 31, 2026
I designed and ordered my first small auxiliary PCB for work. AI accelerated circuit design and production preparation, but connector sourcing and validating the board in the real world still required careful manual work.
ThunderScope: The Open-Source Oscilloscope That Moves the Display and Processing to a PC
Aug 12, 2026
ThunderScope is an open-source oscilloscope that streams four channels of 1 GS/s data to a PC in real time over Thunderbolt, USB4, or PCI Express. This article explores its PC-based display and processing architecture, the ngscopeclient and TS.NET software stack, multi-unit synchronization, and the potential for custom gateware.
