This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

assabet LCD problem,


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]