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.
181 questions
3
votes
2
answers
309
views
AT89C2051 programming procedure
I am trying to run following code on AT89C2051, using Keil for compiling and programming hex file with Superpro.
...
3
votes
0
answers
83
views
Can ARM linker produce warnings after named section overflow?
In my project on STM32F427, MDK-ARM 5.39.0.0, ARM compiler v6.21. I use a scatter file to define named sections:
...
-3
votes
1
answer
330
views
Is Keil uVision IDE free for commercial usage if using GCC compiler? [closed]
Is Keil uVision IDE free for commercial usage if using GCC compiler (for example arm-none-eabi-..)?
0
votes
2
answers
144
views
Keil uVision 5: stuck on question of assembly code for 8051 microcontroller to implement a logic circuit [closed]
Unable to solve the above question. Getting error A40:invalid register when running this code on XRL instruction:
...
0
votes
0
answers
101
views
Why my serial monitor receive reverse byte from STM32F407 UART?
I am using Keil STMF407ZGT6's USART1 to send some data(encoded in UTF-8) which is "00000" to my pc(x86_64). My usart setting is 9600 baud rates, 8 bits data without parity, 1 stop bit. But I ...
0
votes
1
answer
68
views
Weird build error on Keil µVision
I'm building a project based on modbus. The problem happens at the header file (.h). Even there are commas at the array, when I build, it gives error as [...
0
votes
1
answer
181
views
STM32F03C8T6 (Bluepill) problem when work with JSON using cJSON library
I am currently working with a bluepill STM32 board to stream JSON data to my computer, but it always give me null return. I am trying any method and tutorial provided in internet but it gives nothing.
...
1
vote
0
answers
70
views
ftp_client_demo example for NUCLEO-F429ZI in Keil uVision problem with server connection
I am trying to run the ftp_client_demo for NUCLEO-F429ZI evaluation board in Keil uVision
that can be found in the Pack Installer for Keil uVision and in here :https://www.keil.arm.com/boards/...
0
votes
0
answers
33
views
STM32F -- flashing with StLink/STM32Cube, afterwards Keil ULink does not connect
Flashing a board with STLink+STM32Cube, them Keil uLink does not connect. Erasing board with STLink+STM32Cube, same problem. The HW is proven from many other boards, but using STLink for 1st ...
2
votes
1
answer
225
views
Is it possible to reprogram Megawin MG87FE52 IC?
I found an old PCB of a weighing machine in which there was this IC named MG87FE52AE by Megawin that I want to reprogram and play around with, but when I looked at the data sheet of the IC there was ...
1
vote
1
answer
448
views
How can I choose hrtc.Init.SynchPrediv value
I am using STM32L073V8T6 microchip. I'm trying to get clock data using RTC with this.
If I set the hrtc.Init.SynchPrediv value to 258 while configuring, it overcounts about 4 minutes in 24 hours. Even ...
0
votes
1
answer
420
views
Adafruit BNO055 orientation sensor
My sensor is a BNO055 Absolute Orientation Sensor.
I wanted to see if the sensor is ready or not. I tried to run it using different libraries, but it never worked. I couldn't understand why. Then I ...
0
votes
0
answers
135
views
Input pin stm32g0 always remains low
I am learning the stm32 using a stm32g070cbt6 micro controller with custom PCB. When I add an external pull-up to the pa4 pin and use it as an input pin. Nevertheless, when I read the pin, the output ...
2
votes
1
answer
259
views
Activate VREF+ pin on STM32L073VBT6
I would like to read ADC over STM32L073VBT6. When I try this, I see that the value is always 4095 and does not change (expected to be 0 or close to it). While searching for the error I noticed that ...
0
votes
1
answer
4k
views
How to write the scatter file for Keil uVision to force linker to allocate variables in SRAM?
Development environment
I'm working with STM32F427 and I use Keil uVision V5.29 to develop my application. The version of the ArmCLang Compiler, of the Assembler and the linker is 6.131.1.
Scatter ...