Re: [Sdcc-user] 8051 serial io and baud rate with timer 1

2008-10-14 Thread Dennis Muhlestein
Mark Swayne wrote: > Dennis, > > I have another thought as to what may be the problem. Do you see any > linker warnings when you build the sample from Keil with SDCC? > > If you use the source from the keil site, the code will not work since > there is no putchar() function defined in the sdcc s

Re: [Sdcc-user] 8051 serial io and baud rate with timer 1

2008-10-14 Thread Mark Swayne
Dennis, I have another thought as to what may be the problem. Do you see any linker warnings when you build the sample from Keil with SDCC? If you use the source from the keil site, the code will not work since there is no putchar() function defined in the sdcc stdio.h. The function is decla

Re: [Sdcc-user] 8051 serial io and baud rate with timer 1

2008-10-14 Thread Dennis Muhlestein
Mark Swayne wrote: > I don't have any ideas specific to Timer 1 and SDCC. But I do have a > suggestion. > > Are your ISRs being run? You need to make sure that your ISRs are > defined when your main() routine is compiled, otherwise null, stand-in > ISRs will be used instead. > > I have my ISRs

Re: [Sdcc-user] 8051 serial io and baud rate with timer 1

2008-10-13 Thread Mark Swayne
I don't have any ideas specific to Timer 1 and SDCC. But I do have a suggestion. Are your ISRs being run? You need to make sure that your ISRs are defined when your main() routine is compiled, otherwise null, stand-in ISRs will be used instead. I have my ISRs defined in various, device speci

[Sdcc-user] 8051 serial io and baud rate with timer 1

2008-10-11 Thread Dennis Muhlestein
Hi all, I've been experimenting around with serial io on an 8051 development board. I've run into the following situation. The board is a Cypress FX2LP. The Cypress kit comes with Keil trial c51 compiler. The included keil examples for serial IO all use Timer 1. Also, the 8051.com tutor