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
0
votes
1answer
331 views

The MDK-5 (Keil-5) cannot build my project!

I'm trying to build my project but the MDK-5 give me this error: And also as you can see, in target you just can see Xtal. What happened? What's the problem?
0
votes
2answers
2k views

Access Variable that is in code space in Assembler

Keil's C51 allows the use of sharing global variables between C and Assembler code. However I need to store a variable in the code space of an 8051 microcontroller. Yet when I try to access the ...
3
votes
2answers
2k views

Why doesn't my program execute (work)?

I have bought this board for working on Cortex-M0 series microcontrollers. its MCU is STM32F030F4P6. this is the board: and its schematic: I used STM32CubeMX for configure the MCU and then used MDK-...
4
votes
1answer
12k views

Writing bootloader for STM32 by C language in Keil

I want to write a bootloader for my MCU. It's an STM32F103RET6. I searched for information about writing a bootloader for it, but I couldn't find anything. Now I have these questions: Where can I ...
8
votes
2answers
8k views

Move embedded programming from Keil to Linux

I'm currently using Keil to develop for an STM32 discovery board. My project is close to finished, and I'd like to move to a Linux based building environment. I've been using the preconfigured ...
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, ...
1
vote
2answers
1k views

Function called in ISR and Overlay Directive -Keil / 8051 core

My C code has an ISR, where a decision has to be made to execute a particular function "A". Now I know that its not good to run a function in an ISR. But in this case of my application, I do not see ...
3
votes
1answer
1k views

Writing parameters into Code memory at Run time during Initializations - 8051

I need to make this possibly. I am using keil IDE and the AT89c51RD2 MCU. At initialization, a function will be called to derive about 1500bytes. I want to write this byte to code memory (byte by ...
-2
votes
3answers
871 views

Passing variable into array inside function [closed]

I have a code like this : ...
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
1answer
2k views

Init code for reading and writing SD card with MCS51?

Do you know how to interface SD card with MCS51, AT89S52 with SD card and code example in Keil if there's any... Thanks for the info...
8
votes
1answer
6k views

Drawing on 8x32 LED matrix with 74HC154

How do I send a pattern into an 8x32 LED matrix? I'm using the AT89S52 microcontroller with a 74HC154 4-16 line decoder, programming in C with the Keil IDE. I've done vertical scanning, but am stumped ...
12
votes
2answers
6k 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 ...
8
votes
1answer
5k views

Bug in Keil ARM compiler with interrupt handlers and C++?

I have a problem with writing interrupt handlers in Keil ARM compiler for LPC1114. When I write program in C++ and specify --cpp compiler option all code from interrupt handlers disappears, it is ...
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 ...