Mini2440 serial port timeout problem

elabbassy
dear sirs
I write a program to communicate with external IO board using serial port
'COM1'
but sometimes a timeout occurs even thou the program works fine when using
pocket pc 2003 SE emulator 
I am using vb2005. and Win CE 5.0 on the mini2440 board.

any help will be Appreciated.

thank you 
elabbassy