[Routine experience of Flathead RVB2601 development board] Part 1: Download the example program successfully, sharing experience!
[Copy link]
1. Introduction
I had just received the board and set up the development environment, but was stuck at the step of downloading the program. I felt that there were some problems when installing the development environment. This time the download was successful. Let me summarize some problems.
2. Problem Summary
CDK various errors: When installing CDK, you need to turn off all antivirus and security guards. I think this is the reason why CDK had problems before. If you don't turn them off when installing CDK, there will be various prompts during the installation process. Secondly, it may become unusable after installation. Let me briefly describe the situation at that time. I installed it with 360 turned on. After the installation was successful, I ran the [HelloWorld] example, but it seemed that it could not be compiled. Then I uninstalled CDK, closed 360 and reinstalled the software. The compilation was successful, but there was a problem with the download. I looked at the driver and felt that there was no problem, but the download failed. Finally, I gave up and prepared to try again with a new computer.
Serial port cannot be detected: This problem is relatively easy to solve by installing the serial port driver. The phenomenon is shown in the figure below.
Figure 1
Then go to the official website to download the driver. You can look at the PDF of the development guide, which has the download address. Here I share a Windows 10 driver [
CP210x_Windows10_Driver.zip
(878.06 KB, downloads: 0)
]. The successful installation is shown in the figure below.
Figure 2
Compile error: When entering the official project (HelloWorld), directly clicking on compile will pop up an error or prompt. First of all, some official libraries are downloaded from the Internet, so you need to be connected to the Internet. At the same time, Git is used, so you need to install Git. As for how to install it, you can search on Baidu! The libraries that need to be downloaded are shown in the figure below.
Figure 3
Finally, the HelloWorld example is compiled and downloaded successfully. When connected to the serial port, the serial port prints as shown in the figure below.
Figure 4
3. Summary
The overall installation actually took quite a bit of effort. In terms of the development environment, Pingtou Ge still needs to work harder and not force it, otherwise users will find it very uncomfortable to use.
|