WinCE driver for LCD-W35i

bpapineau
Hi,

Just received a Mini with a LCD-W35i on it.

My WinCE images (for X35, T35 and N35) doesn't work properly (color bar on
one side and desktop appear 90 degrees clockwise) and there's no define in
C:\WINCE600\PLATFORM\Mini2440\SRC\INC\option.h for W35 LCD screen.

Does anyone figure it out?

Regards,
Benoit

bpapineau
Hi again,

I found a solution. On the DVD that comes with the Mini, there's a option.h
file that contains some usefull src.

So I added these lines in C:\WINCE600\PLATFORM\Mini2440\SRC\INC\option.h

//Around all other LCD define
#define LCD_W35 

Somewhere in the same page
#elif defined(LCD_W35)
#define LCD_WIDTH 320
#define LCD_HEIGHT 240

And in C:\WINCE600\PLATFORM\Mini2440\SRC\INC\s3c2440a_lcd.h

#elif defined(LCD_W35)

#define PROGRESS_BAR_TOP    220
#define PROGRESS_BAR_LEFT    20
#define PROGRESS_BAR_WIDTH  280
#define PROGRESS_BAR_HEIGHT  6

#define LCD_PIXCLOCK 4

#define LCD_RIGHT_MARGIN 0x44
#define LCD_LEFT_MARGIN 0x04
#define LCD_HSYNC_LEN 0x01

#define LCD_UPPER_MARGIN 10
#define LCD_LOWER_MARGIN 4
#define LCD_VSYNC_LEN 1

#define LCD_CON5 ((1<<11) | (1<<8) | (1<<9) | (1<<0) )

Everything is working good now...

Regards,
Benoit

Julio
Hi bpapineau!

I can use this solution on WINCE 5? Is the same thing?

Thanks...

Júlio.

stereo_m
So is there a new W35 LCD shipped with new mini2440's from now on? Do you
have any more specs about it (maker, model..). Does it say W35 on the front
plastic bezel?

bpapineau
Hi stereo_m,

Yes, it does say W35 on the front and it says LCD-W35i on the PCB where the
LCD connect to.

I'm still looking for specs, but as far as I can see, it looks to be a LED
backlight.

For Júlio, I never tried for WinCE 5.

Regards,
Benoit

Ashish Gaurav
hi Everybody
I got my Arm 3.5 board(with W3.5 LCD) one week ago, but could not able to
create wince image using mini2440 bsp. Always i am getting some error. I
have changed few lines also for W3.5 LCD in option.h and s3c2440a.lcd.h,
but still getting the same error. here are the error list:

Error  1  Catalog Id "StringTable:MS:Deviceemulator:1041" duplicated in
files
"C:\WINCE600\platform\DEVICEEMULATOR\catalog\1041\deviceemulatorstrings.pbcxml"
and
"C:\WINCE600\platform\Mini2440\catalog\1041\deviceemulatorstrings.pbcxml"
with equivalent version numbers.  Ignoring second record (file
"C:\WINCE600\platform\Mini2440\catalog\1041\deviceemulatorstrings.pbcxml").
 C:\WINCE600\platform\Mini2440\catalog\1041\deviceemulatorstrings.pbcxml  0

Error  2  Catalog Id "StringTable:MS:Deviceemulator:1033" duplicated in
files
"C:\WINCE600\platform\DEVICEEMULATOR\catalog\1033\deviceemulatorstrings.pbcxml"
and
"C:\WINCE600\platform\Mini2440\catalog\1033\deviceemulatorstrings.pbcxml"
with equivalent version numbers.  Ignoring second record (file
"C:\WINCE600\platform\Mini2440\catalog\1033\deviceemulatorstrings.pbcxml").
 
C:\WINCE600\platform\Mini2440\catalog\1033\deviceemulatorstrings.pbcxml  0

Error  3  ENDIF expected.  C:\WINCE600\PLATFORM\Mini2440\FILES\platform.bib
 236

