• Importing CPP libs to CubeMX project

    winterGrey
    winterGrey

    Hi,

    I am trying to import .cpp  file to stm32f103c8 CubeMX project. I have a CPP file I want to import to keil. How can I compile CPP and C files at the same time on Keil. Can I do that?

    I want to use the HAL library also I have one cpp file.  I couldn't…

    • Answered
    • 17 days ago
    • Software Tools
    • Keil forum
  • STM32L476VG discovery board Jtag communication with IAR

    M.Lee
    M.Lee

    Hi, I have a STM32L476VG discovery board and I want to program it with jtag communication and PE micro multilink universal programmer and IAR IDE.


    I have installed a firmware of ARM in PE programmer and I have connected NJRST, JTDI, JTMS, JTCK, JTDO,…

    • 18 days ago
    • Software Tools
    • Arm Compilers forum
  • ITM Stimulus Post Disabled

    ChetanNahar
    ChetanNahar

    I want to debug using printf but i can't due to disable of ITM stimulus port.
    Stucked ! Need Help!

    • 22 days ago
    • Software Tools
    • Keil forum
  • Program does not reach main, uVision5

    c.yesildag
    c.yesildag

    Hello,

    My project involve FATFS and USB MSC. We started this project with STM32L073 MCU. Than, we changed our MCU with STM32L072. After changing MCU, we faced the problem. Now, I can build my code without problem. But, program doesnt reach the main. 

    Before…

    • Answered
    • 3 months ago
    • Software Tools
    • Keil forum
  • Cannot Start Program Without Debug

    iraquois
    iraquois

    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…

    • Answered
    • 4 months ago
    • Software Tools
    • Keil forum
  • USART2 Interrupt occur just one time or too late or never. (stm32f10 Keil)

     Enthusiastic
    Enthusiastic
    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…
    • 4 months ago
    • Software Tools
    • Keil forum
  • AD9833 Module Control

    BYHLM
    BYHLM

    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…

    • 5 months ago
    • Software Tools
    • Keil forum
  • Command not supported.

    Aravind979
    Aravind979

    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…

    • 5 months ago
    • Software Tools
    • Keil forum
  • Reverse engeneering / debug / emulate .bin stripped firmware

    davidtgbe
    davidtgbe

    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…

    • 5 months ago
    • Software Tools
    • Keil forum
  • How to debug stm32-Cortex M in production mode for stm32mp157-EV1?

    Mahsa
    Mahsa

    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…

    • 5 months ago
    • Software Tools
    • Keil forum
  • Keil DFP vs STM HAL

    m11
    m11

    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.

    • Answered
    • 6 months ago
    • Software Tools
    • Keil forum
  • Keil USB Middleware not working with CubeMX

    Alexander Wagner
    Alexander Wagner

    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…

    • 6 months ago
    • Software Tools
    • Keil forum
  • I need a help for code..

    Cat_Lucif
    Cat_Lucif
    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…
    • Answered
    • 6 months ago
    • Software Tools
    • Keil forum
  • Code completion/suggestion not working with STM32 project

    vibram
    vibram

    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…

    • 6 months ago
    • Software Tools
    • Keil forum
  • Debugger watch window doesn't show correct values

    Alrie
    Alrie

    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…

    • 6 months ago
    • Software Tools
    • Keil forum
  • Issues linking the startup file in a precompiled .lib

    dBeltran
    dBeltran

    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…

    • Answered
    • 7 months ago
    • Software Tools
    • Keil forum
  • Getting errors after including arm_math.h

    raja sharma
    raja sharma

    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…

    • 9 months ago
    • Software Tools
    • Arm Development Studio forum
  • USART Handler getting overrun by TIM6_DAC handler?

    usartStewart
    usartStewart

    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…

    • 10 months ago
    • Software Tools
    • Keil forum
  • Code doesn't run without debug mode (KEIL)

    hernancrespo89
    hernancrespo89

    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…

    • 11 months ago
    • Software Tools
    • Keil forum
  • cmsis-rtos v2 - printf not working inside threads

    zurek
    zurek

    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…

    • over 1 year ago
    • Software Tools
    • Keil forum
  • Include .h file in scatterfile

    Nimmseasy
    Nimmseasy

    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…

    • Answered
    • over 1 year ago
    • Software Tools
    • Keil forum
  • Decision making instruction Problem

    Babar Sohail
    Babar Sohail

    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 .

    • over 1 year ago
    • Software Tools
    • Keil forum
  • How to add Hal library to a keil project?

    shadow
    shadow

    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…

    • over 1 year ago
    • Software Tools
    • Keil forum
  • Cannot proccess one or more requested actions.

    FrajoMethippara
    FrajoMethippara

    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

    • over 1 year ago
    • Software Tools
    • Keil forum
  • uvision logging

    teemal
    teemal

    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…

    • over 1 year ago
    • Software Tools
    • Arm Development Studio forum
  • View related content from anywhere
  • More
  • Cancel
>