Questions tagged [keil]

The MDK-ARM is a complete software development environment for Cortex™-M, Cortex-R4, ARM7™ and ARM9™ processor-based devices. MDK-ARM is specifically designed for microcontroller applications.

Filter by
Sorted by
Tagged with
1
vote
0answers
12 views

No debug information in Keil when I try to simulate a STM32F103C6 in proteus ISIS

how are you?. I need to simulate a project I what I'm working made with keil in proteus, Labcenter's people enfasizes in that those simulations needs both the .elf file and the dwarf2 file, in Keil ...
0
votes
2answers
40 views

Help with the use of STM32 peripheral library, error definition with for example GPIO_Typedef

I really need help here because I'm trying to make a project for stm32f10x microcontrollers, I've found in the following thread of Keil forum Libray forum that the best way to add the library to a ...
0
votes
0answers
26 views

Virtual terminal in proteus outputs garbage values

I am using the LPC2148 MC to interface its UART in proteus, I have tried using the UART window in Keil uVision 4 and got the correct outputs. but in proteus, it spews out garbage values. The clock ...
0
votes
1answer
28 views

TIVA TM4C123G Driverlib Function Question

I have a question about how to use a basic GPIO function from the TIVA driver library to set an output pin high. See the below image for more detail. The red underline on the code on the left hand ...
0
votes
1answer
56 views

TM4C123 Header File Problem

I'm having trouble getting a simple blinky project working using the on-board LED's on the TIVA TM4C123G evaluation board. I am using the header files from the driver libraries so I don't have to ...
0
votes
2answers
72 views

Peripheral Driver Libraries on TI TM4C123 / Keil uVision

