All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
1answer
49 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 ...
1
vote
2answers
2k views

How to set up Keil Logic Analyzer to read specific pin?

How can I set the Keil uVision 5 Logic Analyzer so that I can read the status of a specific pin, example high or low? I have read the official docs here, however it does not say anything of the sort. ...
0
votes
0answers
513 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 → ...
0
votes
1answer
663 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
36 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 ...
13
votes
3answers
7k views

Minimal code required to startup a STM32F4?

Which is the most efficient way/minimal code required to startup a STM32F4? The startup files that come from ST seem to have a lot of unnecessary code.
-1
votes
1answer
33 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
271 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 ...
1
vote
1answer
307 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?
0
votes
0answers
46 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
514 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 ...
2
votes
2answers
1k views

Initialize ARM registers to specific value via Inline assembly

I have a need to initialize the ARM registers of my ARM7TDMI development board to a specific values using inline assembly. For example currently I do something like the following : ...
3
votes
1answer
164 views

Can't run code in Keil for STM32L433RCT6P on NUCLEO-L433RC-P

Recently at Embedded World 2018 in Nuremberg I got, for free, NUCLEO-L433RC-P with STM32L433RCT6P chip onboard. I want to broaden my knowledge in STM32 chips. Before, I did simple stuf on STM32F4. ...
0
votes
1answer
357 views

Placing a key variable in internal flash Memory

I am trying to place a variable named secret_key at location 0x08002000 in STM32Nucleo-board which has STM32L476RG on board with 1MB flash. Question 1: Why am i ...
0
votes
2answers
2k views

How to use a Linker File with Keil uVision5 ARM?

I am trying to follow a tutorial implementing a custom bootloader on a STM32F072 (ARM M0 Core), which requires remapping memory areas when compiling for both the 'bootload' application and the 'main-...
0
votes
1answer
178 views

CMSIS-RTOSv2 - Access out of bounds in RTX RTOS window

During migrating my project to RTOSv2 and RTXv5, I recognize that after a few minutes my program hangs and the messages appear at the RTX RTOS window: ...
0
votes
1answer
36 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 ...
3
votes
2answers
7k views

STM32, Keil and *** error 65: access violation at 0x60000000 : no 'write' permission

I tried to run LCD software in Keil for STM32, but I got *** error 65: access violation at 0x60000000 : no 'write' permission Do you know how to solve that error ...
2
votes
4answers
19k views

How to implement delay functions in Keil ARM MDK [closed]

How to implement delay function in Keil ARM MDK that waits given time in microseconds that can be recompiled to any reasonable clock speed defined in Keil project settings ? And all of this without ...
0
votes
1answer
670 views

What is the best way to design GUI on ARM cortex-M microcontrollers? [closed]

STM currently supplemented emWin for free, but it got a Win98-ish style which is not very user friendly. Is it possible to use qt to design UI? What are the recommended approaches?
1
vote
0answers
436 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 ...
0
votes
2answers
756 views

Problem with update to Keil uVision 5 with STM32F4 discovery

My dev system doesnt work in Keil with STM32F4 discovery (STM32F407VG). I am using uVision 5. All my drivers are up to date. The code gets compiled without any errors, however, I cant get the Logic ...
0
votes
1answer
204 views

FRDM-KL25z assembly delay loop causes reset

I'm currently working on a project using the FRDM-KL25Z development board and programming using Keil MDK-lite (5.14a). What we're supposed to do is create a simple traffic light using three ...
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 ...
0
votes
1answer
1k views

What is the difference between CMSIS RTOS and Keil RTX?

I have read the articles about them separately, but there are no information about the relation between them. What I understood is that there is CMSIS RTOS that ARM created and Keil extended it to ...
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
2answers
451 views

Keil Dialog Semiconductor

I'm trying to make a project with keil uVision 5, for DA14580 (Dialog Semiconductor). http://www.keil.com/dd/chip/6853.htm But in Select Device dialog there's no device from Dialog Semiconductor. The ...
1
vote
2answers
567 views

How to use characters in strings outside of the printable ASCII range?

I am trying to create a string with characters outside the ASCII printable range. I am using an STM32 microcontroller using the µVision IDE with the Keil compiler. The documentation allows various ...
12
votes
2answers
5k views

How can I use a build server with Keil uVision4 (MDK-ARM), script a build, use a makefile?

I would like run daily builds, or check-in/commit triggered builds of Keil MDK-ARM based projects. So far I've gotten things going with the batch file feature of the IDE. This does require you to ...