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.

30 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
1k views

How can I use mbed TLS library in my ARM project in Keil IDE?

I want to do an RSA encryption/decryption using my AT91SAM7S256 ARM MCU. After googling I found mbed TLS library. I download it on my Windows and extracted it in the directory of my project. I was ...
1
vote
1answer
297 views

Interfacing keypad with 8051 microcontroller in Proteus

I am trying to simulate this project in Proteus using keil C. We are basically interfacing 4x4 keypad with 8051 microcontroller. This is the code for the project: ...
1
vote
0answers
585 views

How to use functions from math library in Keil uVision MDK ARM?

I want to use log() function (natural logarithm) in one of my calculation of Temperature using the Stein Hart Equation. Microcontroller used is STM32L476 . ...
1
vote
0answers
514 views

Keil - Configuring Logic Analyzer tool

I am working with the Keil compiler in a project using the STM32F769I-DISC1. For debugging I use the ST-Link provided by the board. The idea is to use the on-chip DAC using TIM6 for triggering the ...
1
vote
0answers
522 views

J-Link device selection error in Keil

I try to load a program into STM32L011K4 using J-Link. The mistakes I get and the steps I follow are as follows: PROBLEM-1. J-link could not find STM32L011K4 My Steps: Click options for Target → ...
1
vote
0answers
2k views

Bootloader jump to main application problem using STM32 with Keil Uvision

I am developing for the STM32F0 using Keil uVision. I have a custom bootloader loaded running at address 0x08000000. I need the bootloader to jump to my main application which I flash at address ...
1
vote
0answers
2k views

STM32 Shutting down debug session

I'm facing with a problem regarding debug session. When I start debug session, after the configuration of USART2 the debug session is closed. Keil message: Cannot access target. Shutting down ...
1
vote
0answers
440 views

How to get Keil Trace to work on stm32f4 for debugging?

I'm using stmf429-disc board with Keil 5.I've enabled trace check in hardware debug's trace window and have set trace clock to 168MHz which is the core clock freq. Also enabled the port 31 for rtx ...
1
vote
0answers
470 views

Retargeting printf in Keil on STM32F4-Discovery

I've found lots of ways on the internet to retarget printf to SWO (Single Wire Output) but none worked for me. I'm using Keil µVision 5 which contains a "software component" to retarget printf but ...
1
vote
0answers
689 views

How start running STM32 firmware from IROM2 in Keil Microvision?

I'm developing an embedded application using Keil MicroVision 4 & STM32F103RE I've splited Flash memory of device into two areas (IROM1 & IROM2) using IDE target options panel (Target tab, ...
0
votes
0answers
54 views

stm32 HardFault in keil

a few hours ago , i created C++ project in keil i wrote my code and next i download in to my board. when i went debug it , code directly get to HardFault exception ...
0
votes
0answers
26 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
0
votes
0answers
13 views

Where to find StdPerieph Library for SPL programming with Nucleo-F746ZG?

I want to start SPL programming with Keil software. I did not find the StdPeriph Library for Nucleo-F746ZG board. Where to find the library on the ST website?
0
votes
0answers
36 views

I need help on interfacing STM32F103C8T6 with MPU6050 on keil uvision

I need help with this piece of code. I don't know what I did wrong, or what I'm missing. It is a simple program to interface the stm32f103c8t6 with a gy-521 (the MPU6050 on it), I was able to get it ...
0
votes
1answer
40 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
0answers
44 views

LPC2148 EEPROM Emulation

I want to store some calibration and configuration data in lpc2148 flash memory. Also this data must be loaded into ram at startup. When data is changed i will write it into the flash(using IAP). ...
0
votes
0answers
61 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
1answer
235 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
1answer
50 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
493 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
48 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
1answer
50 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
53 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" ...
0
votes
0answers
150 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 ...
0
votes
1answer
158 views

Not Able to Simulate STM32 Program In Keil

I just start Working on Stm32F070RBT6.I am using CubeMx to Configure Keil and And Keil uVision5 to simulate.I tried Blinky Example and run it in simulator mode.But The Example Is not working perfectly....
0
votes
1answer
679 views

What is causing my error in executing arm-none-eabi-gcc.exe from Keil uVision?

I'm attempting to set up Keil uVision to build a simple C++ program for the STM32F3 microcontroller. I've downloaded the GNU ARM toolchain on my Windows computer and placed it into the directory ...
0
votes
1answer
221 views

My keil5 doesn't make RTE_Device.h(Startup) in new projects

When I create a new project, I choose my micro controller(stm32f407VG) and check "CMSIS" and "Startup" in Manage Runtime Time Environment, but it doesn't build "<...
0
votes
1answer
179 views

STM32F4 LIS3MDL Magnetometer Hard-Iron Effect Elimination

I am using LIS3MDL 3 axis magnetometer sensor for car detection project. while I am using raw data, I understand that if sensor is exposed to hard-iron effect then this sensor can not read old values. ...
0
votes
1answer
956 views

How to receive strings using bluetooth module in 8051

I am doing a project on bluetooth based notice board. ?In this project, a user sends message using voice to text app. The message is then received by bluetooth module and sends to the 8051 which ...
0
votes
1answer
37 views

Need help for a trouble with Keil C window

I tried to program STM32 with Keil C but when I try to "Set Path" to the library, there is a problem like this: As you can see, the "Option for Target" window doesn't show all everything, there is ...