Page 1 of 1

LED program locks FC

Posted: Fri Nov 25, 2011 7:15 am
by CRAIG CHAMBERLAIN
I was doing the LED exercise in the intro course.
Trying to run a program to display 1234.

This would instantly lock the program, and could only be shut down by
ctr-alt-del, and cancelling in "applications running". Sometimes only resetting the computer.

I simplified to a single digit, and it does display, on the Sim anyway.

With 2 digits, the attached .fcf will run very erratically on the Sim.
and *similarly* on my QL200.
When I slowed down the program, even to 1 Hz, it would not jump from
command to command consistently, and would skip over commands.
But always stayed in the loop.


With 3 digits, it locks up.

I have my QL200 set up so that it can run the code in the instructional manual.
That is, Port A is connected to the LED's through the supplied switches.
On the board, it is set up to switch in Port D for the A-G segments, and DP.
I switched those off and connected in Port B.

The configuration word is the same as on my working programs, including an LCD
display. WDT, BOD, LVP, etc are all off. The crystal is set for the appropriate 4MHZ.

Ideas? Thanks,
Craig

Re: LED program locks FC

Posted: Fri Nov 25, 2011 8:48 am
by medelec35
Hi Craig,
This maybe the same issue as:
http://www.matrixmultimedia.com/mmforum ... =29&t=8988

Martin