public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] EDB7212 LCD support
@ 2000-11-28 23:52 Fano Ramparany
  2000-11-29  6:51 ` Lewin A.R.W. Edwards
  0 siblings, 1 reply; 5+ messages in thread
From: Fano Ramparany @ 2000-11-28 23:52 UTC (permalink / raw)
  To: eCos Disuss

Has anybody extended the LCD support provided in eCos 1.3.1 for Cirrus
Logic
EDB7212 board to display grey level images on the screen?
This is not specific to eCos, but I don't know other mailinglists
dedicated to
EDB72XX board developments.

Fano Ramparany


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] EDB7212 LCD support
  2000-11-28 23:52 [ECOS] EDB7212 LCD support Fano Ramparany
@ 2000-11-29  6:51 ` Lewin A.R.W. Edwards
  2000-11-29  7:09   ` Gary Thomas
  2000-11-30  2:41   ` Fano Ramparany
  0 siblings, 2 replies; 5+ messages in thread
From: Lewin A.R.W. Edwards @ 2000-11-29  6:51 UTC (permalink / raw)
  To: Fano.Ramparany; +Cc: ecos-discuss

Hi Fano,

>Has anybody extended the LCD support provided in eCos 1.3.1 for Cirrus
>Logic EDB7212 board to display grey level images on the screen?

Where did you find information on how to use the LCD support at all? 
Basically the only info I've found is a note in the configuration utility 
that says that enabling LCD support allocates 128K of RAM. Thus far I have 
no idea where that RAM is, is there a symbol that points to it?

I presume that the way to get grayscale is to enable LCD support (which 
allocates the full 128K of RAM for the LCD frame buffer) then manually poke 
the LCD controller registers for the desired LCD size and bit depth.

Our system is driving a 320x240 color display, which is effectively a 960 x 
240 grayscale display, so I will have to solve the same problem myself.


Lewin A.R.W. Edwards (Embedded Engineer)
Got any Commodore 16 or VIC-20 hardware, cartridges, tapes?
Visit http://www.larwe.com/vintage/
================================================
Work: http://www.digi-frame.com/
Personal: http://www.zws.com/ and http://www.larwe.com/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] EDB7212 LCD support
  2000-11-29  6:51 ` Lewin A.R.W. Edwards
@ 2000-11-29  7:09   ` Gary Thomas
  2000-11-30  2:41   ` Fano Ramparany
  1 sibling, 0 replies; 5+ messages in thread
From: Gary Thomas @ 2000-11-29  7:09 UTC (permalink / raw)
  To: Lewin A.R.W. Edwards; +Cc: ecos-discuss, Fano.Ramparany

On 29-Nov-2000 Lewin A.R.W. Edwards wrote:
> Hi Fano,
> 
>>Has anybody extended the LCD support provided in eCos 1.3.1 for Cirrus
>>Logic EDB7212 board to display grey level images on the screen?
> 
> Where did you find information on how to use the LCD support at all? 
> Basically the only info I've found is a note in the configuration utility 
> that says that enabling LCD support allocates 128K of RAM. Thus far I have 
> no idea where that RAM is, is there a symbol that points to it?
> 
> I presume that the way to get grayscale is to enable LCD support (which 
> allocates the full 128K of RAM for the LCD frame buffer) then manually poke 
> the LCD controller registers for the desired LCD size and bit depth.
> 
> Our system is driving a 320x240 color display, which is effectively a 960 x 
> 240 grayscale display, so I will have to solve the same problem myself.

Look at the sources.  There are sample/test programs for the LCD which show
you how to set it up for the 320x240 grayscale LCD that comes standard with
the Cirrus Logic eval boards.  The rest is up to you and the documentation.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] EDB7212 LCD support
  2000-11-29  6:51 ` Lewin A.R.W. Edwards
  2000-11-29  7:09   ` Gary Thomas
@ 2000-11-30  2:41   ` Fano Ramparany
  2000-11-30  6:14     ` Gary Thomas
  1 sibling, 1 reply; 5+ messages in thread
From: Fano Ramparany @ 2000-11-30  2:41 UTC (permalink / raw)
  To: Lewin A.R.W. Edwards; +Cc: ecos-discuss

Lewin,

Basically there is a mapping between the LCD frame buffer
and a predefined portion of the RAM, which lets you write/read
in the LCD frame buffer as if you write/read in the RAM.
This mechanism is clearly described in the Cirrus Logic
Datasheet DS474PP1 that they ship you with the board in the
section 3.14 "LCD controller with support for on chip frame
buffer" at page 46 . There is also a description of how you could
program the LCD controller (screen dimensions, nb. of bits
per pixel, refresh rate,...) in section 3.14 "LCD Registers" at
page 79.

The eCos lcd_support.c file can be found in
...\RedHat\eCos\package\hal\arm\edb7xxx\v1_3_1\misc

I've done a quick (not dirty yet;-) extension for
displaying greylevel images I can send you if you want.

Fano


"Lewin A.R.W. Edwards" wrote:

> Hi Fano,
>
> >Has anybody extended the LCD support provided in eCos 1.3.1 for Cirrus
> >Logic EDB7212 board to display grey level images on the screen?
>
> Where did you find information on how to use the LCD support at all?
> Basically the only info I've found is a note in the configuration utility
> that says that enabling LCD support allocates 128K of RAM. Thus far I have
> no idea where that RAM is, is there a symbol that points to it?
>
> I presume that the way to get grayscale is to enable LCD support (which
> allocates the full 128K of RAM for the LCD frame buffer) then manually poke
> the LCD controller registers for the desired LCD size and bit depth.
>
> Our system is driving a 320x240 color display, which is effectively a 960 x
> 240 grayscale display, so I will have to solve the same problem myself.
>
> Lewin A.R.W. Edwards (Embedded Engineer)
> Got any Commodore 16 or VIC-20 hardware, cartridges, tapes?
> Visit http://www.larwe.com/vintage/
> ================================================
> Work: http://www.digi-frame.com/
> Personal: http://www.zws.com/ and http://www.larwe.com/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] EDB7212 LCD support
  2000-11-30  2:41   ` Fano Ramparany
@ 2000-11-30  6:14     ` Gary Thomas
  0 siblings, 0 replies; 5+ messages in thread
From: Gary Thomas @ 2000-11-30  6:14 UTC (permalink / raw)
  To: Fano Ramparany; +Cc: ecos-discuss, Lewin A.R.W. Edwards

On 30-Nov-2000 Fano Ramparany wrote:
> I've done a quick (not dirty yet;-) extension for
> displaying greylevel images I can send you if you want.
> 

Or possibly share them with the list?  Depending upon circumstance,
we [the eCos team] can integrate them into the mainline or add the
files to our contributed area.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2000-11-30  6:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-28 23:52 [ECOS] EDB7212 LCD support Fano Ramparany
2000-11-29  6:51 ` Lewin A.R.W. Edwards
2000-11-29  7:09   ` Gary Thomas
2000-11-30  2:41   ` Fano Ramparany
2000-11-30  6:14     ` Gary Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).