All Questions
56
questions
0
votes
0
answers
15
views
When debugging with J-link, where is the program executed?
I used the SDK provided by DesignStart to build a minimal system based on Cortex M3 in Verilog language, using an SRAM module to connect I-code, D-code to act as on-chip Flash, and another SRAM module ...
0
votes
1
answer
592
views
Bootloader Jump Function. How to Jump to the right Address?
I am trying to create a bootloader that jumps to my application code on a MKE02Z32VFM4 (KEO2 Series from Freescale). I am working with the Keil IDE 5 and the Armv6 Compiler v6.16.
After Issuing the ...
0
votes
0
answers
511
views
i have a problem while using FreeRTOS with keil
i am using keil version 5 and i install all the packages that needed to run freeRTOS on it. but it always gives me an error with portmacro.h
here is some error lines:
C:/Users/Mohamed Radwan/AppData/...
0
votes
1
answer
721
views
How to enable the counter of Timers in ARM CORTEX M3(STM32F103RB)?
I am trying to write code for toggling a pin(Pin 15) of a port (PORTC) using timers(specifically TIM2). I have to use the prescale registers to divide the clock frequency such that I obtain the ...
0
votes
1
answer
1k
views
VCVT instruction on ARM M4-F to convert from floating point to fixed point not recognized
I am trying to use the assembly instruction "vcvt.s32.f32 q8, q8, #0xf" in an ARM Cortex M4-F using the Arm Keil IDE and the compiler versions v5 and v6.
Unfortunately, this instruction is ...
-1
votes
2
answers
915
views
Breathing led in Tiva C series TM4C123G
I have to write a C code so that the RGB LED on the board breaths. My code is blinking not breathing. My teacher said that varying brightness is achieved by varying duty-cycle so in that case I can't ...
0
votes
0
answers
1k
views
Does STM32F103 supports floating point under KEIL IDE
I'm working on an embedded C project, on Keil IDE; using stm32F103RB microcontroller
I need to use floating point values %f, but it doesn't work, my serial monitor doesn't print any float, but works ...
0
votes
0
answers
1k
views
application not working after debug session and reset stm32
I'm new member of this community.
I've a custom board using stm32l431cct6 microcontroller and I have a strange iussue after program the boards with Keil uVision or Eclipse IDE.
I'm working with a ...
1
vote
3
answers
1k
views
assigning a variable using binary format - 0B causing error in ARM Keil uVision
I am workin on a project with TM4C123GH6PM micro-controller using keil uvision version 4.7. When I assign a value to a variable in binary format like the following:
unsigned char tmp = 0b11000011;
...
1
vote
0
answers
507
views
ARM Assembly- Link Register doesn't return main subroutine
I would like to get decimal input from user from Termite and store the input in R7 register. My code works fine I tested and observed correct output at R7. But when I run, after my q4convert is done I ...
0
votes
0
answers
246
views
Cortex-M0 Hardfault Handler does not get called after changing it
i am using an using an STM32f0 and getting into Hardfault. My IDE is Keil MDK. I was trying to find the roots of it, so every approach i find in the web (mostly for M3/M4) tells to unwind the stack. ...
0
votes
0
answers
380
views
My threads don't appear on Keil uvision's RTOS watch
I'm using Keil uVision with RTX5 RTOS and for some reason I can't see the threads I'm creating in the RTOS watch... I can only see the built in RTX idle thread and timer thread...
I've tested that my ...
0
votes
1
answer
190
views
Create a shared library for multiple applications for ARM cortex-m4
I'm trying to create project which contains a drivers library and two separate application (Booltloader + app), now I want to share the drives library between the two apps in order to save space on ...
0
votes
1
answer
146
views
Compiler not identify warnings, and how can I solve them?
I have 4 warnings the compiler not identify:
link
When I enter to Arm-Math library, all this errors are appear:
link 2
Why the compiler not recognize them?
And the main question, how can I solve those ...
4
votes
1
answer
1k
views
Code Size Comparison Cortex M3: IAR ARM vs Keil µVision
I am currently developing a small project for an STM32F103 microcontroller which features a Cortex-M3 CPU.
Due to CMSIS standard header files it is possible to use the exact same code with IAR and ...