gnupic: Re: [gnupic] error building gpsim extra graphic_lcd module


Previous by date: 30 May 2006 12:23:35 +0100 Re: [gnupic] gpsim, documentation, Nestor A. Marchesini
Next by date: 30 May 2006 12:23:35 +0100 Re: [gnupic] gpsim, documentation, Xiaofan Chen
Previous in thread: 30 May 2006 12:23:35 +0100 Re: [gnupic] error building gpsim extra graphic_lcd module, Scott Dattalo
Next in thread: 30 May 2006 12:23:35 +0100 Re: [gnupic] error building gpsim extra graphic_lcd module, Xiaofan Chen

Subject: Re: [gnupic] error building gpsim extra graphic_lcd module
From: "Xiaofan Chen" ####@####.####
Date: 30 May 2006 12:23:35 +0100
Message-Id: <a276da400605300423h3df92de1wd9d3e23644fdc98a@mail.gmail.com>

On 5/26/06, Scott Dattalo ####@####.#### wrote:
>
> I could duplicate this on one system. However, I'm away that computer now
> and unable to debug the problem (and I won't be able to get back to it for
> a few days). However, I did find some data members that were not getting
> initialized and this may be the cause. Also, there may've been a race
> condition between when GTK initialized a graphical element and the point
> where gpsim assumed it was initialized. I added a check for that. The code
> is in SVN.
>

With the latest SVN version of gpsim, the graphic_lcd module can be built
under Linux without any changes. However the segfault problem remains.

mcuee@ubuntu:~/Desktop/build/gpsim/gpsim/extras/graphic_lcd/examples$
gpsim -s glcd_test.cod

gpsim - the GNUPIC simulator
version: Release 0.21.12-pre


type help for help
**gpsim>
(gpsim:4270): Gdk-WARNING **: locale not supported by Xlib

(gpsim:4270): Gdk-WARNING **: cannot set locale modifiers
SimulationMode:52
Warning SSP Module is not implemented
FIXME: 16bit processor is assuming that PLL is on - should check config bits
Setting config word 0x300000 = 0xdeff
Setting config word 0x300002 = 0xffff
Setting config word 0x300004 = 0xfffb
Setting config word 0x300006 = 0xfffb
Setting config word 0x300008 = 0xbffc
Setting config word 0x30000a = 0xffff
Setting config word 0x30000c = 0xffff
FIXME:  HLL files are not supported at the moment
SSPCON1 is not implemented
SSPCON2 is not implemented
SSPSTAT is not implemented
SSPADD is not implemented
Program_Counter16::put_value 0x0
Enabling WDT  timeout = 0.018 seconds
pullup resistor or generic voltage source
 Attributes:
  .resistance - pullup resistance
  .voltage - pullup or drive voltage
 .capacitance - pin capacitance

pullup resistor or generic voltage source
 Attributes:
  .resistance - pullup resistance
  .voltage - pullup or drive voltage
 .capacitance - pin capacitance

0: p18f452 Execution at done(0x298)
    Message:*** PASSED LCD test
1: p18f452 Execution at 0x29c
    Message:*** FAILED LCD test
**gpsim> Widths 36 0 0 0
module_x 0, module widget size 316, 127
Widths 36 0 0 0
Widths 36 0 0 0
Widths 36 0 36 0
LCD update
Segmentation fault


Regards,
Xiaofan

Previous by date: 30 May 2006 12:23:35 +0100 Re: [gnupic] gpsim, documentation, Nestor A. Marchesini
Next by date: 30 May 2006 12:23:35 +0100 Re: [gnupic] gpsim, documentation, Xiaofan Chen
Previous in thread: 30 May 2006 12:23:35 +0100 Re: [gnupic] error building gpsim extra graphic_lcd module, Scott Dattalo
Next in thread: 30 May 2006 12:23:35 +0100 Re: [gnupic] error building gpsim extra graphic_lcd module, Xiaofan Chen


Powered by ezmlm-browse 0.20.