mini6410 rs232 don't work.

Max_egodom3
Hi,
I made my own nk.bin in WIN CE6 R3.
I'm trying to use the only one rs232 serial port (with DB9 connector), but
don't work.
I verified kitl and debug settings, but no COM ports are used for debug
purpose (SMDK6410.bat).
Obviously I verified all settings in BSP, to include serial drivers.
And final, I verified registry setting directly in WINCE after start-up.
In HKEY_LOCAL_MACHINE\Drivers\BuiltIn\ I found:

HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial0 -- COM1
HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial1 -- COM2
HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2 -- COM3
HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial3 -- COM4

All registry keys settings seems to be ok.

I made a simple sw to test serial ports, and it show to me COM2,3,4,5 as
available. I can open com2,3,4 correctly but I can't send or receive data
with it.

PLEASE, someone have idea of what can I do?

Mindee
Please try the cross serial cable. The mini6410 use different serial cable
with mini2440/micro2440

Max_egodom3
Hi Mindee,
Thanks for your replay.
Unfortunately is not so simple.

I tested RS232, with a normal serial cable.
I have made a bridge between pin 2,3 (with a "jumper", over DB9 connector
on the other side respect the board connector). 
So what is going out via RX, came back immediately with TX, over the same
cable.

I tested this kind of connection with other boards, and all goes good. 
In the same way I have tested it over a normal PC using hypertherminal,
without problems.

As I wrote before, in mini6410, nothing happens.

thanks for other suggestions.

Max_egodom3
I made another test.

As I wrote before, When I use my simple sw, WINCE show me COM2,3,4,5.
Making a bridge between pin TX + RX, I found COM2,3,4 in white connectors,
in the back of light blue rs232 db9 connector in the board, with the same
name CON2,3,4.
When I try to open COM5, Wince raise an exception error.

Unfortunately wince doesn't recognize COM of DB9 connector.
It is possible that this connector is setted like COM0 and WINCE doesn't
show it?

Thanks again.

mindee
COM0 driver is not ready in WINCE , only COM1,2,3 now.

Max_egodom3
Hi mindee,
I understand.

So, do you know why I can't use rs232 trough  mini6410 db9 connector, under
WINCE6?

Please help me, my project is totally stopped.
Thanks again.

mindee
I dont understand what you said, sorry.

Max_egodom3
I tested RS232, with a normal serial cable.
I attached it in db9 (light blue) connector on the board.
I have made a "bridge" between pin 2,3, with a "jumper", on the DB9
connector on the opposite side respect the board connector (instead to
connect it to a PC).
With this bridge, what is transmitted via RX (pin2), will came back
immediately in TX (pin 3).
To do that i made a simple test software, to send and receive data via
rs232.

If I do it with others COM ports (white connectors), I receive back what I
send to RX, only in DB9 connector don't work.

Obviously I open a different com ports for tests in different connectors.

Max_egodom3
Hi mindee,
Perhaps I don't understand you....
You are telling me that in mini6410, I cannot use rs232 trough db9
connector, because there is no driver for COM0 in WINCE?
If this is the truth, there is no way to change COM0 in COM1 (for example),
so I can use rs232 via db9 connector?
Thanks again.

ToonCoolMan
I checked from website.

" Serial Driver: 3 (COM2, 3,4) "

http://translate.google.com/translate?js=y&prev=_t&hl=en&ie=...

Attila
Max_egodom3,
did you solve this problem?
I'm working on this too wit no success.

domodom
Hello, 
The COM1 port is not available with the actual BSP.
I partially solved the problem by changing the matching between physical
and logical serial ports : 
http://www.domodom.fr/spip/How-to-use-the-rs232-port-DB9.html?lang=en
domodom

Attila
domodom,
thanks, it works!

Blue Eyes
I also have a problem about using the COM1, COM2 and COM3 in WinCE 6.0 as
below:

- I made a simple VB.NET application to transfer data from the Mini6410 to
the PC, but when I run this application under WinCE 6.0, there is an error
IOException (the same error for COM1, COM2 and COM3).
- But when I run this application under the WinCE 6.0 image shiped in the
DVD, it works very well.
- Any one can show me: what do I need to check for building my own WinCE
6.0 image which can work with the COM1, COM2 and COM3 for the VB.NET?

Thanks so much!
Regards

Blue Eyes
Hi Max_egodom3,

- Follow what you wrote, it means you already successed in building your
own NK.bin in WinCE 6.0 R3 image, which can use with the RS232 in CON2,
CON3 and CON4 (white connectors)... is it right?
- Can you help me How to build the NK.bin image? I lost many time for
building this NK.bin, the building process always have the error "U1073:
don't know how to make 'C:\WINCE600\...\ufnmdd.lib'". 

If you have free time, please help me to solve this problem. Thanks so
much!
Blue Eyes

Goksu
Domodom,
I wanted to try your solution, but i couldn't change serial0 and serial1
keys. They don't have "edit" properties and when i changed keys, it's not
saved.
Please help me.

hassan
hi Mr.Dom,

i checked your post. and build a mini6410 image. but my image does not
start. it is stuck at bootlogo.