Searching \ for 'This code will crash a PicMaster!' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: techref.massmind.org/techref/microchip/devices.htm?key=pic
Search entire site for: 'This code will crash a PicMaster!'.

Truncated match.
PICList Thread
'This code will crash a PicMaster!'
1998\01\15@124946 by Chris Eddy

flavicon
face
part 0 1250 bytes
I have been working on a C924 project, and have a PWM generator program
that will bring the emulator and MPLAB to a halt.  I have minimized a
piece of code that when run will crash the emulator.  Same code works
right in the windowed part.  I must use the timer2 interrupt to stuff
new values into the PWM, as it is used for sound generation.  When I was
updating the PR2 and CCPR1L without regard to timing, I didn't have this
problem, but I did have clicks in the sound.  The use of page 1 seems to
have something to do with it too.

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.

Any grand insights?
Thanks for the help
Chris Eddy
Pioneer Microsystems, Inc.

Attachment converted: wonderland:Oxy01.zip (pZIP/pZIP) (0000FD0B)

1998\01\15@193911 by andre

flavicon
face
Hi to all engineers.
I use to have crashing problem with  picmaster when I talked to
microchip engineer his name is DAN  MATUE i am not sure about spelling  he
solved the problem. I just replaced  the power supply with true 300 w
power supply.

1. check on logic probe jack see if you have 5.0 volts if it is 4.6 or even 4.7
that could be
the solution.

Andre

1998\01\15@233131 by tjaart

flavicon
face
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
spam_OUTtjaartTakeThisOuTspamwasp.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                 |
|_____________________________________________________________|

More... (looser matching)
- Last day of these posts
- In 1998 , 1999 only
- Today
- New search...