K210 environment setup_microPy_use MaixPy IDE

Development board: K210 AIRV R3 version widora

Development environment: Maixpyide silicon speed home

Required reference website: https://cn.maixpy.sipeed.com/en/get_started/upgrade_maixpy_firmware.html

Temporarily used software

Among them, serial_driver_windos.7z is the serial port driver

Right-click the administrator to run it. The next step is to install 340 for the ch340 driver, and install the corresponding for cp210x.

The widora I use is a cp210x serial port, so if you install it on your computer, it’s 64-bit and 32-bit.

 

maixpy-ide-windows-0.2.5.exe

Choose the installation path and keep going to the next step without thinking, (do not install on Chinese Road King)

 

kflash_gui_v1.6.6_windows.7z

Download the program, just find a place to unzip it

The one with the red arrow is downloaded. I like to put it on the desktop (shortcut)

 

Just find a place to unzip the firmware

The specific introduction is that there is a reference website in the readme and I just copied the website there

 

After the above compressed packages are installed, you can burn the firmware

First plug in the development board and power on 

First go to see the serial port, right click my computer -> select management -> device manager

Enhanced is used by k210. I use com4. Standard is used by 8285WIFI on the board. It is COM3. I don’t care about 8285 module for now.

Just remember COM4

Then open the burning software, right click to open it as an administrator

Open this bird-like

Just burn this default (the factory default firmware of Xisu, I use widora, and use C for development, so now I need to change the firmware)

 

Select the COM port recorded in the device manager above, and then press this configuration

Then it reported an error

(If it is difficult to burn in, try lowering the baud rate, or press the rst reset button)

You can try to press and hold rst and then click download, wait 2 seconds and then release it, then click download, enter the interface of Figure 2 and then press RST 3, 4 seconds to release, or if there is no response, cancel, turn off kflash Drop it, re-open it as an administrator, repeat the above operation, just burn it once, it tests patience, and only needs to succeed once.

 

figure 2

After successfully identifying the development board, it looks like the picture below. I probably tried 7 or 8 times and it was OK

 

 

After the programming is OK, just open a serial port assistant

Select the port, open the serial port, and then reset the development board. The following MAIXPY message appears to prove that the firmware you have just burned is successful

 

 

Close the serial port, close the serial port assistant

It's the IDE software's turn to open

The default is hello world, good

 

Tools->Select the development board->I don’t know if I choose 233. I think 233 seems familiar. I stepped on it. 

After OK, click the chain in the lower left corner

Select the COM port remembered on the device manager just now, my side is COM4

wait

After the connection is successful, the chain will turn red, which proves that it has been connected to the development board PY

Click play to run the current py code (hello world_1.py)

Operation results The mobile development board has seen the image change, it proves OK

 

 

Above, the MaixPy IDE environment is set up, see you next time

 

 

Guess you like

Origin blog.csdn.net/jwdeng1995/article/details/108932266