Questions tagged [keil]

Keil IDE and compiler tools for ARM and other embedded microcontrollers. This includes: ARM Development Tools C166 Development Tools C51 Development Tools C251 Development Tools Debug Adapters Evaluation Boards

Keil IDE and compiler tools for ARM and other embedded microcontrollers.

The Keil IDE includes:

  • ARM Development Tools
  • C166 Development Tools
  • C51 Development Tools
  • C251 Development Tools
  • Debug Adapters
  • Evaluation Boards

More information is available at http://www.keil.com/

818 questions
-1
votes
1 answer

matrix multiplication using assembly on 8051?

I am newbie when it comes to assembly and 8051, so I need a little help. I want to make this matrix multiplication. i can't figure out why this goes on a infinite loop i tried my level best to debug but i can't. can any one pin point the…
-1
votes
1 answer

Keil IDE automatically changing my char array orrignal value

I'm converting uint8_t array to char array & then transmit it using gsm module but the problem while converting uint8_t to char its value changes (eg hex value 0455 become 0400 even sometime 00) I also try to change keil optimization level3 to…
-1
votes
1 answer

How is virtual stack/heap size calculated given physical RAM constraints

I am working on a particular embedded device from Nordic. The datasheet states 256kB of flash, with 16kB of RAM, on a 32-bit Cortex M0. With that said, my main question is about the stack/heap size given the physical RAM constraints. I found…
RChapps
  • 96
  • 1
  • 10
-1
votes
2 answers

how to define a value

It's about the stm32 question ,now I want to compile the program about receiving and sending data through gpio in keils .when I build it ,there are always having some warning about #223-D: function "usart1_send_byte" declared implicitly or…
Ling Liu
  • 1
  • 1
-1
votes
1 answer

Saving Non-Constant Variables in ROM on ARM Device

I am developing a firmware that also has an update feature. For that I want to store the current version number of my firmware in ROM so it is retained even after power-off. Then when the user attempts to update the firmware, the program loads the…
wahab
  • 797
  • 2
  • 6
  • 24
-1
votes
1 answer

how to redirect Keil printf out through STM32F4xx USB to connected Windows computer

How can I configure Keil uVision5 to redirect printf output from STM32F4xx out through MCU's USB interface? Then, USB will connect to a Windows computer, virtual port driver, and a terminal program. I cannot find an example uVision5 project that…
Doug Null
  • 7,989
  • 15
  • 69
  • 148
-1
votes
1 answer

example project for Keil RTOS thread usage on ARM STM32F4xx

I need to port some ARM source code from GCC toolchain with FreeRTOS over to Keil toochain (IDE and debugger) and Keil's RTOS. I'm looking for a simple example Keil uVision5 project that has simple thread examples.
Doug Null
  • 7,989
  • 15
  • 69
  • 148
-1
votes
1 answer

Arm error A1174E: Data transfer offset 0x00002000 out of range. Permitted values are 0xFFFFF001 to 0x00000FFF

I have a simple assembly which generated the following error Assembly LDR r14,[r12,#0x00002000] Error testspeed.s(23): error: A1174E: Data transfer offset 0x00002000 out of range. Permitted values are 0xFFFFFF01 to 0x00000FFF Looking up at the…
rockstar
  • 3,512
  • 6
  • 40
  • 63
-1
votes
1 answer

STM32F303VC : device not found

I am using STM32F303VC board, and using keil-5 tool for programming.I got demo program for STM32F303VC board provided by ST microelectronics.So, when I open this demo program (I have connected my board with system) I got this error:- I don't know…
Tabish Saifullah
  • 570
  • 1
  • 5
  • 25
-1
votes
3 answers

8051 microcontroller lcd countdown timer

Currently i faced some problem on my lcd screen. I'm try to do a countdown timer but when i set Hour = 0, Min = 1, the sec hit 0 and my hour turn to some unknown character and min = 59, sec = 59. I'm i missing out something? void Timer1(void)…
Fufu Alex
  • 37
  • 1
  • 1
  • 9
-1
votes
1 answer

Getting RSSI of nRF51822 bluetooth

I am using Bluetooth Low Energy (BLE) 4.0 nRF51822 by Nordic Semiconductor, and I want to make a project on indoor localization, so I need the RSSI (Received Signal Strength Indication) of BLE. Can anyone one help?
-1
votes
1 answer

Error assigning return value of a char-pointer-function to an array of char variable in Keil for micro 8051

I am currently working on a project of 128 bit addition using 8 bit 8051 using Keil. Here is my main program: #include #include #include "Li.h" #include main() { unsigned char a[17],b[17],p[17],tes[17],c[17]; …
-1
votes
2 answers

Read from file in C and execute conditional logic

I am new to programming and have a few questions as to how to implement this idea. I am looking to have a user enter their name/string of digits and if their name is on a list, to then execute a string of commands. I am not to sure how to impliment…
James Hayek
  • 643
  • 3
  • 10
  • 35
-1
votes
2 answers

What does the MOVHS command in ARM assembly do?

I'm having a hard time understanding what this command does. I'm guessing it means mov halfword signed into a register, but i'm not sure. Any help would be appreciated!
user2403571
-1
votes
1 answer

Keil: Assembler program that converts ASCII number into BCD and HEX

this Keil uVision program should load a positive whole ASCII number (e.g 1234). The Program should convert it into BCD coded number in Register R1 , and the HEX number in Register 2... can someone explain me what it does below? especially : MOV …
MMMM
  • 3,320
  • 8
  • 43
  • 80