Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/17/04 15:30
Read: times


 
#72641 - RE: ADuC832 serial comms problem
Responding to: ???'s previous message
Hi Lyndon,

As stated on the Keil website Michael referenced, putchar (used by printf) is implementation dependent.

Unlike a PC environment, the compiler can't know what kind of hardware you have for I/O (LCD? RS232? blinking LEDs?), so you need to write the appropriate function for putchar (and getchar), then maybe recompile the stdio library...unless these came with your board, and in that case you must install them where the compiler can find them.

My compiler's putchar function was simply a return, so it would not do anything (but no error!!).

Dennis

List of 10 messages in thread
TopicAuthorDate
ADuC832 serial comms problem            01/01/70 00:00      
   RE: ADuC832 serial comms problem            01/01/70 00:00      
      RE: ADuC832 serial comms problem            01/01/70 00:00      
         RE: ADuC832 serial comms problem            01/01/70 00:00      
   RE: ADuC832 serial comms problem            01/01/70 00:00      
      Keil Example            01/01/70 00:00      
         More Keil Examples            01/01/70 00:00      
   RE: ADuC832 serial comms problem            01/01/70 00:00      
      RE: Keil putchar, getchar.            01/01/70 00:00      
   RE: ADuC832 serial comms problem            01/01/70 00:00      

Back to Subject List