Chris Eddy wrote: > > To crash it, run it on the emulator, with a 1MHz clock, and look at the > PWM output (RC2). You must stop and reset and run the program about > four times, and it will then crash in about 4 or 6 seconds. The odd > thing about it is that when it crashes, it will pack up the MPLAB > software. The PC shown at the bottom of the screen goes to some whacky > value, and the editor has no cursor and you cannot type. If you > re-assemble, it will then allow editting. As I was minimizing the > program, I was getting 'stack underflow' errors every now and then. Now > it just stops. I had plenty of problems with a '74 probe (also the infamous "stack underflow") until our FAE replaced the PAL chip on it. After that I never even saw it again. -- Friendly Regards Tjaart van der Walt mailto:tjaart@wasp.co.za _____________________________________________________________ | WASP International http://www.wasp.co.za/~tjaart/index.html | | R&D Engineer : GSM peripheral services development | | Vehicle tracking | Telemetry systems | GSM data transfer | | Voice : +27-(0)11-622-8686 | Fax : +27-(0)11-622-8973 | | WGS-84 : 26¡10.52'S 28¡06.19'E | |_____________________________________________________________|