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] PIC18f4520; passing array to a function doesn't work

2008-10-14 Thread Vaclav Peroutka
Hi Bastian, did you compare generated ASM code for 452 and 4520 ? Are there some differences ? V. > Hi, > > Little follow-up on my own post. > Tried the same code on the 18f452 (with some small changes to the config to > make it run). Thistime using SDCC 2.7.0, as the 2.8 snapshot i was using