CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

CCS-C Driver SED1335 (Powertip PG320240D-p5) is not working

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
The Puma



Joined: 23 Apr 2004
Posts: 227
Location: The Netherlands

View user's profile Send private message

CCS-C Driver SED1335 (Powertip PG320240D-p5) is not working
PostPosted: Sat Nov 03, 2007 5:05 pm     Reply with quote

I used the ccs-c driver that is included.
But this driver don't work.

Has someone got it worked??


Last edited by The Puma on Sat Nov 10, 2007 11:59 am; edited 2 times in total
The Puma



Joined: 23 Apr 2004
Posts: 227
Location: The Netherlands

View user's profile Send private message

PostPosted: Mon Nov 05, 2007 7:39 am     Reply with quote

Nobody has working with a S1D13305 +(SED1335) graphic lcd?
rnielsen



Joined: 23 Sep 2003
Posts: 852
Location: Utah

View user's profile Send private message

PostPosted: Mon Nov 05, 2007 9:42 am     Reply with quote

You posted your first request on Saturday, which could be thought of as a Holy day (meaning the weekend and a NON work day). You gave it almost a day and a half for responses which still fell inside of the weekend. Now, I, personally, don't check this forum on the weekend. I'm off doing fun things like doing the laundry, cleaning the house, mowing the lawn, digging in the garden and so forth.

Wait a couple more days and see if somebody has something to say. I've never played with graphic displays, yet, but have wanted to mess around with them. Hopefully somebody has something to contribute.

Ronald
The Puma



Joined: 23 Apr 2004
Posts: 227
Location: The Netherlands

View user's profile Send private message

PostPosted: Tue Nov 06, 2007 1:14 pm     Reply with quote

Question about the sample files in the CCS-dir

The driver files are:
graphics.c and sed1135.c

Where is the main file that uses this driver files???
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Tue Nov 06, 2007 4:50 pm     Reply with quote

The [spam] wrote:
Where is the main file that uses this driver files???
- Open Windows Explorer
- Go to C:\Program Files\PICC
- Right click on this directory name and select 'Search'
- Type in the second field: 'graphics.c'
The Puma



Joined: 23 Apr 2004
Posts: 227
Location: The Netherlands

View user's profile Send private message

PostPosted: Wed Nov 07, 2007 11:45 am     Reply with quote

@ckielstra

These files graphics.c and sed1335.c are the driver files.
But which file (in example directory) calls these driver files?

See EX_GLCD.C for example for ks0108 driver
amcfall



Joined: 20 Oct 2005
Posts: 44

View user's profile Send private message

PostPosted: Wed Nov 07, 2007 1:08 pm     Reply with quote

The [spam] wrote:
@ckielstra

These files graphics.c and sed1335.c are the driver files.
But wich file (in example directory) callsl these driver files?

See EX_GLCD.C for example for ks0108 driver


And if you do what he said it will show any files that include graphics.c. He gave you instructions on finding the info yourself.

Avery
The Puma



Joined: 23 Apr 2004
Posts: 227
Location: The Netherlands

View user's profile Send private message

PostPosted: Sat Nov 10, 2007 8:12 am     Reply with quote

I can't get the lcd to work

I get 5 vertical bars

Did anybody has to get to work this driver with a sed1335 compatible display???
The Puma



Joined: 23 Apr 2004
Posts: 227
Location: The Netherlands

View user's profile Send private message

PostPosted: Sat Nov 10, 2007 1:06 pm     Reply with quote

The initialising works.
I can switch the lcd on and off with glcd_power.

But i can get no text or graphics on it,
only strange chars

Is there a difference in memory allocation in the sed1335 and s1d13305 chip

Must i somewhere change
The Puma



Joined: 23 Apr 2004
Posts: 227
Location: The Netherlands

View user's profile Send private message

PostPosted: Sun Nov 11, 2007 11:04 am     Reply with quote

I have play with these parameters, and i get some "a" on my lcd
How can i get the correct parameters for my display

Code:
/////////////////////////////////////////////////////////////////////////
// The following defines setup the memory used by different regions
// Currenty one text area is defined at the beginning of memory
// and a graphics area follows immediately after
/////////////////////////////////////////////////////////////////////////
#define GLCD_TEXT_ADDR              0x0000
#define GLCD_GRAPHICS_ADDR          GLCD_WIDTH * GLCD_HEIGHT / 64
#define GLCD_GRAPHICS_ADDR_END      GLCD_GRAPHICS_ADDR + (GLCD_WIDTH * GLCD_HEIGHT / 8)
/////////////////////////////////////////////////////////////////////////
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group