Error  4  ENDIF expected.  C:\WINCE600\PLATFORM\Mini2440\FILES\platform.bib
 236

Error  5  ENDIF expected.  C:\WINCE600\PLATFORM\Mini2440\FILES\platform.bib
 236

Error  6  ENDIF expected.  C:\WINCE600\PLATFORM\Mini2440\FILES\platform.bib
 236

Error  7  ENDIF expected.  C:\WINCE600\PLATFORM\Mini2440\FILES\platform.bib
 236

Error  8  ENDIF expected.  C:\WINCE600\PLATFORM\Mini2440\FILES\platform.bib
 236

Error  9  ENDIF expected.  C:\WINCE600\PLATFORM\Mini2440\FILES\platform.bib
 236

Error  10  ENDIF expected. 
C:\WINCE600\PLATFORM\Mini2440\FILES\platform.bib  236

Error  11  ENDIF expected. 
C:\WINCE600\PLATFORM\Mini2440\FILES\platform.bib  236

Error  12  ENDIF expected. 
C:\WINCE600\PLATFORM\Mini2440\FILES\platform.bib  236

Error  13  ENDIF expected. 
C:\WINCE600\PLATFORM\Mini2440\FILES\platform.bib  236

Error  14  ENDIF expected. 
C:\WINCE600\PLATFORM\Mini2440\FILES\platform.bib  236

Error  15  ENDIF expected. 
C:\WINCE600\PLATFORM\Mini2440\FILES\platform.bib  236

Error  16  ENDIF expected. 
C:\WINCE600\PLATFORM\Mini2440\FILES\platform.bib  236

Error  33  error C2065: 'ResponseR7' : undeclared identifier  
C:\WINCE600\PLATFORM\Mini2440\SRC\DRIVERS\SDHC\SDHCBASE\.\sdiocontrollerbase.cpp



 1211

Error  34  error C2051: case expression not constant
C:\WINCE600\PLATFORM\Mini2440\SRC\DRIVERS\SDHC\SDHCBASE\.\sdiocontrollerbase.cpp



 1211

Error  35  error C2051: case expression not constant
C:\WINCE600\PLATFORM\Mini2440\SRC\DRIVERS\SDHC\SDHCBASE\.\sdiocontrollerbase.cpp



 1312

Error  36  BLDDEMO: There were errors building OSDesign2  




Please Help me to get rid of these error.
Regard
Ashish Gaurav

phil
hi Ashish Gaurav

first try to compile an winCE image, without any modification of any file..
just select your components when you build the image..

like that, you will validate your PB6.0 installation ....

you can select the right LCD int the bootloader with terminal on PC..

regards

Ashish Gaurav
Hi Phil

Thank you for responding. I tried this also but same error is coming. I am
sured that my PB6.0 has installed perfectly because i am able to create
wince image for default device emulator and its working fine. But i am
getting those error every time when i build image for minni2440 bsp(for any
of the LCD). 
Could you please send me the exact mini2440 BSP for winCE6.0 which you have
build earlier to my mail id aashish_garv@yahoo.co.in

I have also reinstalled everything to another PC, but same error is coming.

Any comments and suggestions are welcomed.
regards

phil
you can create image for default emulator , it's a good start !..
but that don't say that work with your BSP !...

before do any modification in the config files, try with the original BSP
and your board, not for an emulator !

sorry i don't work anymore with the 2440, can't provide a good BSP.

regards
phil

grjgrj
Hello. I have same problem. I have mini2440 this LCD-W35i display and a
can't install WINCE 6.0. If I use image for X35, T35 and N35 i get display
whith bad orientired (halp display I can't see) :(
Please help me I you can!

Ashish Gaurav
hi grjgrj

have you build new wince image or you are using given wince image on DVD
came with mini2440?
If you are not creating new image then you can find all necessary file of
LCD-W35i in DVD.

regard

semrex
i think you are building the solution(F6).
try to build just the OSDesign(Shift+F6).