I am trying to use the peripheral driver library for the TIVA TM4C123 development board instead of accessing the registers directly. I have tried to copy the programming example in the GPIO section (...
0
votes
1answer
53 views

STM32 ADC EOC Flag never set: Using CMSIS Core

I am using Keil uvision 5 for my STM32F103C8 microcontroller. I am debugging the code for ADC single channel polling example using CMSIS Core. I am not using any Standard peripheral library or HAL ...
1
vote
1answer
41 views

STM32f103 NRF24L01 Communication Problem

I am trying to apply communication between two stm32f103c8t6 with NRF24L01 modules. And using uart with usb to ttl module to reach putty terminal. I am using KEIL and for generating code CUBEMX. Here ...
0
votes
1answer
33 views

Compiling a project without .uvprojx in KEIL

I am learning keil. And I want to compile a project that I found in GITHUB link here. But some of them doesn't include .uvprojx file. So I decided to create an empty uvision project and coppied all ...
0
votes
0answers
18 views

vTaskPrioritySet needs extra TaskHandle_t to function

Im using STM32F429I-DISC1 and Keil uVision v5 Ive written a simple example to demonstrate task priority setting using handles however the code only functions if I first delcare an unused TaskHandle_t ...
0
votes
3answers
74 views

Implicit declaration is invalid warning for __set_BASEPRI() function in Keil

I'm trying to use a __set_BASEPRI() function in Keil to set up interrupts in STM32F407 but it doesn't work when I compile the code and the IDE shows warning "...
0
votes
1answer
107 views

Stop DMA USART in STM32

In a noisy media, I need to receive 10bytes with DMA (about 1Mb). I have set the DMA and its interrupt as shown below: ...
0
votes
2answers
71 views

Keil watch window and Clock of STM32f103

Here is my public variable definition and value: As you can see in this picture I can't track the value of Hello variable: I have changed the position of Hello variable to prevent from being ...
0
votes
1answer
36 views

Problems with interfacing Nucleo-F446RE and ADF4153 via SPI

I am trying to interface with a ADF4153 device via SPI, the problem is that the ADF4153 is not responding. I expect the problem is with the SPI connection. The pin connections are as follows; MOSI -> ...
0
votes
2answers
82 views

STM32f103 and St-link

I designed this circuit on PCB (ARM:STM32f103) My crystal freq is 25Mhz. After connecting st-link in Keil I got this error: Invalid ROM Table ST-Link However, after changing the crystal value to ...
0
votes
1answer
224 views

stm32f103 I2C Bare Metal Programming Question

I am trying to send a simple data from STM32f103 to another one. But I am having trouble with my code. I have been working on it since 2 weeks and I couldn't find any solution. I am using PROTEUS to ...
0
votes
0answers
217 views

Keil: cannot read RTE data from project file: RTE is not enabled

Whenever, I am trying to open a project. It's Showing :- "cannot read RTE data from project file: RTE is not enabled"
0
votes
1answer
93 views

Two switches and two LEDs using 8051

I am trying to work around a circuit and my requirement is as follows: - There are two inputs and two outputs. Each input controls an individual led. I am writing a code for this requirement using a ...
1
vote
1answer
120 views

EEPROM Read Operation Always Returns 0xFF

I'm working with a AT24C04 EEPROM which communicates with a LPC1768 MCU on a I2C bus. I try to write a 8 bit data (0xF0) on the 0x00 Address of the memory but when I want to read the content of this ...
0
votes
0answers
111 views

STM32F0 UART Receive and Transmit Simultaneously

I am struggling to establish uart communication between 2 stm32f0 properly. Either To Transmit data from one to another or Receiving are not a problem. I am sending data from first device and I can ...
0
votes
0answers
214 views

STM32CubeIDE / Keil IDE = Is code portable for STM32 Discovery board?

Somebody gave me an STM32F429I-DISC1 board to build a simple data logger. I (blindly) went to the STM website and grabbed the STM32CubeIDE and ran the demo...board works fine. Now I'm trying to get ...
0
votes
3answers
346 views

bootloader jump to application address problem

I have written a bootloader for my board, but it generates a hard fault when it jumps to the application code. My error is like this question: Bootloader jump to main application problem using STM32 ...
0
votes
2answers
299 views

Custom bootloader passing control to application code in STM32

I am trying to understand that if for STM32F405 MCU a custom bootloader is used on the MCU then each of the two projects for the custom bootloader and the application code will have their own 'startup....
0
votes
2answers
213 views

How to upgrade StdPeriph drivers for STM32F103 project [closed]

I have an old project which is built on using "StdPeriph drivers" for STM32F103 MCU and Keil environment. It uses various drivers for gpio, adc, can, dac, dma, i2c, spi, tim, uart etc. As these ...
3
votes
2answers
729 views

How to solve Keil compiler 'Error: L6218E: Undefined symbol' on STM32

I am trying to run a simple tutorial (external interrupt example) on my NUCLEO-F746ZG board. I use STM32CubeMx software version 5.2.0 and Keil software version 5.28.0.0 as compiler. I get the ...
0
votes
2answers
82 views

Building NXP QN9020 firmware on GNU/Linux?

I just inherited a project that is based on the NXP SDK samples, (not quite sure which one). It is currently being built with µVision 4; but I would like to convert the build system to use ...
0
votes
0answers
32 views

How to solve STM32CubeMX keil error?

I have installed keil v5 and installed STM32 package. When I start the STM32 project and add the Software components Here is the directory
1
vote
2answers
185 views

Task Execution time measurement on Keil for STM32F103

Is there any builtin feature available in Keil uVision to measure execution time of a function or task for STM32F103?
2
votes
1answer
857 views

single or multiple interrupt handlers in stm32

I am coming from 8-bit world to 32-bit world specifically stm32f103. At present I am only doing study and discussion with my fellows to know the major differences in the two worlds and also to select ...
0
votes
1answer
78 views

Using ulink2 with nrf52840 and keil

I am trying to flash the blink example from SDK v15 into my custom nrf52840 board, I am using pc10056 example. I connected my ulink2 to swdio, swclck, gnd and vcc of my custom board and I can see on ...
0
votes
1answer
156 views

Why I can't change variable in it.c?

I have stm32vldiscovery project. I want to use external interrupt by PA0 (user button). When I press the button (PA0), then function EXTI0_IRQHandler must set ldOn equal 0. But ldOn always is 1. ...
0
votes
0answers
104 views

Error: L6218E: Undefined symbol LCD_X_Config in Keil

I encountered a problem working with the EMWIN package in keil, this error message: ...
0
votes
2answers
937 views

Keil Error: L6406E: No space in execution regions - Using STM32F103RE

I have written a sample EMWIN Project in KEIL using its package manager, shown below. When I use the Build Project icon I get the following error: ...
0
votes
2answers
166 views

STM32F103 stuck in PLL Ready Flag Set Loop forever! [closed]

we working on stm32f103ret ic and using CMSIS library for setting GPIO Ports, so i have debuged program in keil v5.14 so in debugign mode it's stuck in line 1043 of systme_stm32f10x.c file which is ...
-1
votes
1answer
48 views

guidance for working with STM32L476RG to complete my project [closed]

I bought a STM32L476RG Nucleo board which has a STM32 Cortex-M4 MCU. I'm trying to program it with Keil but I didn't find any example for my board. How to set up the keil for my board and start ...
0
votes
1answer
183 views

How do I add existing files to a newly created group in Keil u Vision 4

I have struggled with this problem for hours now. I have created a new group in the project structure called inc. I have some existing header files that initialize the hardware in a separate folder ...
0
votes
1answer
677 views

Call member function from interrupt in STM32 [closed]

I have created a new STM32 project using cube. I have changed main.c to main.cpp and enabled ...
8
votes
1answer
708 views

What does [WEAK] mean in STM32 startup assembly code?

I was reading the STM32F407 startup file in Keil software to gather some information. I faced this problem: What is the [WEAK] symbol used for? A part of the code ...
1
vote
1answer
810 views

Chip Erase vs. Sector Erase

In Keil IDE Software there are two ways to erase chip before program it. What does do "Erase Sectors" mode? When to use "Erase sectors" mode and when to use "Erase Full Chip" Mode?
2
votes
1answer
529 views

STM32F4 - DMA Transfer Error with ADC

Code here is configuring DMA2 for transferring 160 samples each from two analog channels from ADC1 to memory. The ADC,DMA,NVIC etc. seem properly configured but for some reason I am getting transfer ...
0
votes
1answer
868 views

DS18S20 Temp sensor HAL Library

I am using stm32f303k8t6 nucleo board and Keil V5 IDE. I want to measure temperature with DS18S20 sensor over one wire interface. I have downloaded the HAL library from https://github.com/nimaltd/...
0
votes
0answers
61 views

SoftConsole VS Keil for Smatfusion2 or any other development environment?

In order to program the ARM Cortex-M3 processor which is embedded in the Microsemi FPGA board SmartFusion2, I think there is two possibilities (correct me if wrong): Keil MDK (Microcontroller ...
0
votes
2answers
1k views

Keil : LPC1768 UART : Error: L6200E: Symbol a multiply defined (by main.o and uart.o)

I am learning ARM programming. I've configured uart of lpc2148 before. But there I included entire code in single file. Today I separated them in .c and .h file. But When tried to build, I got ...
0
votes
1answer
62 views

Migrating uVision project within the same controller family

I've have a uVision project which is built on STM32F030C8 microcontroller. I'm using STM32F0xx standard peripheral library in my application. Now I need to migrate to a higher version of the ...
0
votes
0answers
66 views

Cant select NUCLEO-L433RC-P in Keil

I recently received NUCLEO-L433RC-P, which I want to start using with the Keil application. I installed the STM32L4xx_DFP package, but I can't select the board under the "Manage Run-Time Environment" ...
-3
votes
1answer
228 views

can someone explain me this error #error 35 #error directive [closed]

i would like to know if someone can help me on this issue I have two lines nearly the same, the only difference is "!" before the condition ( if .... is good but not if ! ....) error: #35: #error ...
-4
votes
3answers
705 views
1
vote
1answer
121 views

How to update MCU application

I'm currently developing with Keil µvision5 and STM32CubeMX on a Nucléo Board L053R8 (LQP64). Now I would like to transfer my program to my prototype board which has a STM32F051K6T8 (LQP32). Do I ...
-1
votes
1answer
285 views

how to create a hex file in keil?

I want to programme at89s52 micro controller...using Keil u5. I searched on youtube googled it tried everything but cannot see the hex file. it says creating a hex file/location but there are no hex ...
0
votes
0answers
213 views

How to use Logic Analyzer and Event Viewer in Keil uVision with TM4C123GXL launchpad

I am using Keil uVision5 for programming TI launchpad TM4C123GXL with TIVA WARE Library. How can I use the Logic Analyzer and Event Viewer in Keil uVision? While in a debug mode, I tried to set up ...