AT91RM9200-EK & BasicGraphicDisplay
- From: "triode+" <lafrechoux.j@xxxxxxxxxxxxxx>
- Date: Wed, 27 Jul 2005 02:20:23 -0500
Hi!
I'm trying to have the BasicGraphicDisplay sample (provided on Atmel CD
with the eval board) working on my board. I believe some of the examples
provided with the board only apply to the DK, not the EK. But since all
the hardware is here (clock generator and display controller), this one
should work.
When I ran the program, I received this message :
"ICS1523 Clock Generator Init failed"
After a few checkings, it appeared that an instruction failed in the setup
of the clock generator (ics1523.c) :
ack = AT91F_ICS1523_WriteByte ( ( unsigned char ) ICS_ICR, ( unsigned char
) 0 ) ;
by "failed" I mean ack = ICS1523_ACCESS_ERROR
it is the first instruction of that kind in the program. the others worked
fine : ack = ICS1523_ACCESS_OK
I found a workaround : I repeated the instruction twice. It looks just
like that :
ack = AT91F_ICS1523_WriteByte ( ( unsigned char ) ICS_ICR, ( unsigned char
) 0 ) ;
ack = AT91F_ICS1523_WriteByte ( ( unsigned char ) ICS_ICR, ( unsigned char
) 0 ) ;
This way, the first fails, but the second works fine. Anyway, "ICS1523
Clock Generator Init OK" is displayed on the debug port.
It should be alright then. Unfortunately, nothing is displayed on my
screen. In both cases (Init KO or Init OK) some frequencies are output by
the clock generator. But nothing seems to come out of the VGA port where
the screen is plugged.
Anyone had this sample working ?
Any help would be greatly appreciated.
Thanks
Jérôme
This message was sent using the comp.arch.embedded web interface on
www.EmbeddedRelated.com
.
- Follow-Ups:
- Re: AT91RM9200-EK & BasicGraphicDisplay
- From: A. P. Richelieu
- Re: AT91RM9200-EK & BasicGraphicDisplay
- Prev by Date: Re: Looking for help regarding debugging embedded software with MON 960 GDB
- Next by Date: Re: Looking for help regarding debugging embedded software with MON 960 GDB
- Previous by thread: GNUARM GCC 4.0 for Linux?
- Next by thread: Re: AT91RM9200-EK & BasicGraphicDisplay
- Index(es):