Questions tagged [iar]

Anything related to the productions of IAR Systems. IAR Systems is a Swedish computer software company that offers development tools for embedded system. IAR Systems develops C and C++ compilers, debuggers, and other tools for developing and debugging firmware for 8-, 16-, and 32-bit processors.

Filter by
Sorted by
Tagged with
0
votes
0answers
22 views

How to disable port2 interrupt when port 1 interrupt is active?

I am using MSP430G2553 with IAR. I would like to make an IR communication system which has a transmitter-receiver on both sides. When I try to send my signal, the receiver on the opposite can't ...
1
vote
0answers
72 views

Converting an SPI configuration for msp430 to msp432 IAR Workbench

I have a spi configuration code for a msp430 and DAC161S997 but i am trying to use the DAC with my ...
1
vote
0answers
102 views

Controlling DAC161S997 via SPI

I am using msp-exp432p4111 devalopment board and trying to use DAC161S997 with it.The main goal is creating a ...
2
votes
0answers
117 views

Write to File in Computer running IAR Workbench

I am currently writing and testing an embedded system in which I need to collect data from an accelerometer over a period of time. I already have functions that can read the data at a point in time ...
0
votes
2answers
731 views

STM32F4-Discovery GPIO Always High [closed]

I am doing some work with an STM32F4-Discovery board, and I am trying to get some simple usage out of the GPIO Pins. However there is a weird problem I am having, that I don't know how to fix. I am ...
1
vote
2answers
109 views

What do these IAR IDE icons mean?

Quick and easy question - if you know the answer. I can't find it mentioned in the documentation. What do the icons circled in red mean?
2
votes
1answer
90 views

On IAR's EWARM package, what is the difference between the built-in MISRA C checker and CSTAT's MISRA C checker?

A bit of background: Our team will be programming firmwares for ARM microprocessors. Programming codes should comply with the MISRA C standard. We have decided to check IAR's EWARM package: https://...
0
votes
1answer
38 views

will i need header file “atxmega128.h” for porting from IAR to GCC?

i have a code for avr that write with iar, and have a header file,"ATxmega128A3.h. if i want to port this code to GCC (i am working with atmel studio),will i need to call this header file, or this ...
0
votes
1answer
462 views

Error in programming STM32F4 Discovery with IAR?

