• 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…

    • 10 months ago
    • Software Tools
    • Keil forum
  • stm32f411 stlink problem

    bagherian_99
    bagherian_99

    hey , first i'm sorry for my question
    I get stm32f411 and start programming and I set stlink but when I want to download , i have below error.

    and also

    • Answered
    • 10 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…

    • 10 months ago
    • Software Tools
    • Keil forum
  • why debugger aborted?

    Saad Anees
    Saad Anees

    when i try to debug in simulator mode in the  keil this error is occurred.

    Error: Could not load file 'C:\Keil_v5\ARM\Project\Objects\add.axf'. Debugger aborted !

    what should i do?

    please help me.......

    • 10 months ago
    • Software Tools
    • Keil forum
  • Keil v5 having a dark background and cant fix it

    albert93
    albert93

    Hello, since i installed Keil uVision5 i have a dark background color for my UI and i cant get it to normal.

    Ididnt installed a dark theme or anything else.

    I checked the windows settings and the color settings but it wont get to the default how it actually…

    • 10 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…

    • 10 months ago
    • Software Tools
    • Keil forum
  • Network Component recv() locked when Net4_CM3_L.lib(net_eth.o) compiled to off-chip RAM

    Matěj Jirka
    Matěj Jirka

    Hi guys,

    I am facing this problem for a long time and different versions of Keil.

    When net_eth.o is in off-chip RW_RAM1 (beginning at 0x60000000) networking does not work properly. (STM32F4xx, Network Component 7.12) Simplified Problem:

    Thread 1:

    netInitialize…

    • 11 months ago
    • Software Tools
    • Keil forum
  • Setting clock stm32f407 discovery

    Mkarpliuk
    Mkarpliuk

    Hello. I’m using stm32f407VG discovery and Keil uvision 5 and I can’t find an indtruction how to set clock properly. I wanna use internal 16 MHz SYSCLK for communication throughout virtual COM port. Here is a code I have found in a book, but it doesn…

    • 11 months ago
    • Software Tools
    • Keil forum
  • I can't find "#if !defined USE_STDPERIPH_DRIVER" in stm32f4xx.h

    bagherian_99
    bagherian_99

    hi dear reader

    I'm a beginner and i learned cmsis but now I want to use from standard peripheral libraries but I can't find "if !defined  USE_STDPERIPH_DRIVER" to define it in my project. my keil ver is 5.29.

    I google this problem but…

    • Answered
    • 11 months ago
    • Software Tools
    • Keil forum
  • Help with ARM project in Keil

    AcerS
    AcerS

       I am tasked for with checking for valid UPC codes for a school assignment using ARM. I have no prior experience with assembly. After I am able to load the registers with the UPC code I am having trouble figuring out how I am to skip over the required digits…

    • 11 months ago
    • Software Tools
    • Keil forum
  • microsemi smartfusion keil and softconsole

    naren_v
    naren_v

    The hex file ouput of keil and Softconsole are different.

    After loading the keil hex file into flashpro and programming it to a2f-eval-kit, there is no output displayed on UART.

    But the functionality is proper with softconsole hex file.

    From what i have…

    • over 1 year ago
    • Software Tools
    • Keil forum
  • Initialize C ++ object array in constructor?

    blahBlah
    blahBlah

    I am facing issues with initialization of an object array within the Constructor. I would like to initialize my array using initialization from brace-enclosed lists. But the armcc compiler for some reason, doesn't compile my code nor throw me a warning…

    • over 1 year ago
    • Software Tools
    • Arm Compilers forum
  • How to make a 1 us interrupt timer in stm32f103?

    MohsenJanlou
    MohsenJanlou

    Hello, i want to make a 1 us interrupt timer in for my stm32f103 in timer 2, i could make 10 us n 5 us, but in lower than that its not working truely! what should i do?!

    /* TIM2 init function */
    static void MX_TIM2_Init(void)
    {
    
      TIM_ClockConfigTypeDef…

    • over 1 year 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…

    • over 1 year ago
    • Software Tools
    • Arm Development Studio forum
  • Installing packs in Eclipse fails

    the_jim
    the_jim

    I just put in a fresh install of Eclipse to begin development of a STM32 based project on a new Windows 10 machine.

    I've gone through the Eclipse Marketplace and installed "GNU MCU Eclipse 4.7.1".  When going to the C/C++ Packs view, I click…

    • over 1 year ago
    • Software Tools
    • Keil forum
  • Markers in Binary file

    pdev
    pdev

    Hello alltogether,

    for me a binary-file (.hex or .bin) looks like there is no structure in it. 

    Do you know if it could be possible, to mark all my binarys, so that i can recognize? E. g. with a unique string i could grep or ? Or let's say line xyz start…

    • over 1 year ago
    • Software Tools
    • Keil forum
  • Keil uVision Error L6218E: Undefined Symbol APBPrescTable (referred from stm32f4xx_hal_rcc.o)

    WillJackman
    WillJackman

    I'm new to uVision for a University project and since trying to get my code to build on my PC at home I get this error with any code I try to compile. Anyone know any way to fix this? I've been racking my brain for hours trying to find a solution as I…

    • over 1 year ago
    • Software Tools
    • Keil forum
  • Flash download routine for Custom SOC with Cortex M0

    eugch
    eugch

    Our team has developed a custom SoC with embedded flash blocks and a Cortex M0. Given that the code flash download routine will have to be customized, I am looking for some help and information on how to get started. The SoC as a 2 wire SWD interface…

    • over 1 year ago
    • Software Tools
    • Keil forum
  • How to simulate analog input to ADC0 pin on logic analyzer ?

    ReqDePache
    ReqDePache

    I want to simulate performance of a code uses ADC module in MKL25Z board using  Keil uVision5  simulator , this requires supplying virtual signal to one of its ADC channels , i tried adding variables to logic analyzer ( AD0 , AD00 ) but it gave me "Unknown…

    • over 1 year ago
    • Software Tools
    • Keil forum
  • JSON object creating problem

    raja sharma
    raja sharma

    Hello 

    i am using cJSON keil library but i facing many problem to create object and convert object into string.

    1. This code work fine

     int main(void)
    {

     root = cJSON_CreateObject();

    cJSON_AddNumberToObject(root, "w", 1920);
    cJSON_AddNumberToObject…

    • over 1 year ago
    • Software Tools
    • Keil forum
  • STR911

    masnmz
    masnmz

    Hi
    I'm using the STR911 in project with Keil and ULink2 debugger. I can not set a breakpoint in C code but I can set assembly. I load my code in a microcontroller however I can not view memory map and variable.

    This is debug setting in my project…

    • over 1 year ago
    • Software Tools
    • Keil forum
  • How to set BOR for a STM32L4 micro on Keil

    RiccardoS
    RiccardoS

    Hello,

    I want to set the BOR level on my project (I'm using a STM32L496). Is it possible ?

    Best regards

    Riccardo

    • over 1 year ago
    • Software Tools
    • Keil forum
  • Keil Error: L6218E undefined symbol to *a struct*

    CuriousBee
    CuriousBee

    Hi,

    I am trying to compile my code but I am ending up with ERROR: L6218E : Undefined symbol Bit (referred from main.o).

    Where Bit is a struct that I am using to store boolean values. For eg:

    In variable.h file

    struct
    {
    	unsigned bPowerONStatus : 1;
    …

    • Answered
    • over 1 year ago
    • Software Tools
    • Keil forum
  • Same include paths for all Targets?

    Chris__
    Chris__

    Hello,

    I'm using "Manage Project Items" with Different Project Targets on Keil uVision V5.26.2.0. But because they differ only by preprocessor defines, I want them to all have the same include paths (Meaning e.g. adding an include path should be done…

    • Answered
    • over 1 year 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…

    • over 1 year ago
    • Software Tools
    • Keil forum
  • View related content from anywhere
  • More
  • Cancel
<>