• Error in uvision3

    I have a confidential ROM Monitor RM66-II-P/PE Version 2.5 . I use from uvision3 for connent with it. I choose Flash Menu in uvision3 and Configure Flash Tools and Debug tab and select USE SLE66PE ROM Monitor Driver.
    When I start Debug Session, in Output…

  • Small size 8051 Controllers with Large SRAM available?

    Are there any 8051 core controllers with large SRAM ( about 1KB) and small in size (like AT89LP2052, AT89LP214 ) by any manufacturer

  • How this error can be resolved? "SPACE ADDRESS OVERFLOW"

    I am using 89C51RD2, when ever my code exceed 8KByte and error is generated by the compiler i.e.
    *** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: DATA SEGMENT: ?DT?_PPP?MAIN LENGTH: 0006H*** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT SYMBOL: ?_PPP?BYTE…

  • Access a function using address

    Since the c51 compiler does not support the recursive call of a function is there any way to find out on which address location the function which is to be called as a recursive is located?

    That is, is there any way to implement the recursive call…

  • Recursive Function call

    I want to use the recursive function call but i get warning message "Warning L13: Recursive call to segment" though i had declared the funcion as "reentrant".

    For example my code is like this,

    case 1:

    void main(void)
      {
      …

  • Nokia 3310 LCD with AT89C51

    Hi!

    i am facing some problem, by interfacing a Nokia 3310 LCD with AT89C51 MCU.
    what i am doing is supplying the LCD +V from the 7805 Regulator and directly connecting it pins (SPI interface) to the controller, i have properly connected the pins and…

  • Finding Anti Log to base 10

    Is there any function available to find the anti log (base 10) of any given number. If not, then please guide how to find it using KeiL Compiler

    Mohit

  • UART of AT89C51 is not working ?

    I am using Keil uv2 to program my AT89C51 and although the UART is working just fine in Simulation but in real circuit its not working i donno why .... cuz there are just ASCII code in the Hyper term but it was suppose to be "Hello to MCU " so could…

  • MCAN Bootloader for XC888CLM

    Has anybody developped a CAN Bootloader to be esexuted in XRAM for the Infineon XC888CLM??

    I have some things to investigate with others developpers

    Thank you

    Lluís Anglès

  • c51: Writing to flash

    When we interface flash with 8051,
    we send Commands to read and write.
    For write operation, after sending Write Command, we send data,
    Should there be any change in the way the data (data byte which is to be written) is sent ? For instance,
    we send the…

  • Breaking instructions into two lines

    Hi everyone,

    How can I break a long instruction line into two or three lines to improve readability of the program written in " C language ?

    Best regards,
    Deepak

  • About _DATA_GROUP_ segment

    Help! How can I break _DATA_GROUP_ segment into two parts?
    Thanks!

  • Data in not getting loaded for SPDR register

    void main()
    { SPCR =0xD8; //Enabling SPI int,setting clock EA=1; ES0=1; SPDR=0xFF; //SPI data register while(1);

    }
    unsigned char bdata test;
    sbit SPIF=test^7;
    void sr_intr() interrupt 4
    { test=SPSR; if(SPIF==1) //Checking the status flag { SPIF=0;…

  • EZ-USB FX2LP CY7C68013A: target not created!

    Hi,

    I'm developing a project with micro

    EZ-USB FX2LP CY7C68013A

    When I try to build project, I get that message

    Build target 'Target 1'
    compiling fw.c...
    assembling dscr.a51...
    compiling firmware.c...
    compiling clocksys.c...
    compiling SPI…

  • Comiple a Source file at a fixed address

    I know one can compile a function at a fixed address.

    But is it possible to compile a source file at a fixed address? For example: Main.c is compiled from 0x1000.

    So all the functions in Main.c will be compiled from 0x1000 and further on.

    If this…

  • FREQUENCY MEASUREMENT

    ASSUME 900-1100HZS GIVEN TO P3.5.WRITE A PROGRAMME TO SHOW SAME ON LCD DISPLAY .ALREADY I SUCCESSEDED TO WRITE A CODE FOR KHZS IN ASSEMBLY.
    I SELECTED TMOD 051H,TH0 OFCH. PLZ GIVE ME IDEA TO SOLVE IT.

  • how and when to read external buffer

    HI, i am working on a project. I need to give extrnal data to input of buffer 74ls373 and at the output pin i receive data on pins D0-D7 which is given to the input to the microcontroller data pins (P0). I am using external memory for RAM and ROM.

  • Re: Connection of 8031 , 27c512 and 82c55

    Hi,

    In one of my project i connected 8031, 27c256 and 8255.Here the A15 line is given common to Chip enable of EPROM and also connected to G1-pin of address decoder via a NAND gate.

    So if the A15 is low eprom is selcted and if high 82c55 is selected…

  • reading 8 bit data through single bit variable

    someone has worked on this, kindly let me know, how do we pass a 32 bit word to a variable declared as 'sbit',

    i tried this way, AND with 0x80 (1000 0000) and get 1 bit at a time, this seems to work for sending
    but when it comes to reading…

  • How do I declare bit variables as extern?

    Guys,

    How can I declare a bit variable defined in a file as "extern" when that variable is defined in another file?

    Although in the page 99 (C51, uVision2, V2.38) describes that I should be able to put:

    extern bit mybit0;

    I already…

  • Nesting of pre-processor #if/#endif

    Hello.
    Using C51, is nesting of pre-processor #if/#endif statements allowed?

  • mapping SFR space

    How would I locate a structure to coincide with the beginning of SFR space for the 8051? address 0x80 of directly assessible data memory.

    We are using a core8051 (inside an FPGA), and the core8051 lets us map external events to SFR space. So it would…

  • Flash Erase

    hi
    Is there a chance of code erase in flash during operation of C8051F120 .If so how to prevent it.my code is not working properly during extreme temperature around -40 (i thounght some flash memory has erased in it all the hardware are working properly…

  • How to check the debug session is running by AGSI?

    Dear sir!

    I want to know the debug state of Keil Debug Session at my AGSI DLL.

    When start keil Debug session, the AGSL dll is also start Running, I want to check debugger is running or halt:
    when the "run" speedbutton is down, let my the property…

  • MCB900, LPC938, A/D

    I'm using the MCB900 with a P89LPC938 and the LPC900 development tools (demo version). I'm trying to test the A/D. Couple of things:

    1. REG938.H doesn't list the A/D interrupt enable bit EADC (IEN2.1). So I added it to REG938.H:

    sbit…