-
gpsim 0.24.0
Changing the Simulation Time format to e.g. "MilliSeconds" before configuring any PIC processor causes SIGSEGV on NULL pointer dereference of gpGuiProcessor->cpu. PATCH ATTACHED.
Easy to reproduce:
1. start up gpsim with no command line arguments
2. select the "Simulation Time" entry box
3. choose "MilliSeconds"
---> crash.
2010-01-06 02:39:24 UTC by kamalmostafa
-
sdattalo committed revision 2078 to the gpsim - The gnupic Simulator SVN repository, changing 1 files.
2009-12-27 16:12:44 UTC by sdattalo
-
Fixed by adding a definition for last_actual_register in the P18F452 class.
2009-12-27 16:10:45 UTC by sdattalo
-
sdattalo committed revision 2077 to the gpsim - The gnupic Simulator SVN repository, changing 1 files.
2009-12-27 16:04:05 UTC by sdattalo
-
The register memory size for the 18f452 in particular is incorrect. It shows up as 0x300 registers when it should be twice that.
I think the problem was introduced when Rob added the last_actual_register virtual method. The gui register window uses the RegisterMemoryAccess class to ascertain the memory size. I suspect that it's not getting initialized properly.
2009-12-26 18:16:35 UTC by sdattalo
-
The I/O ports on 18F devices have a "LATx" register that exposes the output latch without interference from pin states. GPSim handles this to the extent that writing the LATx register correctly updates the PORTx register and the corresponding pins. However, on a real PIC writing to the PORTx register will also set the LATx register, which GPSim does not currently do. The data sheet shows that...
2009-11-22 15:59:51 UTC by bdt-rob
-
bdt-rob committed revision 2076 to the gpsim - The gnupic Simulator SVN repository, changing 2 files.
2009-11-22 15:51:34 UTC by bdt-rob
-
fixed svn 2075.
2009-10-25 09:18:42 UTC by roy_r_rankin
-
roy_r_rankin committed revision 2075 to the gpsim - The gnupic Simulator SVN repository, changing 2 files.
2009-10-25 09:16:36 UTC by roy_r_rankin
-
The program memory size are wrong for 16f627/628/648. This causes a clash with the configuration word for the 16f648.
Problem an proposed patch submitted via e-mail by Tibor Palinkas.
2009-10-25 08:59:51 UTC by roy_r_rankin