I am having a problem with the Microchip USB Framework software. I suspect that although it pays what appears to be lip service to using ping pong buffers, it doesn't really show the driver as being not busy to allow the application part of the program to fill the alternate buffer. I am having a problem working my way down the function tree, and was wondering if anyone knew of any software that would swallow the source code, and spit out a dependency tree that would help me sort out how the execution flow moves between the various bits, and where the various definitions are. It is currently taking me an age to work my way through it. The sort of thing I am (probably) looking for is like what generates UML diagrams from C source code. I have seen code that does it from Java, but not from C. and I would be looking for something that would do it from PIC C as used in the Microchip C30 compiler. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist