MDK, the ARM development tool developed by Keil, is used to develop embedded applications for a series of microcontrollers based on the ARM core . It is suitable for developers of different levels, including professional application development engineers and beginners in embedded software development. MDK includes industrial standard Keil C compiler, macro assembler , debugger , real-time kernel and other components, supports all ARM-based devices , and can help engineers complete projects as planned.
The download link is: https://www.fengke.club/resources/details/20325 . The installation package is also provided here, which is located in the "MDK5" folder under the "Software Tools" folder.
Double-click mdk511a.exe to install. You can choose the installation path yourself. Note that there should be no Chinese characters in the path. Here we install it in the D drive, as shown in the figure below.
Click "NEXT" to proceed to the next step, simply fill in the company, email address and other information, and click "NEXT" to install, as shown in the figure below.
After the installation is complete, the display will look like the following figure.
Click "Finish" to complete the installation, and then the package installer interface will pop up, as shown below.
Click the refresh icon in the upper left corner to automatically get the latest installation package. The speed may be slow. You can download it directly from the Keil official website. Here we need to install at least two installation packages, CMSIS and STM32F103. We have provided these two with MDK5.11a. Just double-click to install.
In order to be compatible with lower versions of Keil projects, you need to install mdkcm511a.exe. We also provide this file. Double-click to install directly. After installation, there will be no compatibility issues when running lower versions of Keil projects. Let's crack it. First open the newly installed Keil software, click File->License Management, call out the registration management interface, and copy the CID number in the upper right corner, as shown in the figure below.
At this time, the use of keil is limited, and can only compile 32K code at most. Run keygen.exe, select ARM as the Target, and then paste the CID number just assigned into the CID input box of the registration machine, click "Generate", and the registration code will be generated below, as shown in the figure below.
Copy the generated registration code into the LIC input box in the registration management interface, and then click Add LIC, as shown in the figure below.
You can see the prompt below that the addition was successful.
After installing MDK, you need to add the corresponding chip package. You can click "Pack Installer" in the MDK toolbar, as shown below
Then find the "STM32F1" series chip package to install (both the aircraft and the remote controller are STM32F1 series chips). This method is relatively slow. You can directly use the provided STM32F1 chip package, as shown in the figure below.
Simply double-click to install, click Next, and wait until the installation is complete.
J-Link is a JTAG emulator launched by SEGGER to support the simulation of ARM core chips . It supports the simulation of all ARM7/ARM9/ARM11, Cortex M0/M1/M3/M4, Cortex A5/A8/A9 and other core chips with integrated development environments such as IAR EWAR, ADS, KEIL, WINARM, RealView, etc. It is seamlessly connected with compilation environments such as IAR and Keil. It is easy to operate, connect, and learn. It is the best and most practical development tool for learning and developing ARM.
The download link is: https://www.fengke.club/resources/details/20325 . The installation package is also provided here, which is located in the "JLINK Tools and Drivers" folder under the "Software Tools" folder.
Before using J-Link for development, you need to install the driver. If the Jlink driver has been installed on your computer, you can ignore it. Double-click the unzipped executable file Setup_JLinkARM_V474b.exe, and a protocol dialog box will pop up. Select Yes, as shown in the figure below.
Then keep clicking Next, as shown in the figure below.
Here you need to check Install USB Driver for J-Link-OB with CDC, as shown in the figure below.
Continue to click "Next", as shown in the figure below.
Wait for the installation, as shown below.
After the installation is complete, if it is detected that the development environment in the computer uses Jlink, a dialog box will pop up to select the association, just click OK. Finally, the installation is completed, click Finish to end the installation, as shown in the figure below.
After the installation is complete, you can find the installed files in the Start menu, as shown in the figure below.
Plug in the Jlink downloader and the driver will be automatically installed. A successful installation is shown in the figure below.
The level of the microcontroller is TTL level. If the microcontroller wants to communicate with the computer through the serial port, a USB to serial port chip is required. The CP2102 is used here.
The download link is: https://www.fengke.club/resources/details/20325 . The installation package is also provided here, which is located in the "USB to Serial Driver" under the "Software Tools" folder.
Next, install the USB to serial driver of CP2102. If
the USB to serial driver of CP2102 has been installed on the computer, you can ignore it. First, unzip the compressed package, the file name is: CP2102+usb+driver.zip.
Double-click to run the unzipped file, and keep clicking "Next" until "Finish" to complete the installation.
The COCOFLY ground station is used with the COCOFLY drone and has very comprehensive functions. The subsequent formation, PID parameter adjustment, etc. all require the use of this software. The installation package of the ground station host computer has been provided in the "COCOFLY ground station host computer" folder under "software tools" in the data package, as shown in the figure below.
Double-click to start the installation. After clicking install, an installation wizard dialog box will pop up, as shown in the figure below. Click "Next".
A path selection box pops up. Select the path you want to install, as shown in the figure below, and click "Install".
Then wait for the progress bar to finish. After the installation is complete, a prompt box will pop up indicating that the installation is complete, as shown in the figure below.
Click "Finish" to open the installed COCOFLY ground station, as shown in the figure below.
If you want to use the cocobit programming board to realize the autonomous flight function of the drone, you need to install the cocobit host computer.
The download address is https://www.cocobit.net/download . The installation package is also provided here in the "COCOBIT host computer" under the "software tools" folder.
Just choose the appropriate version according to your computer. After downloading, double-click the exe and select the appropriate path until the installation is completed. After the installation is complete, you can open the cocobit host computer. The following figure shows the logo of the cocobit host computer startup.
Double-click to open it. The interface will be as shown in the figure below.
openmv-ide is a tool software for writing and downloading code for visual recognition modules. Its download address is: https://openmv.io/pages/download . The installation package is also provided here, which is located in the "OPENMV related" folder under the "software tools" folder.
Double-click exe to install. The following figure shows the schematic diagram of OpenMV IDE installation.
Click Next and a dialog box for the installation path will pop up. Select a suitable path as shown in the figure below, and then click Next.
Then keep clicking Next until the installation is complete. Open openmv ide, and its interface is shown below.