• Initialize bit variable when using (bdata + sbit) ?

    Jimmy liao
    Jimmy liao

    I have one question about bit variable initialization.

    Before I used below simple way to initialize bit vars:

    Ex.
    bit bvar_0=0;bit bvar_1=1;
    bit bvar_2=1;bit bvar_3=1;
    bit bvar_4=1;bit bvar_5=1;
    bit bvar_6=0;bit bvar_7=0;
    

    And then ?C_INITSEG …

    • over 11 years ago
    • Software Tools
    • Keil forum
  • spi

    prajakta kote
    prajakta kote

    dear all, i m interfacing 7366 with c8051f120.

    according to datasheet of 7366 its clock is 5Mhz (100nSec and 100nSec of SCK high and low pulse)

    pls tell me which lines of among 4 pins i.e mosi,miso,nss,sck are pushpull and open drain.

    because i…

    • over 11 years ago
    • Software Tools
    • Keil forum
  • Eclipse and UV3 intergration

    Manish Shakya
    Manish Shakya

    Hello All,

    Is it possible to integrate Eclipse and UV3?
    Eclipse has good code editing features such as auto complete,code hint?It would be better if two tools could be integrated.

    Manish

    • over 11 years ago
    • Software Tools
    • Keil forum
  • clock syncronisation

    prajakta kote
    prajakta kote

    hello everyone,
    i am using cygnal controller i.e c8051f020.
    i am running 3 motors all together
    all motors clock is of different timer
    each timer has its own priority
    i want to know is there any possibility to sycronization of clocks of all motors.
    because…

    • over 11 years ago
    • Software Tools
    • Keil forum
  • Lx51 Segments located using wildcard are not located together...

    Robbie Martin
    Robbie Martin

    Hi,

    I have a line in my linker control file:

    ?PR?*?PHTESTMODE_ROMCPUMX(C:0x01EA00),

    But when I build it I see the following segment locations:

    81E9FFH 81E9FFH 000001H --- --- **GAP**
    81EA00H 81EA24H 000025H BYTE INSEG ECODE_TM ?PR?_PHTESTMODE_ROM1…

    • over 11 years ago
    • Software Tools
    • Keil forum
  • I2C procedure questions

    kannan k
    kannan k

    Hi,
    i am interfacing DS1631 temperature sensor to P89V664. And i am trying out using the in built I2C peripheral.
    i have read through both the datasheets and have written the program.
    However i am not able to get the reading from the temperature registers…

    • over 11 years ago
    • Software Tools
    • Keil forum
  • Use an existing project to make a new project

    Ray Abram
    Ray Abram

    Hi...

    I have have a project, and i want to use it as the base/template for a new project...

    Where is the "Save Project As" in the project menu ?

    Also if you want to rename a project, you could use the "Save as New Project" if there was…

    • over 11 years ago
    • Software Tools
    • Keil forum
  • scanf problem

    Ahmed saleh
    Ahmed saleh

    Hi, im trying to do an SMS project using AT Commands , i wanna display what the mobile sends on LCD , something like when i write the correct AT command using printf("AT\r"); it gives OK , i wanna display that OK on LCD , so i used scanf to capture the…

    • over 11 years ago
    • Software Tools
    • Keil forum
  • PC Lint warning 413:

    S. Gupta
    S. Gupta

    Hello,

    I am having 8052 based project. I am using Keil Microvision 3 compiler and am using PC-Lint for error checking and debugging. I am using absolute memory access macros of Keil for memory mapping in my project, which is as follows:

    Project filename…

    • over 11 years ago
    • Software Tools
    • Keil forum
  • Is this a bug for KEIL C?

    taowa none
    taowa none

    Create a simple project, use 8051 chip;

    input a simple program

    void main(void) //1
    { //2 char a,b; //3 a=-1; //4 b=a/2; //5 while(1); //6
    }

    build and debug step by step
    Open watch window,notice local variable
    when it executed at the 6th line.
    varvariable…

    • over 11 years ago
    • Software Tools
    • Keil forum
  • Simulate Multiple I2C devices in Keil known code

    Chris B
    Chris B

    I have been using code supplied by Keil to simulate I2C slaves and it works great......only problem.....its one device only. Using the VTREG's it does, I tried to modify the code by +1's on the call names, but that didn't work. I have at least 14 I2C…

    • over 11 years ago
    • Software Tools
    • Keil forum
  • 64k External NVSRAM + External IO

    help help
    help help

    Dear all,

    Please anyone can help me?

    Currenlty i have x2 32kB SRAM for data and code. I would like to add more External-IO port for my board. How can i connect the circuit? I have no problem for write data to External Output port but the External…

    • over 12 years ago
    • Software Tools
    • Keil forum
  • C8051F363 doc & UV3 disagree

    Spencer Doidge
    Spencer Doidge

    Uv3 Parallel Port 0 crossbar display disagrees with the Silabs data sheet Rev 1.0.7 for the 48-pin package. With UART0 enabled, Uv3 shows SDA and SCL mapped to PO.0 and P0.1 respectively. With UART0 enabled, the doc Fig 17.3 shows SDA and SCL mapped…

    • over 11 years ago
    • Software Tools
    • Keil forum
  • Self Bootloader.

    help help
    help help

    Hi,

    Currently i have success download the hex data to SRAM and running the program. Now I would like to save the CODE data on external eeprom whenever power is ON will automatically download the data to SRAM and start running the program without manualy…

    • over 12 years ago
    • Software Tools
    • Keil forum
  • Allocating initialised array in CODE section

    Marcos Frago
    Marcos Frago

    I need to store an initialised array in code area.

    The HW is so, that when modifying this array by the program the whole 256-byte page where the array is located must be first erased and then written.

    Therefore, I need to reserve 256-byte of code…

    • over 12 years ago
    • Software Tools
    • Keil forum
  • DS390:is it a simluator display bug?

    beyows skyhawl
    beyows skyhawl

    for example,inst390.uv2 project in the C:\Keil\C51\EXAMPLES\Dallas 390\Asm,in disassembly window ,the first instruction is displayed as "c:0x000000 020003 LJMP RESET(c:0003)".but after acon set,the disassembly window refreshed by PageUp and PageDown…

    • over 12 years ago
    • Software Tools
    • Keil forum
  • Step Into doesn't work in our own AGDI DLL.

    beyows skyhawl
    beyows skyhawl

    Step Into doesn't work in our own AGDI DLL for our own MCU with 22-bit contiguous mode compatible to DS80C390.

    StepInto works as Step Over does and AG_GoStep(...) get the same nCode in AGDI DLL when we push F11 or F10 in disassembly window disable…

    • over 12 years ago
    • Software Tools
    • Keil forum
  • Keyboard shortcuts storage location?

    Chris B
    Chris B

    Does anyone know where the new definitions for new or modified keyboard shortcuts are stored? I looked at 4 .ini files that were modified with the time code of when I made the changes in the UV3 folder and also check the /bin folder......but nothing…

    • over 12 years ago
    • Software Tools
    • Keil forum
  • DS390:"DB 02h ,DW Reset" and ljmp

    beyows skyhawl
    beyows skyhawl

    for example,inst390.uv2 project in the C:\Keil\C51\EXAMPLES\Dallas 390\Asm,in disassembly window ,the first instruction is displayed as "c:0x000000 020003 LJMP RESET(c:0003)" with source code :
    DB 02H ; LJMP in Classic 8051 Mode
    DW WORD0 R…

    • over 12 years ago
    • Software Tools
    • Keil forum
  • On-Chip XRAM Usage Problem

    Hakan YAMANYAR
    Hakan YAMANYAR

    Hello,

    We have an application running on DS89C450. We link the compiled objects by means of LX51 advanced linker and 'Linker Code Packing' of the linker is enabled with the optimization level of 9.

    Our application have not been using On-Chip…

    • over 12 years ago
    • Software Tools
    • Keil forum
  • How to Overlay idata for a bootloader

    Eric Ryherd
    Eric Ryherd

    I have a bootloader routine that once I call it, I'll never return (instead we'll go thru a watchdog reset once flash has been reloaded).

    The problem is that I am very code space limited and want to lock down the bootloader into less space…

    • over 12 years ago
    • Software Tools
    • Keil forum
  • header file for 89LP2052

    Nag Mani
    Nag Mani

    Hi, When I am trying to download 89LP2052 header filefrom keil site,everytime I am getting 89c2052 header file.Please tell me how to get the file.
    thank u,
    nag

    • over 12 years ago
    • Software Tools
    • Keil forum
  • Display values larger than a long.

    Chris Lamourine
    Chris Lamourine

    I need to work with values larger than what can be fit into the 32 bit long available in the compiler. I can store the values in 5 byte arrays, but I need user interaction via a numeric dispaly and keypad. I need to be able to convert value stored in…

    • over 12 years ago
    • Software Tools
    • Keil forum
  • General Programing Question

    Paul Marley
    Paul Marley

    I'm experiencing a problem that some of you may have seen. I have an application that executes without any problems. If I comment out a sprintf() or a printf(), however, the code executes to a point and hangs. The point where it stops is not always…

    • over 12 years ago
    • Software Tools
    • Keil forum
  • How to control external tools with #define directive?

    Martin Macher
    Martin Macher

    Hi community,

    on 'Options for Target' -> Tab 'Output' -> Groupbox 'After Make' -> 'Run User Program #1' and 'Run User Program #2' i can specify to run external tools after compiling and linking. Normally i start a *.BAT commandline batch file.…

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