Re: [Sdcc-user] [PIC16] Problem with the usart library

2012-02-25 Thread Alain Portal
Le vendredi 24 février 2012 19:41:43, Philipp Klaus Krause a écrit : > On 24.02.2012 10:31, Alain Portal wrote: > > > > > PS: I spent many time to find how to use the pic16 usart library > > because the lack of documentation. As I'm now near to well understand > > how it works, I would like to wr

Re: [Sdcc-user] [PIC16] Problem with the usart library

2012-02-24 Thread Philipp Klaus Krause
On 24.02.2012 10:31, Alain Portal wrote: > > PS: I spent many time to find how to use the pic16 usart library > because the lack of documentation. As I'm now near to well understand > how it works, I would like to write some words to document that > library and make that documentation available i

Re: [Sdcc-user] [PIC16] Problem with the usart library

2012-02-24 Thread Alain Portal
Hi Raphael, Le vendredi 24 février 2012 07:49:27, Raphael Neider a écrit : > Hi Alain, > > > sdcc is 2.9.0 #5416 (Aug 6 2010) (UNIX) > [...] > > It seems to me that SPBRGH never get the right value (seems to stay 0x00). > > Can somebody confirm this behaviour ? > > Up to Aug 20, 2010, SPBRGH wa

Re: [Sdcc-user] [PIC16] Problem with the usart library

2012-02-23 Thread Raphael Neider
Hi Alain, > sdcc is 2.9.0 #5416 (Aug  6 2010) (UNIX) [...] > It seems to me that SPBRGH never get the right value (seems to stay 0x00). > Can somebody confirm this behaviour ? Up to Aug 20, 2010, SPBRGH was never assigned in usart_open(). Please update your SDCC installation and try again. > The

[Sdcc-user] [PIC16] Problem with the usart library

2012-02-23 Thread Alain Portal
Hi all! I'm newbie with PIC and I'm trying to work only with opensource software. So I choose to work with piklab, sdcc and gputils, and I'm learning using an icd2 and a picdem board (pic18f4550). Piklab is 0.15.10. sdcc is 2.9.0 #5416 (Aug 6 2010) (UNIX) gputils is 0.13.7 My first try was to w