This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
assabet LCD problem,
- From: Andrew Xiang <ahgu at yahoo dot com>
- To: ecos-discuss at sourceware dot cygnus dot com
- Date: Mon, 19 Nov 2001 07:48:14 -0800 (PST)
- Subject: [ECOS] assabet LCD problem,
- Reply-to: ahgu at yahoo dot com
When I write to the frame buffer, if I write too much
without a delay in between, it will crash the whole
system and reboot. I notice I had to put a
cyg_thread_delay(1) in the middle of the continous
write to the frame buffer in order to keep it from
crashing. But it makes the display a new image very
low. Anyone one had the same problem?
ex.
for(row=0;row<320;row++)
{
for(col=0;col<240;col++)
{
frame[row][col]=0;
}
cyg_thread_delay(1); //must have that to keep it from
not crash.
}
Note: I tried the same code on vxWorks, I did not have
the problem. Is that mean problem with ECOS?
-Andrew
__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com