gnupic: Re: [gnupic] error building gpsim extra graphic_lcd module
Subject:
Re: [gnupic] error building gpsim extra graphic_lcd module
From:
"Xiaofan Chen" ####@####.####
Date:
4 Jun 2006 11:23:02 +0100
Message-Id: <a276da400606040322w57bcb6d1xf9d7c701f8ab191e@mail.gmail.com>
> > On 5/31/06, Scott Dattalo ####@####.#### wrote:
> >> The good news (or bad news depending on your perspective), is that I can
> >> still duplicate the segv on my other system (my non-development system).
> >> I'll take a look at the problem on this system.
> >>
> >
> > The same problem happens under FC5.
>
Under my newly installed Ubuntu 6.06 AMD64 64-bit, the graphic
LCD module is working.
mcuee@ubuntu64:~$ uname -a
Linux ubuntu64 2.6.15-23-amd64-generic #1 SMP PREEMPT Tue May 23
13:45:47 UTC 2006 x86_64 GNU/Linux
mcuee@ubuntu64:~/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> 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
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
LCD update
The WDT is not enabled - clrwdt has no effect!
FIXME: CLRWDT for 16 bit processors
0x000000000112A87E p18f452 0x01E4 0xD80B rcall $+0x18 ;(0x001fc)
0x000000000112A87F p18f452 0x01FC 0xD800 rcall $+0x2 ;(0x001fe)
LCD update
LCD update
0x0000000001AB3EFF p18f452 0x01E6 0x6E8A movwf latb
0x0000000001AB3F00 p18f452 0x01E8 0xD809 rcall $+0x14 ;(0x001fc)
LCD update
LCD update
LCD update
LCD update
0x000000000501BCFE p18f452 0x01E8 0xD809 rcall $+0x14 ;(0x001fc)
0x000000000501BCFF p18f452 0x01FC 0xD800 rcall $+0x2 ;(0x001fe)
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