Small knowledge, big challenge! This article is participating in the creation activity of “Essential Tips for Programmers”.
I. INTRODUCTION of CC2530 and development environment
CC2530 itself is a 51 MCU core, developed 51 to get very easy, that is, more than a radio frequency part; If the radio frequency function is not used, it is the same as a normal 51 microcontroller. To develop CC2530 software, you need to install IAR development environment first. There are many versions of IAR, and many different versions are distinguished according to the types of microprocessors supported. Our CC2530 uses an enhanced 8051 kernel, and the version of IAR can use this model: IAR Embedded Workbench for 8051, directly downloaded by Baidu search.
IAR and KEil are both integrated development environment of single chip microcomputer, and the use is similar. If you are used to keil’s programming style, you may not be used to IAR for a while, and there are big differences in style.
Install IAR integrated development environment
Here’s how to install the IAR development environment, taking screenshots of each installation step.
Complete installation of the entire supporting environment, need to install the following software, the specific version of the model is also introduced, baidu search can be found directly; The simplest way is to search taobao CC2530 development board, the store generally has a supporting package to download, which basically contain the following software, directly white piao on the line:
- Install the integrated development environment: IAR-EW8051-8.10.1.
- Install the emulator “SmartRF4EB” driver.
- Install the code burning tool: setup_smartrf_programmer_1.10.2.
- Install TI’s Zigbee protocol stack: Zstack-CC2530-2.5.1a.
Let’s start installing the INTEGRATED Development environment (note: Running the installation package requires running as an administrator)
The following is the registration tool of IAR, which can be downloaded by Baidu.
To this. The IAR has been installed successfully. The new construction will begin in the next chapter.