A common error when working with PIC chips is having the watchdog timer enabled and no code to take this into account. Either you must reset the watchdog 'regularly' in your code, or burn the PIC with the watchdog timer fuse disabled. This could explain the apparent "reboot" behaviour?
On Wednesday 11 February 2009 16:36:33 Néstor wrote: <snip> > Any comments or suggestions are welcome, until now, I haven't been > able to get it working, the PIC gets rebooted every time I execute the > routines. <snip> -- Richard. PGP Key-id: 0x5AB3D350 Never make anything simple and efficient when a way can be found to make it complex and wonderful. ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user