• putstr()

    Azra z
    Azra z

    Hi,

    CAn anyone point out what is the error is following code? It compiles OK, but doesnot work as expected.


    code char* str1="xxyyzz";

    void putstr(const char *s){
    unsigned char ctr=8;
    do{
    tx_busy=1;
    SBUF=*s++;
    while(tx_busy);
    }while(-…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • Serial Data

    Azra z
    Azra z

    Hi All,

    How can i write a RS232 serial receive program that receices binary data and creates a unsigned long data from each 4-bytes received?

    I am using 2051 microcontroller.

    Any help would be appreciated.

    Azra

    • over 14 years ago
    • Software Tools
    • Keil forum
  • Serial Data

    Azra z
    Azra z

    Hi All,

    How can i write a RS232 serial receive program that receices binary data and creates a unsigned long data from each 4-bytes received?

    Any help would be appreciated.

    Azra

    • over 14 years ago
    • Software Tools
    • Keil forum
  • can anyone find this in the ANSI C standard

    erik  malund
    erik malund

    I am not asking what it will do, that is a simple experimnt that I can do myself. Does anyone have specific knowledge of whether the following for loop where WFLcnt is an unsigned char is specified in the ANSI C standard to run 0 or 256 times.

      for (…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • Bluetooth

    Mudassar Mehboob
    Mudassar Mehboob

    Hi I want to learn every thing about blue tooth but a practical approach. does any body know shareworthy information please do tell. i would also like to know some good books about blue tooth.
    Any help would be highly appreciated

    • over 14 years ago
    • Software Tools
    • Keil forum
  • sram interfacing & c code.

    PRANAM gharat
    PRANAM gharat

    i am using keil microvision 2 . i want to interface 64kb sram with 8051 suggest me
    code . i know hardware interfacing but i am confused among xdata ,compact,small,large
    memory models suggest me how to use this with example.

    • over 14 years ago
    • Software Tools
    • Keil forum
  • LPC21xx ADC Problem

    Paul Connor
    Paul Connor

    I have just started writing a simple application for the LPC2129. I have a problem with polling the DONE bit of the ADC.

    The ADC clock is 3.68 MHz. I set the ADC to be 10 bits, single shot. I start the ADC and then poll the done bit like this:-
    while…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • selecting toolset to use when starting new project (LPC2000)

    Johan Sagaert
    Johan Sagaert

    Hi
    Is there a way to select to toolset to use when running the new project wizard ?
    Changing afterwards is not proof since the copied startup code does not match the new selected toolset.

    • over 14 years ago
    • Software Tools
    • Keil forum
  • is it just me

    erik  malund
    erik malund

    or do the rest of you also have the last 3 days posts marked "unread" (bold in thread list)

    Erik

    • over 14 years ago
    • Software Tools
    • Keil forum
  • A question about general purpose timers

    Tamir Michael
    Tamir Michael

    Hello all,
    I am using GPT3 for timing purposes in my RTOS (I am not running it on hardware yet - just in the IDE). I tried to use the example supplied in the "Getting started and creating applications" document (page 163) which is supposed to induce a…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • about *.flx

    zhang hua
    zhang hua

    Q1:i build the flash algorithm's project in Keil/arm/Flash/sub-folder and get *.flx file in keil/arm/flash.but when i want to Use the Add button in the Configure Flash Download dialog to add this programming algorithm file to the µVision project…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • HELP! How to use 'inportb' or/and 'outportb'??

    Henry C
    Henry C

    Hi all,

    I wanna use the function like outportb and inportb to read/write my RS-232 port. I have included the "stdio.h" in my C program and it gives out the error messages like ''outportb' missing function prototype'. I have read soem books about that…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • User functions/uVision3

    Gary Lynch
    Gary Lynch

    Ok, let's go about this a different way.
    
    Here is a stripped-down version of a much more complex C
    program, running on a Si Labs C8051F046:
    >
    > /* * * * * * * * */
    > /* BEGIN t1.c    */
    > /* * * * * * * * */
    >
    > unsigned char t1(unsigned char k);
    >
    …

    • over 14 years ago
    • Software Tools
    • Keil forum
  • Problem with Keil LCD sample code

    Bill bill
    Bill bill

    Dear all,
    I run the codes downloaded from
    http://www.keil.com/appnotes/docs/apnt_161.asp
    When I run it in debug mode the uV crashes.
    What's wrong with the code? Need other settings?

    Thanks.

    Bill

    • over 14 years ago
    • Software Tools
    • Keil forum
  • anyone figured this one out

    erik  malund
    erik malund

    in a mixed environment I have a common .h which inlude things like
    #ifdef CCODE
    struct RALPH
    #endif

    so far so good.

    now this, which, of course does not work:
    #ifdef CCODE
    struct RALPH
    #endif
    #define ralphsize sizeof (RALPH)

    in other words, my assembler…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • interfacing ADC0804 and HY62256(S-ram) to AT89C52 microcontroller.

    vinash kumaran
    vinash kumaran

    Hi,
    I have tried to interface ADC0804 and HY62256(S-ram) to AT89C52 microcontroller. The whole idea is to do an A/D conversion using ADC 0804 and than store the data input to the SRAM. The code that i had developed is below for reference. It does not…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • uC with eternet and USB connectivity

    Arun V
    Arun V

    hi
    can any one suggest a microcontroller which has got ISB and ethernet connectivity..i found out that MAX80c400has got ethernet connectivity ...but i didnt find one which has uSb connectivity

    • over 14 years ago
    • Software Tools
    • Keil forum
  • Building GCC etc. for use with uVision3

    Scott Finneran
    Scott Finneran

    Hello,

    I would like to build a newer version of the GNU toolchain for the ARM processor for use with the Keil uVision debugger.

    Does anyone know the method used to build the version shipped by Keil. (ie I need to know things like which options to pass…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • How can we use pointers in Keil.

    sheshidar patnam
    sheshidar patnam

    Hi all,
    i dont know that much about keil, and i want to know wether we can use pointers in keil like in C? If yes then how??
    Thanking you.

    • over 14 years ago
    • Software Tools
    • Keil forum
  • Keil eval version, obj start at 0x800,

    k bram
    k bram

    Hi,

    I 've just downloaded Keil C51 evaluation
    version, It is working, thank you.

    But the object (hex) starts with a few
    code at 0x0000 at the flash,
    then the rest fills the flash area
    start from 0x0800.

    How to set the compiler so the obj (hex…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • JK Flip Flop

    Carol Orland
    Carol Orland

    What would be the output of a 74LS112 JK Flip-Flop at the end if J=0 and K=1 for one clock pulse

    then J=1 and K=1 for the next 3 clock pulses?

    PS is 1
    CLR is 1

    • over 14 years ago
    • Software Tools
    • Keil forum
  • LPC2138 Timer0 Interrupt

    Sutton Mehaffey
    Sutton Mehaffey

    Can anyone tell me why my interrupt is not firing? The T0IR flag is set upon rollover of the TIMER0 32 bit timer, but my code is not vectored to the interrupt code. My variable 'system_timer' never gets decremented.

    unsigned long system_timer…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • My idea about ARTX isr_evt_set()

    Lin godday
    Lin godday

    In the ARTX help say 'It might happen that two isr_evt_set() functions for the same task are called before the task gets a chance to run from os_evt_wait_xx() event waiting function. Of course one event is lost because event flags are not counting objects…

    • over 15 years ago
    • Software Tools
    • Keil forum
  • Replies to Old Threads

    Jon Ward
    Jon Ward

    I've noticed that there are a lot of superfluous replies to old, outdated threads. Does it make sense to block threads from any new replies after so many months of inactivity?

    Jon

    • over 15 years ago
    • Software Tools
    • Keil forum
  • Interrupt control

    RAV RAV Willow
    RAV RAV Willow

    I have a digital signal in one input port and I would like to handle it in a interrupt function.

    How can I do it?

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