Well, I've think to everything else (and inspect the asm files) except his one. This works now on 19200 too.
To keep in mind: end with dummy forever loop end loop when testing simple things. Still have problems with _serial_receive_interrupt_handler(), but I want to dig more... thx, Vasile On 9/2/09, Rob Hamerling <[email protected]> wrote: > > > > Hi Joep, > > Joep Suijs wrote: > > Interesting :) > > > > The last lines of the asm are: > > > > l__l411 > > sleep > > goto l__l411 > > end > > > > And if you put a forever-loop it becomes: > > > > ; 164 forever loop end loop > > l__l374 > > goto l__l374 > > end > > > > and then the line is printed properly. Should we concider this a bug? > > Aha! I was focused on problems with libraries and overlooked the missing > 'forever' loop. It explains the behaviour of his program. You saved me > some debugging time! > > It may become a 'religious' discussion about what the compiler should do > when the application program doesn't take care of controlling the > behaviour of the PIC at the 'end' of a program. I think the current > implementation with a sleep loop isn't that bad at all! But it should be > documented! > > Regards, Rob. > > PS. Joep: 'con_s_ider' using a dictionary from time to time! > > > -- > Rob Hamerling, Vianen, NL (http://www.robh.nl/) > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jallib?hl=en -~----------~----~----~----~------~----~------~--~---
