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 write some USART functions to play with. After several days of newbie problem ;-) I succeeded to create a serial communication between the picdem board and a serial terminal (cutecom). Then, when I understood a usart library was available with sdcc, I tried of course to use it. Unfortunately, I don't succeed to make it work. It seems to me that SPBRGH never get the right value (seems to stay 0x00). Can somebody confirm this behaviour ? Then, I should like to debug, step by step, my code using piklab and icd2. If I don't use library functions, I can progress step-by-step in the cof file with all the asm code. But if I use sdcc library function, I don't get the underlying asm code. What I need to do to get this asm code in which I want to cross? Sorry for my english ;-) Regards, Alain ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user