aamiralikhoja
Member level 5
Ecp Help
Dear Fellows.
I am working on Ecp Port Project Port ECP Works Fine . I am taking data
from microcontroler at 16Bytes/Sec and storing it in memory buffer. after
storing, I am writting data to hard disk this programm works fine in dos using
watcom c compiler but data is lost when running in windows 98 ,using visual c
compiler. I am using P-3 PC. Iam using following psedo code.
Checking Fifo full flag in my visual c programm after Fifo filled . i read fifo through following code
do
{
do
{
}while(!fifofull);
for(i =0;i<16;i++)
buffer[i+j] = inport(fifiaddr);
j = j +16
}}while(buffer ! full);
where buffer is 1MB memory.
How to store and process data in such conditions in MS Windows. How to
optimized this code . I heared data Ecp can trasfer data at IMBits/Sec How
it can be done.pleas reply.
Dear Fellows.
I am working on Ecp Port Project Port ECP Works Fine . I am taking data
from microcontroler at 16Bytes/Sec and storing it in memory buffer. after
storing, I am writting data to hard disk this programm works fine in dos using
watcom c compiler but data is lost when running in windows 98 ,using visual c
compiler. I am using P-3 PC. Iam using following psedo code.
Checking Fifo full flag in my visual c programm after Fifo filled . i read fifo through following code
do
{
do
{
}while(!fifofull);
for(i =0;i<16;i++)
buffer[i+j] = inport(fifiaddr);
j = j +16
}}while(buffer ! full);
where buffer is 1MB memory.
How to store and process data in such conditions in MS Windows. How to
optimized this code . I heared data Ecp can trasfer data at IMBits/Sec How
it can be done.pleas reply.