I could do with the same code as well. But on C18 Mat -------------------------------------- www.piccoder.co.uk -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of Black Moon Sent: 10 March 2006 03:20 To: piclist@mit.edu Subject: [PIC] USB Ping pong buffer example request Hi, I was wondering if anyone has an example of hardware 'ping pong' buffer code (double buffering) for the 18Fxx5x series of uC's? Iv tryed to port the microchip sample code to it, but never managed to get it to enumerate as I just ended up screwing up all the setup/ep0 code. if someone could just send me some C example code (perferabley for hitech PICC18 compiler, but I can port if needed) of ping pong buffering code (Mode 2, buffering on all endpoints) of even just the setup section, I could code my own for the data part. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist