gnupic@linuxhacker.org

gnupic@linuxhacker.org


Subject: Error in gpsim: "Too many breaks are set on the cycle counter"
From: Gerardo Puga
Date: Wed, 20 Aug 2003 14:06:09 -0300

Running the pic program i´ve sent attached, the following steps will cause
gpsim (downloaded via anonymous cvs yesterday) to start writing "too many
breaks are set on the cycle counter" and stop responding to CTRL-C. The gui
will also
stop working. The program sample is a reduced version of a bigger program I
wrote, which shows the same behavior when the same sequence is followed.

From the gui, running in "realtime with gui", having started gpsim with
"gpsim -s test.cod" or "gpsim -p 16f84 test.hex", the sequence is:
    - click on run
    - click on stop
    - click on reset
    - finally, click on run again. Done, gpsim is dead; sometimes you have
to repeat the sequence twice before locking the program, it depends on
whether you started gpsim with the -p or -s command line arguments.

The following simpler program doesn´t cause the error, though
        org 0
    loop:
        nop
        nop
        nop
        goto loop
        END

Have a nice day! Great program!

Gerardo.-






["application/x-compressed" not shown]

gnupic@linuxhacker.org