• Compile Error with Custom putchar
    Note: This was originally posted on 5th January 2012 at http://forums.arm.com Hello, I am  new to ARM and uVision and have my first  problem. The firmware i am trying to compile used to work with old...
  • Linking putchar from a custom library
    Hi, I try to create a library (.lib) file and i have wrote my custom versions of putchar and _getkey functions in it. Debugging the library project as executable the linker links my putchar and _getkey...
  • problem about putchar and puts functions
    I have a sub void init() { PCON |= 0x80; TMOD |= 0x20; SCON=0x52; TH1=0xF3; TR1=1 } void main() { init(); while(1) { } } I see no reason why when I call init() it automatic send two bytes...
  • Problem With Putchar
    I am having a slight Problem with the putchar function . when i say putchar(0x0A) it put 0x0D & 0x0A both but i only need 0x0A i tried writing putchar myself but dose not seem to work what i did...
  • Using putchar
    I am testing simple 8051 program that polls for a character from serial port and output it out to the serial port again. In the main function, I do the following continously u8_t xdata c; while...