• Cannot Start Program Without Debug

    I use a simple delay clock code. But whenever I use this code program won't start without entering debug mode in KEIL. I plug stlink out and reconnect but it wont work if I don't enter the debug mode. Is there any solution to this. If not then what else…

  • USART2 Interrupt occur just one time or too late or never. (stm32f10 Keil)

    Hello there. I have a homework to do stopwatch, but I'm having a few problems. 
    In code there are 4 button interrupt(B0-B3), 1 timer1 interrupt for 1 ms and USART2 interrupt.
    Buttons and timer interrupts work properly but USART2 interrupt work just…
  • AD9833 Module Control

    Hello,

    I want to control the ad9833 module with the stm32f4 development board. I have a library but I couldn't get SPI communication. I cannot get any wave output from the module. I cannot adjust frequency. where can the problem be? I need to create…

  • Command not supported.

    I'm a beginner to stm32 world, and currently using STM32F407VG and the KEIL version is MDK 5.30. I started with the basic example blinky code. And when I'm trying to flash the code a dialogue box is popping with a message "Command not su…

  • Reverse engeneering / debug / emulate .bin stripped firmware

    Hello,

    I am trying to find out GPIO mapping on a board with an STM32F407 (which firmware function is related to which GPIO). I know I could do it using a LA, but pins are note very accesible.

    I have no access to source code so... I only have a firmware…

  • How to debug stm32-Cortex M in production mode for stm32mp157-EV1?

    Hi guys

    I would like to debug stm32f7 on Stm32mp157_EV1 board via stlink.

     

    according to page 5 of http://www.keil.com/appnotes/files/apnt_319_v1.1.pdf

    i connected st link then went to Project, Selected St-link and then went to setting dialog,

    the text…

  • Keil DFP vs STM HAL

    I wonder if the Keil's DFPs just copy the HAL releases, or are they reworked in some way?

    Especially, I wonder if it is possible that the bugs which are discussed in the ST forums are fixed in DFPs.

  • Keil USB Middleware not working with CubeMX

    Hello I try to use Keil RTOS2 with CubeMX.

    I got USB Host running with this combination. But I can't get Keil USB Device (CDC or HID) Middleware  running with CubeMX.

    If I only use CubeMX+STM Middleware or only Keil RTE it's working. Everything is…

  • I need a help for code..

    Hello everybody.
    I need to transmit through UART a fixed number in the data block through the command.
    I did this :
    void USART2_IRQHandler(void)
    {

    if ( USART_GetITStatus(USART2, USART_IT_RXNE) )
    {
    USART_ClearITPendingBit(USART2, USART_IT_RXNE);
    RX_buffer…
  • Code completion/suggestion not working with STM32 project

    Hi

    I create a basic project like led blinking on F411RE nucleo board with ST32Cube MX qnd opened the project with Keil.
    When I open keil, I have no code completion/suggestion even for very simple function like HAL_Delay

    When i use and build the code with…

  • Debugger watch window doesn't show correct values

    Hey there,

    I'm using keil v5.27.1.0 with a stm32h745 nucleo board. i'm developing firmware code for a student project.

    i'm having a problem where the watch window shows jibberish values for variables. it's literally as simple as a line of code…

  • Issues linking the startup file in a precompiled .lib

    Background

    On our company, we precompile our platform library into a .lib and provide these library to other developers.
    Till the day, we've used the default startup provided in the Standard Peripheral Library from ST.

    Goal

    We need to allow the user…

  • Getting errors after including arm_math.h

    Hello i want to use dsp in my project in Keil IDE for that i have to include arm_math.h.

    In that case i am getting 30 errors

     

    C:\Keil_v5\ARM\PACK\ARM\CMSIS\5.6.0\CMSIS\DSP\Include\arm_math.h(1183): error: #79: expected a type specifier

      __STATIC_FORCEINLINE…

  • USART Handler getting overrun by TIM6_DAC handler?

    We are making our DAC output a sinusoid of variable frequency depending on a button we press. The DAC does work when we hard code which button WE press but not with UART. With the UART handler (used for receiving the  "button" we press and incrementing…

  • Code doesn't run without debug mode (KEIL)

    Hi,

    i am using KEIL in my project. i am using STM32F030 as transmitter and STM32F4 as a receiver. When i run my code in debug mode both of them work properly. But when i press terminate and re-insert my ST-LINK device i can't see any data in my receiver…

  • cmsis-rtos v2 - printf not working inside threads

    Hello,

    I am working with STM32WB55RG platform. I have successfully use printf function with uart. However when I try to use this same function inside cmsis-rtos v2 threads it's not working. Basically thread hangs.

    My code implementing printf:

    #ifdef…

  • Include .h file in scatterfile

    Hello everyboy,

    I tried to include a .h file in my scatter file using the armcc -E option. Including a header file, that contains nothing but makros allready works, but i cannot include a header, containing function declaration or includes like stdint…

  • Decision making instruction Problem

    Hi 

       i ma trying JE,JNE,JNC,JNG,JL instruction in keil but error is these are undefined .what is problem .Can anyone help me .

  • How to add Hal library to a keil project?

    Hi,
    I'm looking for the right steps to add the Hal library to a Keil project.
    i already have the stm32f1xx hal library that include the hal and the cmsis folders (src and include).
    i'm facing some problem with linking the library. so if someone can tell…

  • Cannot proccess one or more requested actions.

    Hi,

       When I try to install packs of STM32F407VG, it shows 'Cannot proccess one or more requested actions'.I follow tutorial from udemy.Somebody please help me.I am a begginer.

    Thankyou

  • uvision logging

    Hi there,
    I'm new to uvision and just started working on a legacy project. Trying to wrap my head around what is going on with the code base and the variable changes in window 1 seem really helpful. Is there anyway I can log these values so I don't have…

  • Retrieving heading data from BNO055 IMU using STM32F401VCTx-Keil uVision 5

    Hello all,

    I am working on a navigation project that requires reading IMU heading data as an output. I have chosen the STM32F401VCTx chip for my custom board and am interfacing with an Adafruit IMU. Communication is through I2C, which I have some experience…

  • Using ARM Keil UlinkPlus with STM32 Boards

    Hello,

    I've connected my NUCLEO-L4R5ZI board to the 10-pin ARM connector on the ULinkPlus debugger as follows:

    I get an error in Keil uVision as follows:

    I am reading on the internet about CMSIS-DAP compatibility. Is it possible to connect STM32…

  • Porting the Linux Kernel on the Cortex-M4 architecture of STMicroelectronics STM32F407VGT6 MCU

    Hi guys

    This is my first post on this community page.

    Actually I have a ST microelectronics development Board with the following controller on it STM32F407VGT6.


    Now I want to port the arm Linux to it.


    The specs of the controller are as follows:


    -…

  • Working startup for ARMCLANG Assembler Cortex M4 (STM32F401RE)

    Hi,

    does anybody have a working startup for the microlib-Option of the ARMCLANG assembler for a Cortex M4 (STM32F401RE)?

    Best regards

    Volker