I am using C18 v2.2. The pic i am using is 18F452 with portb 0, timer 0 interrupt, timer 1, low voltage interrupts. I have a stable version of the software. Sometimes I change a very small thing, like it was A=3D1, = I change it to A=3D0 and the software hangs!!! Unbeliveable! I always blamed this result to the buggy 18f452 but I am not sure (don't have the -not buggy- one). This remaind me of another problem. How would I implement a WDT with C? Isn't it a bit difficult maybe impossible or am I not thinking right? -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Peter Moreton Sent: Friday, July 11, 2003 11:05 AM To: PICLIST@MITVMA.MIT.EDU Subject: C compiler choice ? I'm using the Microchip C18 v2.2 compiler at the moment, and getting some odd results (specifically parameters passed to a routine getting corrupted by the time the routine is reached) Now, I'm sure it's probably me doing something goofy, and I'm debugging on that basis now, but, could I just ask the general question "is the Microchip C18 compiler any good?" - I know a lot of folk use the various 3rd party compilers, and just wonder if perhaps C18 is still a bit buggy? Has anyone had success with C18 for a big project, using several interrupts, Timers & I/O modules etc? Thanks, Peter Moreton -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads