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


Previous by date: 30 May 2006 13:44:43 +0100 Re: [gnupic] gpsim, documentation, Xiaofan Chen
Next by date: 30 May 2006 13:44:43 +0100 Re: [gnupic] gpsim, documentation, Scott Dattalo
Previous in thread: 30 May 2006 13:44:43 +0100 Re: [gnupic] error building gpsim extra graphic_lcd module, Xiaofan Chen
Next in thread: 30 May 2006 13:44:43 +0100 Re: [gnupic] error building gpsim extra graphic_lcd module, Scott Dattalo

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

On 5/30/06, Xiaofan Chen ####@####.#### wrote:
> 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.

Now I can build the extra modules under Windows and it seems to
work at the first glance.

Regards,
Xiaofan

The running log under Windows:

gpsim - the GNUPIC simulator
version: Release 0.21.12-pre


type help for help
**gpsim> 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 37 0 0 0
module_x 0, module widget size 316, 126
Widths 30 0 0 0
Widths 30 0 0 0
Widths 31 0 31 0
LCD update
FIXME: CLRWDT for 16 bit processors
0x000000000243D57E p18f452 0x01E6 0x6E8A movwf  latb
0x000000000243D57F p18f452 0x01E8 0xD809 rcall  $+0x14  ;(0x001fc)
0x00000000039386FE p18f452 0x022E 0xDFD9 rcall  $-0xfb4 ;(0x001e2)
0x00000000039386FF p18f452 0x01E2 0x948D bcf    late,2,0
  Read: 0x0000 from late(0x0F8D)
  Wrote: 0x0000 to late(0x0F8D) was 0x0000
SSPCON1 is not implemented
SSPCON2 is not implemented
SSPSTAT is not implemented
SSPADD is not implemented
TMR2 BUG!! value = 0 which is greater than 0xff
Program_Counter16::put_value 0x100
Enabling WDT  timeout = 0.018 seconds
SSPCON1 is not implemented
SSPCON2 is not implemented
SSPSTAT is not implemented
SSPADD is not implemented
TMR2 BUG!! value = 0 which is greater than 0xff
Program_Counter16::put_value 0x0
Enabling WDT  timeout = 0.018 seconds
0x0000000003938700 p18f452 0x0000 0xD11A bra    $+0x236 ;(0x00236)
0x0000000003938701 p18f452 0x0000 0xD11A bra    $+0x236 ;(0x00236)
  Wrote: 0x0000 to pclath(0x0FFA) was 0x0000
  Wrote: 0x0000 to pclatu(0x0FFB) was 0x0000
  Wrote: 0x0000 to stkptr(0x0FFC) was 0x0000
  Wrote: 0x0000 to tosl(0x0FFD) was 0x0030
  Wrote: 0x0000 to tosh(0x0FFE) was 0x0002
  Wrote: 0x0000 to tosu(0x0FFF) was 0x0000
  Wrote: 0x0010 to status(0x0FD8) was 0x0000
  Wrote: 0x0018 to status(0x0FD8) was 0x0010
0x0000000003938701 p18f452 0x0000 0xD11A bra    $+0x236 ;(0x00236)
0x0000000003938703 p18f452 0x0236 0xDFC4 rcall  $-0xf8a ;(0x001c0)
0x0000000003938704 p18f452 0x01C0 0x9292 bcf    trisa,1,0
LCD update
LCD update
LCD update
LCD update
LCD update
LCD update
LCD update
LCD update
LCD update
LCD update
LCD update
LCD update
LCD update
LCD update
LCD update
LCD update
...

Regards,
Xiaofan

Previous by date: 30 May 2006 13:44:43 +0100 Re: [gnupic] gpsim, documentation, Xiaofan Chen
Next by date: 30 May 2006 13:44:43 +0100 Re: [gnupic] gpsim, documentation, Scott Dattalo
Previous in thread: 30 May 2006 13:44:43 +0100 Re: [gnupic] error building gpsim extra graphic_lcd module, Xiaofan Chen
Next in thread: 30 May 2006 13:44:43 +0100 Re: [gnupic] error building gpsim extra graphic_lcd module, Scott Dattalo


Powered by ezmlm-browse 0.20.