• Program does not run with optimization disabled, except if debugging

    Hello.

    I've been having issues with a program of mine that works perfectly fine while running with optimizations enabled but if I disable it, it doesn't seem to get to main, the only exception being running in debug mode.  I have set up the pins…

  • Adc reading in lpc11uxx

    Hi, Can anyone give me  working example for adc reading in lpc11uxx platform. Regards

  • RGB PWM Timer PCA Example

    Hello,

    Sure hope this is the right place.  I am working with SIL C8051 ..  Using the PCA 8 bit PWM sample I am able to dim an LED on the Dev board using CEX0. 

    But something is just not clicking in my head.  I need to create 2 more PWM 'objects'? 

  • Writing a Byte over I2C for Slaves without Register Addresses

    I have this function defined for writing a byte to either the LCD 1602 (using the PCF8574 I/O expander), or the SHT21 humidity sensor.  In both cases, it seems like after I write the slave address, I should start transmitting data.  The only issue is, is…

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

  • STR912FWA47 USB-HID support

    Hi everyone,

    I am trying to use USB-HID with this microcontroller, I saw that there are two libraries for USB-HID, hid.h and hiduser.h, I found these two libraries for several platforms, but I did not find it for this microcontroller.

    Regards

    Alan 

  • HELP

    WHEN I COMPILE THIS CODE GIVEN BELOW IT GIVES ERRORS LIKE

    error 52: Actual Argument type different from declaration 2 from type 'unsigned-char generic*' to type 'unsigned-char'

    #include<8051.h>
    //---------------------------…

  • Compilation error: A1859E: Flag preserving form of this instruction not available

    When I am compiling the following Assembly Language Code, I am getting the below error:

    AREA mydata, DATA

    COUNT EQU 10
    SUM EQU 0

    AREA mycode, CODE

    ENTRY EXPORT __main

    __main LDR r0, =COUNT LDR r1, =SUM LDR r2, =1

    myLoop ADD r1, r2, r1 ADD…

  • converting .axf files to .bin file -- error message

    Hi
    I am trying to convert a -axf file generated by keil(microvision 5.26.2.0) to binay.
    The various Keil manuals state that you can do this by entering a command string in Target 1> User tab. The command string I entered is -->
    C:\Keil_v5\ARM\ARMCC…

  • Having an issue with Undefined symbols

    I am receiving this error in the build log, I can see it is a linking error, but all of the functions are defined in their necessary .cpp files and declared in the relevant header file.

    *** Using Compiler 'V5.06 update 3 (build 300)', folder: 'C:\Keil_v5…

  • I am compiling code for stm32f407 family

    *** Using Compiler 'V5.05 update 2 (build 169)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
    Rebuild target 'STM324F_GPIO'
    assembling startup_stm32f40xx.s...
    compiling misc.c...
    compiling stm32f4xx_gpio.c...
    compiling stm32f4xx_rcc.c.…

  • Compilation error: A1859E: Flag preserving form of this instruction not available

    When I am compiling the following Assembly Language Code, I am getting the below error:

    AREA mydata, DATA

    COUNT EQU 10
    SUM EQU 0

    AREA mycode, CODE

    ENTRY EXPORT __main

    __main LDR r0, =COUNT LDR r1, =SUM LDR r2, =1

    myLoop ADD r1, r2, r1 ADD…

  • Error L6406E and L6407E (STM32L011F3P)

    Hello, I just created a project with stm32cubeMX, after generating my code and importer on Keil, I can not compile while I did not even write my code and the STM32L011 to 8K of RAM normally. Thanks a lot for your help.

    Create a project with STM32C…

  • Problem with Linker: undefined

    Hey everyone,
    I know this post has been done a lot of times, but people solve it by adding the .c files after including the header file in the corresponding file.
    The thing is, I've already done this. I just got the STM32 Nucleo with the VL6180 Expansion…

  • error 65

    I use lpc812M101 to simulator debug , i found the error during debug/run is

    *** error 65: access violation at 0x40048080 : no 'read' permission
    *** error 65: access violation at 0x40048080 : no 'write' permission
    *** error 65: access…

  • error 65

    I use lpc812M101 to simulator debug , i found the error during debug/run is

    *** error 65: access violation at 0x40048080 : no 'read' permission
    *** error 65: access violation at 0x40048080 : no 'write' permission
    *** error 65: access…

  • c141 error in visio4

    #include <reg51.h>
    sbit Read = P2^5;
    sbit Write = P2^6;
    sbit INTR = P2^7;
    //#define MYDATA = P1;
    sfr MYDATA = 0x80;
    void ConvertAndDispaly(unsigned char value);
    void MSDelay(unsigned int value);
            int value;
    
    void main ()
            {
               …

  • Does uVision have an update for the new ST processors ?

    is there an update for the STM32F09 and STM32F04 series processors ?

  • Problems with keil microvision 5 and STM32L Discovery

    I have a problem with the configuration of Keil microvision 5 with the STM32L Discovery Development board. I set up a template project according to the tutorial present in this page fabioangeletti.altervista.org/.../ that is however for a different…

  • Create Software Pack

    Have anyone tried to make The steps from tutorial keil.com/.../_c_p__s_w_components.html ?

    When I run gen_pack.bat, I get the following:
    PackChk.exe 1.0.0 (9/4/2014)
    Copyright (C) 2014 ARM Ltd.

    Checking Package Description
    Reading PDSC File. DON…

  • Identifier Undfined

    Basically what I am trying to do is duplicated the timer project example for nRF51422. I keep getting back following errors and I don't know how to fix it. I suspect it has to do with including files?

    Rebuild target 'nrf51422_xxac'
    compiling…

  • STM324x7I_EVAL.axf: Error: L6218E: Undefined symbol "x" (referred from "x".o).

    Hi everyone,
    I have a problem when compiling my program. When Keil Links the program appears some errors that I don't understand. I copy what I get.
    Thank you!

    compiling system_stm32f4xx.c...
    assembling startup_stm32f427x.s...
    linking...
    .\STM324x7I_EVAL…

  • IAR To Keil Porting issue

    Hi all,

    For my project related requirements, we started porting the code base, which existed; compatible with IAR to KEIL IDE [Because, we decided to procure license for KEIL IDE].

    But we stuck with the following error; while attempting to compile…