From: "Lewin A.R.W. Edwards" <larwe@larwe.com>
To: "Wilson Kwan" <wilson@kinesphere.com>
Cc: <ecos-discuss@sources.redhat.com>
Subject: Re: [ECOS] LCD on EP7211
Date: Wed, 31 Jan 2001 19:01:00 -0000 [thread overview]
Message-ID: <4.3.2.7.2.20010131214736.00b16450@larwe.com> (raw)
In-Reply-To: <009001c08be4$efd2d530$0b02a8c0@r2d2>
>same. I put your routine in and I still have the same problem. I get a bunch
>of horizontal lines on the screen when I execute the line
>
>*(volatile cyg_uint8 *)PDDR = LCD_INIT;
At this point the LCD and backlight are powered and enabled but the
controller isn't DMAing.
>When the line
>
>*(volatile cyg_uint32 *)SYSCON1 |= SYSCON1_LCDEN;
>
>runs I end up with alot of garbage on the screen. At this point when I try
At this point, the LCD controller starts generating sync and squirting data.
>to write to the display memory it seems to hang. GDB never returns and I
>have to kill the process.
For interest's sake, try doing memcmp(0, 0xc0000000, 0x60). If these bytes
are all the same then my theory is right about mem being mirrored.
>I also tried this with out 7212 board and the same problem occurs. Is there
>something in particular I need to set in my eCos configuration to make this
>work? I have enabled CYGHWR_HAL_ARM_EDB7XXX_LCD_INSTALLED.
Well, I'm using the Windows graphical config tool. All I did was enable
this option. Note also that I am using eCos 1.3.1, ie the latest "full
release" rather than a snapshot. LCD might be broken in the latest version.
Also check that the amount of installed RAM known to eCos is the same as
that installed on your board. (I don't know if there are multiple versions
of the board).
=== Lewin A.R.W. Edwards (Embedded Engineer)
Work: http://www.digi-frame.com/
Personal: http://www.zws.com/ and http://www.larwe.com/
"Und setzet ihr nicht das Leben ein,
Nie wird euch das Leben gewonnen sein."
next prev parent reply other threads:[~2001-01-31 19:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-31 14:43 Wilson Kwan
2001-01-31 14:49 ` Lewin A.R.W. Edwards
2001-01-31 15:10 ` Wilson Kwan
2001-01-31 15:19 ` Lewin A.R.W. Edwards
2001-01-31 16:20 ` Wilson Kwan
2001-01-31 19:01 ` Lewin A.R.W. Edwards [this message]
2001-02-01 22:26 ` Wilson Kwan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4.3.2.7.2.20010131214736.00b16450@larwe.com \
--to=larwe@larwe.com \
--cc=ecos-discuss@sources.redhat.com \
--cc=wilson@kinesphere.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).