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

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

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

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

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

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

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

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

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

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

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

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

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

    • 6 months 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

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

    • 6 months ago
    • Software Tools
    • Keil forum
  • Is it possible to use ARMCC toolchain with Segger Embedded Studio or other IDEs?

    Sergii
    Sergii

    Hello, currently we have a big project maintained under Keil IDE and have licence for Keil compiler. 

    We would like to migrate to more comfortable IDEs such as SES, Visual studio or Eclipse. However, we need to preserve ARM compiler since it provides most…

    • Answered
    • 6 months ago
    • Software Tools
    • Keil forum
  • Scrolling with mouse in Project window

    GradientTechnologiesUSA
    GradientTechnologiesUSA

    In Project windows, where your files & groups are being displayed:

    Issue #1 Scrolling doesn't work if you have a selected an item in the tree view.

    Issue #2 Scrolling is not smooth in the tree view of the Project window.

    If any one has any quick…

    • 7 months ago
    • Software Tools
    • Keil forum
  • New CMSIS WiFi Interface

    Giacomo Debug
    Giacomo Debug

    Hi,

    I have seen that a WIFI Interface has been added to the CMSIS standard.

    I expected it to be usable as a backend for the Middleware TCP/IP stack, but it seams not.

    Is Keil planning to upgrade the TCP/IP stack to make it fully functional with this new…

    • Answered
    • 7 months ago
    • Software Tools
    • Keil forum
  • Embedded File System Allocation Error

    ao.h
    ao.h

    Hi all, 

    I am working on the embedded file system (EFS) using the Keil version 6.11.0. In the current project, I am logging test data in the flash file system memory continuously. I have encountered a problem after a certain period of testing, where the file…

    • 7 months ago
    • Software Tools
    • Keil forum
  • KEIL debugger behavior different on two different computers - using STM32F303K8 Nucleo board

    daveanderson130
    daveanderson130

    I am developing simple applications for the STM32F303k8 Nucleo board. I have the same version of KEIL uvision and MDK-Lite (5.28.0.0) installed on both a personal computer and a networked computer at my institution. I have developed simple code to test…

    • 8 months ago
    • Software Tools
    • Keil forum
  • Can we do MATLAB simulation or by KEIL software Pv cell connected to a grid without a transformer to reduce leakage current ?

    Munawar Ahmed
    Munawar Ahmed

    Can we do MATLAB simulation or by KEIL software Pv cell connected to a grid without a transformer to reduce leakage current ? Please let me know if possible 

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

    • 8 months ago
    • Software Tools
    • Keil forum
  • View related content from anywhere
  • More
  • Cancel
<>