• Keil CA ARM Toolchain + eCos

    Hallo,
    ich verwende das RTOS eCos und compiliere mit der GNU Toolchanin. Ich würde nun, um kompakteren Code zu generieren, auf die Keil Toolchain CA ARM wechseln.
    Das RTOS eCos und das zugehörige Config Tool ist stark an die GNU Toolchain gekoppelt. Ist…

  • 8051 Port Reading

    hey, hi to all

    In 8051 based microcontroller

    Is it necessary to write 0xFF if i want to use P1,P2,P3 port as input port?

    If yes then can i change the port I/O configuration in program anytime?

  • Stupid question

    Ok be nice, this is my first time using a uP.
    For the XC167 eval board, the (256k x 16bit)SRAM memory is setup like this.
    The xc167 A18 through A1 goto A17-A0 on the memory, and the 167 A0 goes to L\B\ (lower byte enable) on the memory.

    Instead of using…

  • Device cannot enter bypass mode. Connection to target missing or incorrect

    I work with a XC164CM an when I want program it I get the ERROR Device cannot enter bypass mode. Connection to target missing or incorrect.

    Stefan

  • Ask how to load code for DS80C320 or DS87C550 and DS87C530

    Hello!

    I have a question.

    I wonder how can i load the hex file (program load) for some Dallas chip which derive from 8051 Microcontroller such as
    DS80C320 or DS87C550 and DS87C530

    for 8051, 89C51, 89C52 i can program fro it by using Easy-Downloade…

  • ADuC845 PWM simulation

    I want use UV3's logic analyzer simulate the ADuC845 PWM wave.
    by the command:
    LA P2.5
    LA P2.6
    but I cannot see the wave in the logic analyzer's output window!
    they display two beeline.

    Then How Can I simulate the ADuC845 PWM ouput?

  • Why can't I read SBUF?

    The code is like this:

    #include <reg51.h>
    void main()
    {
    unsigned char ch;
    SBUF = 0xcc;
    ch = SBUF ;
    }

    I found that the value in ch is always zero,however, when I substituated SBUF with other SFRs, the result in ch is 0xcc, which is correct…

  • Got the problem

    I think I got the problem. UART is recieving 0x00 somehow. I have to fix my transmitting software.

    Thanks for you help, Eric.

  • When Updata GCC331.exe ?

    when can I get new version toolchain from the keil site?

    GCC331.exe has not been updata for a long time~~

  • 128x64 LCD module

    Hi

    I have been learning to use 128x64 LCD module with AT89C51 and I have been using FastLCD for converting bmp into a table of bytes.

    I have use the table in my codes and tried to compile it. I get the result - auto segment too large.

    How to put all…

  • RTX Memory model

    I appear to be having a problem with RTX and which memory model it is compiled under. I am using the c166 on an ST10F269. This part has a number of flash blocks. I am trying to put a bootloader in blocks 0 and 1 with the remainder of my code in blocks…

  • Stack of instructions application_part2

    Hi Everyone
    Maybe previous a question to application external memory has confused, let me repost sample question about stack of instructions.

    The assembler code is push register R0,R1 onto stack and pop register R0,R1from stack. So how to write a C51…

  • Structures in the Watch Window

    One thing I don't like about the debugger is the way it compresses structures in the watch window every time you run to the breakpoint. If I hit a breakpoint and expand the structure so I can view the member variables, and then step, it compresses the…

  • Keil and Proteus VSM

    At the moment i am configuring Proteus VSM to work with the Keil IDE.

    I have completed the following steps successfully but "Proteus VSM Monitor-51 Driver" option is not appearing in the combo-box of the (Project --> Target ' Target 1' -->Debug tab…

  • Flash Utility

    Where can I find the doc to flash utility? I am looking for list of arguments that the utility takes.

    TIA
    Sam

  • Wireless communication between serial port and 8051

    Hi
    i want to build a RF based module which will do the wireless communication between pc serial port and 8051. if any body has done this type of work please help me.

  • communication with GSM

    Hi all friends.
    I use LPC935 for my project and the powersupply for this type is 3.3V. I want to communicate with GSM phone trough UART at 115200b/s with internal RC oscillator @7.373Mhz.The BRGR0 and BRGR1 values are set for 115200b/s(BRGR0=0x30 and…

  • why Adds is error but add is correct?

    In keil arm 2.11

    while(1)
    {
    __asm
    {
    START: MOV R0,#0 MOV R1,#10
    LOOP: BL ADD_SUB B LOOP
    ADD_SUB:
    ADD r0,r0,r1
    //ADDS r0,r0,r1 <---error??
    MOV PC,LR
    }
    }


    FIBO.C(76): error C197: inline-asm: undefined identifier

  • uVision3 and GNU chain problem

    I am evaluating uVision3.
    I have problems when trying to use GNU toolchain. I first created a new folder which includes the defautl startup.s file. I copied and pasted the pot.c file from C:ADuC_Beta702x\Code\...ADC\pot.c. I have already installed…

  • unnamed variable as place holder inside struct

    Does any one know how to create an unnamed variable for place holder in a struct? I know you can do it in bitfiled.

    Example:

    struct S
    {
       int a;
       int b;
       int[5]; //reserved 5 ints but dont' need to name it.
       int c;
       int d;
    
       int  bit0 …

  • Sorry,I want to know why the HEX2BIN and BIN2HEX file downloaded from the www.Keil.com can't work ?

    Sorry,I want to know why the HEX2BIN and BIN2HEX file downloaded from the http://www.Keil.com can't work ?the phenomenon:after opened,it disappears soon.
    And I want to know wheather it can transfer a file of 1M,thanks a lot!

  • Far Jumps

    I need to jump from one segment to another
    example:
    from 0xC01000 to 0xC10000

    How can this be done?

  • There are only 16 segments in my programe,yet there is an instruction"exts 17h,#2"

    In my assembling programe why there is the following error?
    Athough there are only 16 segments in my programe,yet there is an instruction"exts 17h,#2"
    Thank you very much!

  • Problem with Timing

    Hi everyone

    I am working on FFT and IFFT but when I use FFT(fixed point) there is no problem with the timing. But when I want both to work the timing issue is coming in between. Both are fixed point.

    So kindly need a suggestion on this

  • LAST segment misplacement

    hi,

    according manual, when we need a segment to be placed at the end of specified memory we should use linker directive SEGMENTS. Well, in the field "User Segments" of LX51 Locate I have next string:

    ?PR?LAST(LAST)
    Then next test program: