Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

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 ...
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.
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 ...
1
vote
2answers
187 views

Program counter goes to the end of code and 8051 Restarts

I have an 8051 MCU which I use keil to program it with C. My problem is that the micro-controller restarts at the end of some functions while they should return. Using a debugger I tried to check it ...
6
votes
2answers
4k views

What's the difference between setting SysTick Interrupt in NVIC and using it as an exception?

I'm using an STM32F303 MCU and I've noticed that the SysTick can be set up to cause an exception, which seems to mentioned quite often in various User Guides. This way, it will have a priority level ...
2
votes
1answer
187 views

How to interpret the values sent by an MPU-9255?

Well, I am using this holiday in Brazil to improve my skills in C. I have learned how to use I2C and how to communicate with the MPU9255 (with help from this question). The last trouble I am facing is ...
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
447 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 ...
0
votes
0answers
118 views

Microcontroller is being restarted on function return [duplicate]

I have 8051 MCU and I use keil to program it with C. But in some functions when the function ends and it gets to the return line the MCU is restated. For example a piece of my code is ...
0
votes
1answer
497 views

MPU9255 without lib on STM32

I have a code on Arduino to read the data from MPU9255 with no libraries, using it direct through I2C. I am trying to do the same on Keil uVision with Bluepill, just to learn how to use I2C with HAL ...