All Forums
 Microsoft Windows CE
 CE Drivers
 4bpp monochrome display on BitsyX
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

mcovert

5 Posts

Posted - 23 Feb 2006 :  13:22:11  Show Profile  Email Poster
We need to configure a 4 bpp mono display to operate on the Bitsyx. I configured the xscale lccr registers and the intel display registry keys as below:

[HKEY_LOCAL_MACHINEDriversDisplayIntel]
"CxScreen"=dword:140 ; 320
"CyScreen"=dword:F0 ; 240
"Bpp"=dword:04 ; for okaya

When I boot I get two new messages.

First is " Not support yet on 4 BPP.", which I would guess is the bootloader trying to display a splash.bmp that is incorrectlty installed, this I can live with.

The other a failure in the display driver memory initialization. The trace information is below:

Can you tell can the bitsyx support a 4 bpp monochrome display?

Thanks,
msc


Microsoft Windows CE Ethernet Boot Loader
Copyright (c) 2001 Microsoft Corporation
Copyright (c) 2001 Intel Corporation
Copyright (c) 2002~2003 ADS BitsyX Bootloader Ver (1.14)
(Built at 14:30:22 on Apr 19 2005)

Detected Ethernet(SMC91C111)
Reading Flash ...(from 0x100004 to 0x10d856)
Not support yet on 4 BPP.
CPLD Version = 0x9
DipSwitch = 0x3
BootSwitch = 0x8

Booting from Flash.
Reading Flash ...(from 0x200008 to 0x014d9410)

CE starts From DRAM(0x800
Windows CE Kernel for ARM (Thumb Enabled) Built on May 3 2005 at 14:03:22
ProcessorType=02d0 Revision=6
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 800b9170
Invalid configuration data 0x000000FF
Unable to initialize KITL Transports!
KITL Initialization Failed, No debugging support available
Sp=ffffc7cc
Initializing ADSLOAD.REG Parsing driver...ok
SMSC LAN91C111 WindowsCE.NET 4.1 (NDIS4.0) Driver V2.0 Build#1040803
FlashFX Disk Detected: Ver 5.10 (Build 492)
Audio: AC97 Codec Initialized.

SMARTIO Detected : PartType=0x8535 Firmware=0x0010 Revision=2
SMARTIO : SerialClockRate=10 KBits/S(0xa7).
Initializing USB Client Driver...ok
Initializing Legacy I2C Driver...ok
Initializing I2C driver v 1.0...ok
Initializing Digital I/O Driver...ok
Initializing PXA25x Display Driver... DispDrvrInitialize: Error from MapVirtualA
ddress
Data Abort: Thread=817b10cc Proc=814e9820 'gwes.exe'
AKY=00000011 PC=01684300 RA=0168426c BVA=0a000000 FSR=00000007
Data Abort: Thread=817b10cc Proc=814e9820 'gwes.exe'
AKY=00000011 PC=00054990 RA=0004cbe8 BVA=0a000008 FSR=00000007
ÿÿ

akidder

1519 Posts

Posted - 23 Feb 2006 :  14:47:29  Show Profile  Email Poster
Thanks for the notes. This looks like a CE display driver issue, so in deference to our Linux brethren, I've moved your post from the Hardware->Display Drivers forum to the CE Drivers forum.

I see you're using BitsyX boot 1.14. Can you also let us know which CE build you're using? We've created mono passive configurations in the past for the BitsyX, but maybe something has changed.
Go to Top of Page

vtk100

40 Posts

Posted - 23 Feb 2006 :  15:28:48  Show Profile  Email Poster
Hi mcovert,

We use the mono display 4bpp with the BitsyX (CE 4.10.X and CE 4.20.X) no problem. You should modify the following keys :

In the Adsload.reg

[HKEY_LOCAL_MACHINEDriversDisplayIntel]

"CxScreen"=dword:140 ; 320
"CyScreen"=dword:F0 ; 240
"Bpp"=dword:04 ; 4bpp
"Rotate"=dword:0 ; 0x5A=90,0x10E=270
"EnableMouseCursor"=dword:1

And in the Adsload.hwt

;display 320x240 passive Mono LCD
0x44000000 0x0010187A ;LCCR0
0x44000004 0x0101053f ;LCCR1
0x44000008 0x010104EF ;LCCR2
0x4400000C 0x0240FF1B ;LCCR3

Make sure that your display cable pinout (D0 D1 D2 D3) wired correctly.

Good luck.
Go to Top of Page

mcovert

5 Posts

Posted - 24 Feb 2006 :  07:37:29  Show Profile  Email Poster
Thanks to both akidder and vtk100 for your replies.

The above trace I got from the build I created from the binary bsp. But I flashed the NK.bin from 700115_0107e_bitsyx64_pro_ram_ce_4.20.17_20mib.zip and got the same exception. If i set bpp to 8 the dirver initializes but of course the display is blank

my registry entries are identical.

my xscale config registers are slightly different due to timing differences, but it's passive, 4bpp and 4 data lines.

Wehn you say make sure the cable is wired correctly, according to the xscale manual that in 4 bit monochrome use data lines ldd 0-3. these i've dired to data line 0-3 on the display. I assume that the xscale manual is correct, of course.

thanks again,
mark
Go to Top of Page

vtk100

40 Posts

Posted - 24 Feb 2006 :  09:43:06  Show Profile  Email Poster
Hi Mark,

The reason is the data come out from Bitsy X is:
pin 22 --> data 2;
pin 23 --> data 3;
pin 24 --> data 0;
pin 25 --> data 1.

So check your LCD spec again. If the pinout and timing are correct , it should work.
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.05 seconds. Snitz Forums 2000