Serial port COM1 in c#

Gianni
Hi...
I'm programming in C# and doing tests on serial port. When I try to open
the COM1, my program throws an exception: can not find COM1.So I installed
a DeviceManager and I see these connected devices:
http://img195.imageshack.us/img195/6009/serialport.png.
Can tell me if it's possible to use serial port that is used with DNW?
Was I wrong to create the image with Platform Builder? thanks

Gianni
I inserted the image you find here
[url]http://www.andahammer.com/Downloads/mini2440-en.rar[/url] and once
installed I see COM1 COM2 COM3.So I think it's a mistake in my Platform
Builder.I installed [b]S3C2440a Serial Driver[/b] in Platform Builder, but
the problem remains.There is a [u]red X[/u] near [b]S3C2440a Serial
Driver[/b] in Platform Builder... Is it a problem?

suggestions?

thanks

Gianni
"Catalog item: S3C2440a Serial Driver

One or more platform settings are causing this catalog item to be exluded
from the image:
remove non-platform environment variable: BSP_NOSERIAL. The BSP may be
bringing in this variable automatically."

trexilhan
hi gianni;
did you resolve your com1 problems?

Gianni
yes, thanks

Uros
How did you resolve this problem? It told me "SERIAL_SMDK2410.DLL" file was
not referenced from the .bib file, so I went to the .bib file and changed
line 143 in platform.bib from "serial_smdk2440.dll" to
"serial_smdk2410.dll", then copied 2440 files to 2410 and built again.

now 2410 files seem to have been automatically cleaned up and build failed
with 4 errors.

Artur
I had that problem but I solved It:
there is a solving:


using System.IO.Ports;

  string[] serialPortList = SerialPort.GetPortNames();
  foreach (string item in serialPortList) listBox1.Items.Add(item);


And in my device I have COM2 COM3 and COM5

Diego
Hi Gianni, what did you do to solv the problem?

Diego