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.
54 questions
0
votes
1
answer
119
views
IAR how to get the value of environment args [closed]
I would like to know what is the easiest way to get the value from the IAR's environment args such as $TOOLKIT_DIR$ or $PROJ_DIR$.
I know what method uses Windows for it's environment variables, but I ...
0
votes
1
answer
104
views
Do we have any ways to make the common/shared library for bootloader and application for RTOS based system
I am developing RTOS based application with libraries given by the vendor. Now same library i need in Bootloader also. My concern is why don't we use common library placement so the we can reduce the ...
0
votes
1
answer
245
views
STM32F407VE Save 4 bytes in flash Issue
4 bytes of new IP (type u32_t or uint32_t, IAR9.30.1) must be stored in flash memory to keep them until the next restart of the microcontroller.
Would you tell me how to save 4 bytes without using HAL?...
0
votes
1
answer
697
views
STM32F407VE Change/Update IP Address Issue
I have a big problem to change IP Address without restart STM32F407VE.
I'm working on STM32F407VE TCP/IP ethernet protocol (IAR9.30.1).
I am able to transmit data to arm and receive to pc terminal (...
1
vote
0
answers
236
views
STM8L DMA and ADC out of sync
I have STM8LDiscovery (with STM8L152C6T6 CPU). I need to continuously read 2 ADC channels with writing the data to the memory.
I'm doing my project in IAR EW for STM8 v. 3.11.4.
I run into the problem:...
1
vote
0
answers
81
views
Delete modules and variables that are not used in IAR
I wanted to use a standard library (CMSIS-DSP) and I only used a few functions & variables of that library, but it's like the whole library has been added to my project.
And it takes a lot of ...
8
votes
1
answer
2k
views
Writing bytes to internal flash memory blocks all interrupts on the STM32L0 despite moving the vector table and ISR functions to RAM
The Context
I have a embedded system running on an STM32L053 processor that needs to process STM32 hardware timer interrupts regularly and cannot be disabled. These top-priority interrupts cannot be ...
0
votes
0
answers
109
views
STM8S Discovery : Button Logic Issue
I am making a project where in I am connecting few LEDs with my STM8 Discovery Board (PA3, PD3, PD4) and setting the mode using the on-board button (PB7). The issue I am facing is that I am able to ...
0
votes
0
answers
70
views
download code via SWD ADuCM3029
I made my own PCB using ADUCM30299 as microcontroller;
in this card I also have a power management, BLE, Flash memory,USB Type C
when I tried to calculate the voltage in SWD_CLK, SWD_DATA, ....
I find ...
2
votes
2
answers
2k
views
STM32F401 failed the search for probes ensure that the usb drivers are installed
I have a stm32f401vc discovery card, I can't download and debug the code
you can find the error in this picture
when I connected the card to my pc here is what I found in Device manager
I worked on ...
0
votes
0
answers
389
views
How to read BMP280 "chip_id" using the Tiva TM4C123G SPI communication interface?
Am trying to read the chip_id of the BMP280 Pressure/Tempeture sensor using the Tiva TM4C123G Launchpad thought the SPI communication protocol.
To begin with let me provide some back ground info and ...
3
votes
0
answers
434
views
ISR won't modify a global variable (IAR)?
First, some background on what I'm working on.
I have a custom board with ATmega324A that I designed as part of a project I'm working on. Originally, software for the uC was written for GCC in Atmel ...
4
votes
1
answer
958
views
Smartfusion2 Programmer Error
I have recently start using the M2S150 Development kit from Microsemi and have run into an issue when attempting to program the board (via Libero 12.1).
When running the "Run PROGRAM Action" ...
0
votes
0
answers
497
views
ST32F4 interrupt handler not getting called
Disassembly shows that MCU gets stuck at NMI_Handler so that means that interrupt is working.
Why isn't the interrupt handler getting called ?
My code-
...
5
votes
1
answer
2k
views
Using Git version control software with IAR Embedded Workbench
I have been using Git / Bitbucket to manage versioning for Altium and MPLAB and have recently started using IAR for the STM8 series MCUs for a series of projects. Is there any Git integration to IAR ...