• Far Jumps

    E Staudinger
    E Staudinger

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

    How can this be done?

    • over 15 years ago
    • Software Tools
    • Keil forum
  • There are only 16 segments in my programe,yet there is an instruction"exts 17h,#2"

    wang wei
    wang wei

    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!

    • over 15 years ago
    • Software Tools
    • Keil forum
  • Problem with Timing

    M hameed
    M hameed

    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

    • over 15 years ago
    • Software Tools
    • Keil forum
  • LAST segment misplacement

    Oleg Sergeev
    Oleg Sergeev

    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:

    …
    • over 15 years ago
    • Software Tools
    • Keil forum
  • Problem transfering samples from ADC to DAC

    M hameed
    M hameed

    Hi Everbody

    I am facing problem while transfering data from ADC to DAC in between i have used some buffer logic after execusion it is not working or suddenly stop copying from ADC but What i have tried is copying directly from ADC to DAC is working…

    • over 15 years ago
    • Software Tools
    • Keil forum
  • What assumption does this code make? Is it acceptable?

    Robert Wey
    Robert Wey

    This is a snippet from a general-purpose library function that is (effectively) non-application specific and, by design, can make no assumptions about the context of the calling process.

    Hint: The assumption the code makes has to do with interrupts…

    • over 15 years ago
    • Software Tools
    • Keil forum
  • Number of bytes & microcontroller's chip

    Andrew Jordan
    Andrew Jordan

    Hello

    I am an ultra newbie and im currently learning 8051 chip. The question is How can i find out the number bytes in my program before I can buy any microcontroller chip? Is it hex file?

    kind regards

    Maverickmax

    • over 15 years ago
    • Software Tools
    • Keil forum
  • asm endasm and src directive, combining C and ASM languages

    Amit Alon
    Amit Alon

    Hi,

    I have a pretty big file that during it's performance, in a specific place of the code flow, I would like to wait for exactly 4 clock cycles.

    The best way for me to do this, is using the empty line command (; // nop).
    Unfortunately, this doesn…

    • over 15 years ago
    • Software Tools
    • Keil forum
  • What is this RTX51

    Mudassir Mehboob
    Mudassir Mehboob

    Hi i've just switched from assembly language to c and i've studied a little about RTX51 Real time operating system but i could'nt figure out its purpose for microcontroller applications. Can any one kindly make me understand with examples what difference…

    • over 15 years ago
    • Software Tools
    • Keil forum
  • modifying putchar, and watching the prinf source code

    Amit Alon
    Amit Alon

    In http://www.keil.com/support/docs/788.htm you described how to change the putchar function.
    I have coppied PUTCHAR.C to the project directory, and added it to the project source files (using uVision2). As soon as I started to re-build the project, the…

    • over 15 years ago
    • Software Tools
    • Keil forum
  • LPC932:baudrate generator interfere with I2C clock ?

    willy lin
    willy lin

    I meet a confusing problem...
    I have to use UART & IIC communication simultaneously.
    The internal SCL generator is selected for the I2C clock. data rate is 100Kbit/sec at fosc=12MHz.
    Baudrate generator is selected for UART clock. 9600bps is set.
    The…

    • over 16 years ago
    • Software Tools
    • Keil forum
  • Breaking a FLOAT in char

    Adi Sapner
    Adi Sapner

    Hi,

    I need to save a FLOAT value in a EEPROM. But for that I must break the float in 4 CHAR.

    I dont want to mask and shift, I prefer something more fency.

    Is there a way using the STRUCT and UNION to be able to access each BYTE in a FLOAT ?


    I don…

    • over 16 years ago
    • Software Tools
    • Keil forum
  • How to write the program permanently into the microcontroller

    Robert Tan
    Robert Tan

    I'm completely new in this areas.
    Can anyone tell me how to do it?
    Thank you!

    • over 16 years ago
    • Software Tools
    • Keil forum
  • How can i write the memory

    Weig gao
    Weig gao

    I'm using a MicroConverter ADuC812.and a 512K Flash memory with the space
    0x0000--0x07FFFF,

    I have the PK51 Professional Developer's Kit and have examined the example in the folder:

    Keil\C51\EXAMPLES\FarMemory\16MB RAM on ADuC812. 

    i configure…

    • over 16 years ago
    • Software Tools
    • Keil forum
  • Example program CapCom_PWM.c does not work with MCB900

    Lloyd Frei
    Lloyd Frei

    I have unsuccessfully tried to use the example program on the PWM downloaded from Keil's web site for the Philips 900 CapCom.c. I've created a HEX and downloaded it a MBC900.I've attempted to run it on their development board and also looked at the operation…

    • over 16 years ago
    • Software Tools
    • Keil forum
  • split a program into two and locate at different addreses

    Haribabi Pathipati
    Haribabi Pathipati

    I want to split my program in two and locate at differenct addreses.

    main program may be located at 0x1000. and only one function called by main shall be located at say 0x8000. how to create that function and compile using CA51 and load it into the Cygnal…

    • over 16 years ago
    • Software Tools
    • Keil forum
  • CAN-Analyzer-Mode Infineon XC167 Controller

    Huber Tobias
    Huber Tobias

    Hello.

    I have an Infineon XC167 Step AC Controller and I want to use the CAN-Analyzer Mode for CAN-Baudrate-Detection. The routine detects already the correct baudrate. My problem is, although the CALM-bit is set, that I have error-frames on the bus…

    • over 16 years ago
    • Software Tools
    • Keil forum
  • UART configuration

    Benoît CHARBONNEAU
    Benoît CHARBONNEAU

    Hello,

    I'm using a C167CS-L40M on a PhyCore 167HSE from Phytec. My problem is : how can i use the uart communication.

    Thanks a lot

    • over 16 years ago
    • Software Tools
    • Keil forum
  • about: A chinese graduate student's problem!

    axi zeng
    axi zeng

    i am a graduate student of china,i got a bachelor's degree of electrical engineering
    and will achieve a master's degree of telecommunication,but i have no chance to do any project,because my tutor have not any projects,what shoud i do?

    • over 16 years ago
    • Software Tools
    • Keil forum
  • Stopping and Starting an Interrupt Routine

    Kitty Fields
    Kitty Fields

    I have an application that runs from FLASH and downloads a second application into RAM, and then jumps into the RAM program. The FLASH application has an interrupt function that is defined as:

    void Function1(void) interrupt T0INT=32 using rbank2
    {

    …
    • over 16 years ago
    • Software Tools
    • Keil forum
  • ASCII-HEX & Binary on RSR232

    Rutu Patil
    Rutu Patil

    Hi,

    Normally when we use printf to output on RSR232, in which format it outputs.

    ascii-hex or binary.How to set the output format.

    rutu

    • over 16 years ago
    • Software Tools
    • Keil forum
  • TIMER 2 PROBLEM

    Joel J.
    Joel J.

    tr2 bit 0cah
    tf2 bit 0cfh
    tl2 data 0cch
    th2 data 0cdh

    Tis is the assembly code i write to define the timer 2. I'm using that philips 8051 microcontroller. so how to actually define this timer 2 in Keil?


    thank u ....

    • over 16 years ago
    • Software Tools
    • Keil forum
  • I2C & SPI

    Dravid KM
    Dravid KM

    Hi,

    If i have option of using either a I2C or a SPI serial EEPROM with microcontroller then which of these two standards is better one ?

    Any suggestion will be appreciated.

    Regards,
    Dravid.

    • over 16 years ago
    • Software Tools
    • Keil forum
  • Where i can get the chip can detector us dollar?

    WANG JIAN
    WANG JIAN

    Where i can get the chip can detector us dollar? if you have the data,please tell me !
    Thanks . wangjian@censtar.com

    • over 16 years ago
    • Software Tools
    • Keil forum
  • timer problem again

    Joel J.
    Joel J.

    this is my code:

    timerVal.u16 = (((servoHundredEighty - servoZero) * (degreeValue/180)) + servoZero);

    if all the variable are declare in unsigned char...this method can be used? or how i need to proceed with this if i would like to calculate certain…

    • over 16 years ago
    • Software Tools
    • Keil forum
<>