These files are required to build a project in the IAR tool-chain and are part of CMSIS and SPL. When you use a device programmer then select JTAG option:ĭo not forget to add tool-chain files to your project. When your board is connected to the PC via USB-cable select SWD option. On the Debugger->Download page, select the “Flash Loader” option: On the Debugger option page, make appropriate settings for the debugger you are using (ST-LINK): The CMSIS and SPL libraries provide some abstracted functions for MCU setup, input/output, system startup code, and peripheral setup functions. Below you can see #defines for the CC2511 chip. The list of variables can be found in this EW-guide. It is possible to use IDE variables, for example $PROJ_DIR$ or $EW_DIR$. Whether your project uses the Standard Peripheral Library (SPL) then you should add this “#define”: USE_STDPERIPH_DRIVER Usually to setup your project properly you will need to configure include-paths to MCU and SPL header files. Most likely it is already installed in the IDE and is available in default “Include-paths”.
IAR ARM SOFTWARE
It is recommended to include the library named: “Cortex® Microcontroller Software Interface Standard (CMSIS)”. To do this, click the “Device” button and choose the correct device for you project from the list (click button with “+” sign).įor Texas Instruments CC2511 device the configuration dialog looks like this: Next step is to configure the project properties for your MCU (board) STM32F3Discovery (stm32f303xx). You will get a new project that contains empty main.c file. Now you can activate the product with the key and run the main window:Ĭlick the menu item “Create New Project”, select the language and MCU architecture (ARM, C/C ++ language) in the dialog window:
IAR ARM REGISTRATION
You will get a registration key by e-mail. When the installation is complete you need to register online (you can use any name and country, but you need valid e-mail). First of all you should download the installation package for: “IAR Embedded Workbench for ARM” from (size-limited evaluation license)
IAR ARM INSTALL
To keep things simple, I recommend to download and install the bundle version.It is really great that you have decided to develop firmware! You’ll be able to give a life to the wonderful world of hardware. Basically this is a standalone version of Processor Expert in Eclipse, either bundled with Eclipse or as plugin into an existing Eclipse installation.
IAR ARM DRIVER
To work with other tools than CodeWarrior, there is a special ‘ Microcontroller Driver Suite‘ of Processor Expert, called ‘ Processor Expert Software – Microcontroller Driver Suite‘. Processor Expert Software: Microcontroller Driver Suite IAR offers a 32Kbyte limited version of their toolchain for ARM/Kinetis, and I’m using that version (IAR Embedded Workbench for ARM, V6.) in this tutorial.ĭownload the IAR Embedded Workbench for Freescale/ARM and run the setup. But it has the advantage to have a real good compiler (better than gcc) and as well the debugger is faster than Eclipse. That IDE does not offer all the bells and whistles as Eclipse. The IAR IDE is well-known and respected in the industry, and supports many processor families.