I program STM32F4 using External Interrupt, and there is an error below: Error[Li005]: no definition for "SYSCFG_EXTILineConfig" referenced from C:\Users\AnhDoan\Desktop\STM32\IAR[GPIO ...
-1
votes
1answer
491 views

“Fatal Error : Could not find device ” error while trying to download program to the MCU

[![enter image description here][2]][2]I'm using MSP430F5131 and trying to program it by IAR Embedded Workbench while using the MSP-FET debugger. A short background of the PCB: After i compiled the ...
3
votes
2answers
3k views

IAR ARM Place const symbols in flash

I have the following flash section defined in my linker file: keep { section .SomeConst }; place at address mem: 0x0003F800 { readonly section .SomeConst }; In ...
-3
votes
1answer
141 views

expression must be modifiable lvalue in iar

...
3
votes
1answer
485 views

IAR Embedded Workbench, SmartRF Studio, CC1120/CC112x, where to start?

I am a newbie to Texas Instruments CC1120 radios. Where do I start? Also, what should I be using to program them? SmartRF Studio or IAR Embedded Workbench? Both are provided on the official Texas ...
2
votes
2answers
809 views

Is printf debugging over JTAG (not SWD) with STM32 possible?

The question is very similar to this one: I'd like to to printf debugging via the ST-LINK adapter and JTAG, not SWD, in IAR Workbench. Is this possible?
1
vote
2answers
166 views

MSP430 individual pin accesibility

I'm working on a ultra-low power application and want to enable and access only one pin as output and one pin as input. I'm using the MSP430 microcontroller and CCS for programming. I have two ...
0
votes
2answers
735 views

MSP430FR4133 Internal Temperature Sensor

I am currently using the MSP430FR4133 in order to make an ultrasonic measurement system for the volume of a room and would like to be able to check the temperature of a room to work out the speed of ...
0
votes
1answer
528 views

Error while running linker am using TIVA C TM4C123G and IAR

I am trying to change and read my TM4C123G launchpad clock frequency to 80 MHZ using TIVAWARE libraries so here is my code: ...
1
vote
1answer
4k views

UART receive is not working in STM8S

I am new to stm8 (stm8s003f3p) I have done following code but could not able to find what is wrong with it. UART transmit is working but couldn't able to receive anything. ...
2
votes
3answers
2k views

How come Misra C checker is such a prestigious tool? [closed]

Professional compilers such as IAR Embedded Workbench offer Misra C checkers only in their premium versions. Isn't Misra C checker a style checker on elements like indentation, variable names? Why ...
0
votes
1answer
1k views

IAR STM8 LED Pin On/Off Flash

i tried to flash the LED of this controller: http://www.cnx-software.com/2015/01/18/one-dollar-development-board/ (as you can see, there is a led connected to PD3) with this code: http://pastebin....
1
vote
1answer
4k views

IAR STM8 delay function

i was wondering how i could write a delay function in the STM8 - IAR Embedded Workbench? I used the search-function inside the IDE, so i found the "__delay()" function but if i try to use it i get: "...
0
votes
2answers
387 views

Error due to GNU ARM toolchain usage in IAR workbench

I recently started programming with STM32F4Discovery board and am using IAR workbench as the IDE. I am supposed to use an already developed program in Eclipse as a part of my project. When I imported ...
0
votes
0answers
227 views

Bit definition error - IAR Workbench

I am a beginner with embedded programming and am using the IAR workbench for a project of mine using STM32F4Discovery. I am trying to compile an existing code and ...
1
vote
1answer
529 views

I can not find needed CPU (STM32F401) in IAR 6.5 list

I'm trying to start STM32 software developing using IAR 6.5 IDE. I have STM32F401C-DISCO board for developing and IAR's IDE. It is needed to choose the right CPU in the project options menu: However ...
4
votes
1answer
2k views

Implement cryptography algorithms in an ARM microcontroller

Assume a situation in which you want do some encryption procedures in your ARM microcontroller. (Receive a file, encrypt with 3DES and some hash functions and returning it, for example.) As far as I ...
3
votes
0answers
3k views

How to know the memory occupied by the various memory segments in a microcontroller

I'm using STM32 based microcontroller, IAR embedded workbench and STlink v2 debugger. I just want to know how to check the memory utilized/used by the program/system in various memory segments like: ...
1
vote
1answer
1k views

Trouble with STM8S003F3 flashing

Could STM32S003F3 be flashed with SWIM interface only (SWIM, RST, VCC, GND, bare IC without any other elements)? I'm trying to flash it with ST-LINK/V2 and last version of IAR (Kickstart) and debugger ...
4
votes
1answer
4k views

How can I log information from code in IAR Embedded Workbench to a log file?

I'm trying to develop an application for the NXP LPC1788 microcontroller and I would like to be able to log formatted strings at arbitrary points within the source code to a log file in a way that has ...
5
votes
3answers
1k views

Where is the C API reference for the MSP430? CCS version

I see a lot of sample code and tutorials, but where is it documented that symbols (defines) such as P1OUT and P1DIR are ...
2
votes
1answer
1k views

IAR EWARM gives error on everything in startup_stm32

I'm trying to compile a project for school, which all my fellow classmates have no trouble compiling. This assignment is nothing more than dragging already written source code and compiling an, ...
4
votes
3answers
5k views

Why IAR Compiler?

I just saw an Application Note from Atmel about how to compile some code in IAR and I wonder, why would anyone use an external compiler if Atmel already provides the Atmel Studio, with a Visual Studio ...
5
votes
1answer
3k views

Atmel Xmega PWM problem

I am trying to get the pwm working on the Atmel Xmega256A3BU. I am not getting the desired PWM on the port pin. Here's my initialization for the PWM generation in the code. ...
3
votes
1answer
4k views

Run IAR Program without Debugging

I'm having a simple problem with IAR Embedded Workbench, programming an STM32 using an ST-LINK/V2 programmer. I'm trying to run a program that temporarily switches off the JTAG pins, so I can't run it ...
2
votes
0answers
1k views

IAR EWARM project doesn't run with STM32 startup file

I'm attempting to test out some basic programs on an STM32L151RD (Cortex-M3) using IAR's Embedded Workbench. I'm using an ST-LINK/V2 programmer. I've downloaded the Standard Peripherals Library and ...
0
votes
1answer
974 views

IAR errors about extern and global vriables

I want to get values of a global array in a c file. the print screen of code is shown below: 'data' is the global array and 'slave_buffer_rx' is another global array defined in this file to get ...
0
votes
1answer
2k views

IAR Embedded Workbench Debugging

I connected MSP430 Launchpad to the PC, but when I click download and debug it shows this error Fatal error: Failed to initialize. Check if hardware is connected. Check if drivers are installed. ...