799 views|2 replies

67

Posts

0

Resources
The OP
 

[Jia Nan CanMV K230] Evaluation ② Development environment construction and running a demo [Copy link]

 
This post was last edited by Hamster who doesn't like carrots on 2024-9-26 23:06

Start building the development environment today

1. Preparation

1. Hardware:

Development board kit: K230 development board, data cable

Additional preparations for users: a TF card for storing the system, with a recommended capacity of 2G+ (because the image img file provided by 01studio is 1.07G), TF card reader

2. Software:

IDE installation package, image file, burning software, etc. can be obtained from the Baidu network disk provided by 01studio

2. IDE installation

Because the IDE of K230 is different from that of K210, even if you have installed the IDE of K210 before, you need to install it again for K230.

The IDE exe file of K230 is in the following path

Here I will also put the official download path of Canaan: https://developer.canaan-creative.com/resource?selected=0-2-1

01studio already provides the latest version 4.0.7, so I will not download it from the official website anymore, and just use the one in Baidu Cloud Disk.

IDE installation is very simple, basically the next step

I will not change the installation path, use the default

The IDE will then open and the IDE interface is as follows

3. System image burning

The system image provided by 01studio is in the following path

If you want to download it from the official website yourself, the official download path of Canaan is: https://developer.canaan-creative.com/resource?selected=0-0-3-0

You need to find the one with 01studio in its name. Currently, the downloadable ones are 0.7, 1.0, and 1.1.

The version number on the official website is 1.1, which is a little newer, so I will use the official version (click the file name to download, and the "MD5 download" next to it will get the MD5 value of the .gz compressed package and the decompressed image. Don't click the wrong one). The decompressed image file is as follows

It is only 560MB, less than half the size of the 1.0 provided by 01studio. Is this a problem? No matter what, I will try to flash it first. If there is a problem after flashing it later, I will switch back to the 1.0 provided by 01studio.

The image is ready, and then start burning. The tools needed are as follows

Insert the TF card into the card reader, then plug the card reader into the computer, and install the formatting tool first (because this tool is already installed on my computer, I will not take screenshots of the installation process)

Formatting is complete, open the burning tool

Waiting for write

Write Complete

At this point, the image burning is complete

4. Power-on test

Unplug the card reader, take out the TF card, insert it into the development board, and connect the development board to the computer via a data cable ( do not unplug or plug the TF card while it is powered!!! ).

After the development board is powered on, wait for a while (about a few seconds to tens of seconds, depending on the TF speed, the first startup will be slower). If the system starts normally, you can find a "CanMV" in "This Computer" and a serial port can be searched in the serial port assistant.

Then we open the IDE to see if the board can work properly

Find a demo about camera in the example

Click the socket icon on the left to connect the development board

After the connection is successful, click the green triangle to run the code

In the window on the upper right corner, you can see the image captured by the camera, which will be displayed in real time, which means the code is working properly.

Click the plug and fork in the lower left corner to disconnect from the development board or stop the current code.

The K230 chip generates a lot of heat, so be sure to attach the included heat sink. With the heat sink attached, run the demo for a few minutes and the heat sink will be very hot, and it will be hard to touch. I estimate it is around 40-50 degrees Celsius.

This post is from Domestic Chip Exchange

Latest reply

nmg
High fever work style   Details Published on 2024-9-27 10:27
 
 

5218

Posts

239

Resources
2
 

High fever work style

This post is from Domestic Chip Exchange
Add and join groups EEWorld service account EEWorld subscription account Automotive development circle
 
 
 

67

Posts

0

Resources
3
 

Wanla, there are big problems with the 1.1 mirror , so everyone should just stick to the 1.0 version that comes with the documentation.

The image recognition code was working fine at first, but a big problem occurred when running the AI-related code.

1. The path of the kmodle file in the SD card is incorrect. The file path in 1.1 has been modified, but the code that comes with the 1.1 image is still 1.0 and has not been modified.

2. After manually modifying the above problem, the code still cannot be run, and it prompts that MediaManager.init() has an error. I can't fix it no matter how I try.

After a lot of trouble, I finally refreshed it back to 1.0.

The 1.1 image officially released by Canaan is too bad. You should at least test all the demos you bring with you, and run an automated script.

This post is from Domestic Chip Exchange
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Featured Posts
Analog Circuit Study Notes

Program Number: 1087 Program name: Analog circuit study notes Program Type: Other File size: 10K bytes ...

What is an Integrated Circuit?

What is an Integrated Circuit?   What is an integrated circuit? It is the small black block on the circuit board wit ...

A very interesting experiment about KVL and Faraday's law of electromagnetic induction

This post was last edited by Buyixin on 2020-11-8 17:49 Question : https://www.bilibili.com/video/BV1ht411U7q7 Resp ...

[Evaluation of Anxinke Bluetooth Development Board PB-02-Kit] First Look

The PB-02-Kit Bluetooth development board is developed based on the PB-01 module of the Anxinke, and its main target is ...

Invite you to participate: The 17th Medtec China Exhibition and International Medical Device Design and Manufacturing Technology Exhibition

579222 The 17th Medtec China Exhibition and International Medical Device Design and Manufacturing Technology Exhibition ...

LLC circuit to achieve ZVS

Hey guys, in the LLC circuit, I want to set different driving conditions to see the effect on the switching waveform of ...

Who knows the principle of voltage doubling circuit? No transformer or inductor is used, just a few diodes and capacitors...

Who knows the principle of voltage doubling circuit? No transformer or inductor is used, just a few diodes and capaci ...

Please tell me why this machine often burns the starting resistor at the customer's place

Please tell me why the resistor burned out and how to fix it? 627875627874627873

Come on, RF engineer wrote the most beautiful formula to explain the dielectric constant and loss tangent

This post was last edited by btty038 on 2023-6-2 20:46 Dielectric Constant and Loss Tangent RF engineers must be famili ...

A newbie asks for help. Can the stone engraving machine use cement or stone as the bed foundation?

As the title says...Thank you big guy

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list