• Function switching

    Nitin Skandan
    Nitin Skandan

    I am working on project with AT8052 with keil
    While doing C coding i have created many functions at certain situation multiple nesting of functions occur which may be avoided with some effort. Since 8051 stack is inside the internal RAM itself and i am…

    • over 17 years ago
    • Software Tools
    • Keil forum
  • KEYBOARD scanning

    Nitin Skandan
    Nitin Skandan

    I am developing an 8051 based keypad module.
    Problem i am facing is that program is scanning port very fast so that a simngle keypress will be taken as multiple presses. To over come this a delay was introduced . If delay value is high key presses wont…

    • over 17 years ago
    • Software Tools
    • Keil forum
  • uPSD 3200 - Switch blocks

    Saul Bencke
    Saul Bencke

    Hello!
    I'm having some problems to switch from secondary to primary flash !

    My Memory Map (start):
    rs0: 2000~3fff
    csiop: 200~2ff
    FS0: 0000~7FFF
    CSBOOT0: 0000~1FFF data space

    When I execute the command:
    PSD8xx_reg.VM = 0X12;
    I jump from the primary…

    • over 17 years ago
    • Software Tools
    • Keil forum
  • expression with far variable fails (in MX)

    martin krekel
    martin krekel

    Hallo,

    now I have another serius problem.
    For your information, I use:
    Cx51 Ver 7.06
    Philips / 89C669

    An expression which involves a far variable
    does not produce correct result. Here is
    my test program:

    #include <Philips\reg51m.h>
    
    unsigned int result…

    • over 17 years ago
    • Software Tools
    • Keil forum
  • How to convert a .abs or .hex file to a .bin file?

    Nick Carter
    Nick Carter

    How to convert .hex and .abs files to .bin files so I can the use some file comparison software.
    Many thanks
    Nick

    • over 17 years ago
    • Software Tools
    • Keil forum
  • Can I interface 8259 with 8051? Thanks

    Eric Yeow
    Eric Yeow

    If I can do that...

    How to set ICW4 ?

    Thanks again.

    • over 17 years ago
    • Software Tools
    • Keil forum
  • problem in using save command

    Krishna Tayal
    Krishna Tayal

    I am using "SAVE" command to save an array. But I am getting error that "SAVE command is not allowed while emulation is running".

    I am using Hitex SLE90 Emulator and KeilArm SDK V5.17for debugging purpose.

    • over 2 years ago
    • Software Tools
    • Keil forum
  • Installing or working with wear os by google on keil/arm products

    ANURAG GUPTA
    ANURAG GUPTA

    I want to make a wearable smartwatch which works on keil mcbstm32f400 running android wear/wear os ,i want to know the procedure how to install wear os on the dev board.I did some research and i got to know that that only some devices have wear os like…

    • over 2 years ago
    • Software Tools
    • Keil forum
  • Debug RTX 51 full task.

    Eric Yeow
    Eric Yeow

    Thank you in advance.

    May you kindly help me to find how to show tasks' status in uv2 for debugging RTX 51 project?

    • over 17 years ago
    • Software Tools
    • Keil forum
  • Microcontroller erases all blocks except block 0.

    Amilcar  Peres
    Amilcar Peres

    I am using a P89C51Rd+ from Philips. I have been testing my software in this microcontroller.But last night with no apparent reason it stoped to erase the block 0 of the FLASH.It simply does not erase the Block 0 and erases the other ones.Is anyone familiar…

    • over 17 years ago
    • Software Tools
    • Keil forum
  • Set a Register Bit Timing for TwinCAN on my XC 167 CI

    Barbieri Alessandro
    Barbieri Alessandro

    Hi m8,
    I have a problem setting my Bit Timing Register...

    I have see Indifeon DOCS for calculare the BaudRate, but i have some questions...

    1) tq = (BPR+1) / fCAN
    What Infineon mean for tq and fCAN??

    2) TSJW = (SJW+1) * tq
    TSEG1 >= TSJW + …

    • over 17 years ago
    • Software Tools
    • Keil forum
  • Can I use both C51 and Cx51 for classic 51 chip

    Thomas Yang
    Thomas Yang

    Can I use both C51 and Cx51 to compile the codes for classic 51 chip! And how about the A51 and Ax51.

    • over 17 years ago
    • Software Tools
    • Keil forum
  • two indentifiers in the same line, no operators

    Mark Yukob
    Mark Yukob

    What is this line and what does it do. The first part is a previous enumeration, the second part is the first occurrence in the module.

    static enum DEFROST_STATE PreviousState;

    • over 17 years ago
    • Software Tools
    • Keil forum
  • What key management IC are you using

    Nocky Tian
    Nocky Tian

    Hi,everyone
    Are you using a keyboard management IC?
    Which one is the best?
    Take 4 X 4 keyboard for a example!
    Discuss it!

    • over 17 years ago
    • Software Tools
    • Keil forum
  • any bug with reentrant?

    Mike Hwang
    Mike Hwang

    void func1(unsigned char *buf)reentrant
    {
        *buf = 1;
    }
    
    void func2()reentrant
    {
        unsigned char ch;
        func1(&ch);
    }
    
    souce code of func2:
    MOV      DPTR,#0x00FFFF
    ACALL    C?ADDXBP(C:000298)
    
    MOV      R3,#0x01          ;not 0x02
    MOV      DPH…

    • over 17 years ago
    • Software Tools
    • Keil forum
  • "#pragma SRC" ->obj not generate

    ROBINET Gilles
    ROBINET Gilles

    I've added a "#pragma SRC" to see the asm code of my C file, and on the compilation, the obj file was not generated (and so the linking stopped with ERROR L210: I/O input File).
    Is it normal?

    • over 17 years ago
    • Software Tools
    • Keil forum
  • how to use volatile ,and why to use volatile ,and where we shoud use volatile !

    HE DINGQIU
    HE DINGQIU

    thank you !
    my friends!

    • over 17 years ago
    • Software Tools
    • Keil forum
  • How can I get easy-case ad pc-lint?

    Nocky Tian
    Nocky Tian

    to see subject

    • over 17 years ago
    • Software Tools
    • Keil forum
  • clarity of dual dptr code

    erik  malund
    erik malund

    to make an assembly routine clearer to read, I want to indicate which of the 2 dptrs are used in each instance. One is fetch, another is store.

    So, to achieve that, I insert the following:

     fptr equ   dptr
    sptr equ   dptr

    And these lines error out…

    • over 17 years ago
    • Software Tools
    • Keil forum
  • Can the Keil uv2 simulate 96 family chips(i.e,8096,80196)

    Liu Hui
    Liu Hui

    Can the Keil uv2 simulate 96 family chips(i.e,8096,80196).if it can do that,will you please introduce a better software (support 96) to me.
    thanks.
    huihl@163.com

    • over 17 years ago
    • Software Tools
    • Keil forum
  • P89C669 full address

    erik  malund
    erik malund

    How do I 'tell' the toolset (not using uVision but .BAT) to address all 23 bits without invoking bankswitching or other such slowdowns?

    Erik

    • over 17 years ago
    • Software Tools
    • Keil forum
  • P89C669

    erik  malund
    erik malund

    Does (or when will) Keil support the P89C669 ?
    Alternately if the MX is supported (long address - no bank switching) can that be used with a 'homemade' sfr definition file for the 669?

    Erik

    • over 17 years ago
    • Software Tools
    • Keil forum
  • Device selector

    erik  malund
    erik malund

    1) the device selector i great and, as far as I can see, kept current - Bravo.
    2) could you add 'linear addressing space' to the selection. I have applications that need >64k that can not handle the time overhead of bank switching. Right now I know…

    • over 17 years ago
    • Software Tools
    • Keil forum
  • Does this need be defined in two ways in assembly

    erik  malund
    erik malund

    I use the same value as an assembly control and to change some variables. It seems that in order to do so, I have to define it in one way for conditional assembly and in another way for variables. Is there a way to use the same definition for both purposes…

    • over 17 years ago
    • Software Tools
    • Keil forum
  • How to tread the different memory spaces?

    Geert Vancompernolle
    Geert Vancompernolle

    Hello,

    Suppose you declare an array in a certain memory space, for instance

    unsigned char xdata SendBuffer[ 20 ];
    .
    Is it allowed to just prototype the callees with
    byte *SendBuffer
    and dereference it as
    TempVal = *( SendBuffer + Counter );
    ?
    Or should…

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