gnupic: Re: [gnupic] error building gpsim extra graphic_lcd module
Subject:
Re: [gnupic] error building gpsim extra graphic_lcd module
From:
"Xiaofan Chen" ####@####.####
Date:
25 May 2006 13:00:42 +0100
Message-Id: <a276da400605250500k58d7db26q5cbc02e50861823e@mail.gmail.com>
On 5/25/06, Scott Dattalo ####@####.#### wrote:
>
> There are no .stc files in the graphic_lcd/examples. All of the
> simulator configuration is built into the source files with gpasm .sim
> directives. Look at glcd_test.asm. Also, there is an update bug with the
> graphic LCD module. To refresh the LCD screen, you have to halt the
> simulation and click on the module.
>
Sorry I was looking at the Makefile and I though "make sim" would do
the job for me. It didn't.
I tried "gpsim -c glcd_test.cod" and there is no graphic LCD windows.
If I try the extras/lcd module, an LCD screen will pop up.
How should I test if my build of graphic_lcd is working?
mcuee@ubuntu:~/Desktop/build/gpsim/gpsim/extras/graphic_lcd/examples$ gpsim
gpsim - the GNUPIC simulator
version: Release 0.21.12-pre
type help for help
**gpsim>
(gpsim:27022): Gdk-WARNING **: locale not supported by Xlib
(gpsim:27022): Gdk-WARNING **: cannot set locale modifiers
SimulationMode:52
**gpsim> Warning SSP Module is not implemented
FIXME: 16bit processor is assuming that PLL is on - should check config bits
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
NSourcePage::setSource() - view=0x846c0c8
NSourcePage::setSource() - view=0x84834b8
Received button press for view 0x81e3a00
type=4 x=216,y=370
**gpsim> FIXME: CLRWDT for 16 bit processors
NSourcePage::setSource() - view=0x84b66e0
0x00000000014FB17E p18f452 0x01E2 0x948D bcf late,2,0
0x00000000014FB17F p18f452 0x01E4 0xD80B rcall $+0x18 ;(0x001fc)
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
...
Regards,
Xiaofan