how to build a win ce5 serial port program
how to build a win ce5 serial port program
Hello every one,
do sombody know how to build a serial port program in s3c2440 board ??
I want to sent ansistring out and read with the rs232 connector.
I hoop sombody can help me with it.
regards from identh
do sombody know how to build a serial port program in s3c2440 board ??
I want to sent ansistring out and read with the rs232 connector.
I hoop sombody can help me with it.
regards from identh
Re: how to build a win ce5 serial port program
What programming language are you using ?
In vb.net you simpyl make use of the SerialPort control.
In vb6 (with ce extension) again you make use of the Serial Port control.
In c# you instantiate the serial port control.
In vb.net you simpyl make use of the SerialPort control.
In vb6 (with ce extension) again you make use of the Serial Port control.
In c# you instantiate the serial port control.
Re: how to build a win ce5 serial port program
Hello Nicolas,
I want to build it in visual studio 2005.
Visual basic or in C#.
I am trying to get the comport working.
Put with any result.
I want to send and recieve on the rs232 conector.
Do you have maybe a program that I can compile ?
thank you for youre response.
I want to build it in visual studio 2005.
Visual basic or in C#.
I am trying to get the comport working.
Put with any result.
I want to send and recieve on the rs232 conector.
Do you have maybe a program that I can compile ?
thank you for youre response.
Re: how to build a win ce5 serial port program
With VB.Net, starts a new VB.Net project for Windows CE 5.0 (Visual Basic -> Smart Device - > Windows CE 5.0)
Then drag and drop the control to the form.
Set the port to '1' for COM1, and adjust the other settings accordinly; like baud rate.
Then write the code as youd normally write any serial port code.
Have you written any serial port code before ?
EDIT:
If you wish to communicate with the windows 'dnw' program set the baud rate to 115200.
If there is a real demand for a sample app, I may whip one up. Let me know if you cant get your code working.
Then drag and drop the control to the form.
Set the port to '1' for COM1, and adjust the other settings accordinly; like baud rate.
Then write the code as youd normally write any serial port code.
Have you written any serial port code before ?
EDIT:
If you wish to communicate with the windows 'dnw' program set the baud rate to 115200.
If there is a real demand for a sample app, I may whip one up. Let me know if you cant get your code working.
Re: how to build a win ce5 serial port program
I have build one a time ago, it also works on a vista version.
But if I want to use it on the arm board the comport is in use always.
Maybe thats te problem.
If you can get me a sample is also nice.
But if I want to use it on the arm board the comport is in use always.
Maybe thats te problem.
If you can get me a sample is also nice.
Re: how to build a win ce5 serial port program
Which Wince image are you using? the latest one ?
I found on some images, specially the latest ones, if KITL is enabled on uart0 then you cannot open it for use (unlike the older images where you could co-share the port) This may be why you are getting an error.
If you see debug output on DNW (or other serial program) when booting up the board, you have KITL enabled.
Try setting the com port to 2 or 3, and see if it opens.
If it opens then its probably my suspicion from above.
I found on some images, specially the latest ones, if KITL is enabled on uart0 then you cannot open it for use (unlike the older images where you could co-share the port) This may be why you are getting an error.
If you see debug output on DNW (or other serial program) when booting up the board, you have KITL enabled.
Try setting the com port to 2 or 3, and see if it opens.
If it opens then its probably my suspicion from above.
Re: how to build a win ce5 serial port program
I have the old version not the pocket version.
How can I change it ??
How can I change it ??
Re: how to build a win ce5 serial port program
What do you mean by pocket version ?
Re: how to build a win ce5 serial port program
I have te old model I think.
http://i216.photobucket.com/albums/cc21 ... 4001/2.jpg
Look the same like this one.
with the QQ2440V3 board.
the old ce version is programmed.
I don't know what the new version is on the ftp version for this one.
http://i216.photobucket.com/albums/cc21 ... 4001/2.jpg
Look the same like this one.
with the QQ2440V3 board.
the old ce version is programmed.
I don't know what the new version is on the ftp version for this one.
Re: how to build a win ce5 serial port program
Did you got the picture ??
Who is online
Users browsing this forum: No registered users and 16 guests