com 1 port usable?

  • Hi, i want to use COM1.
    so i dissabled debug info on com1


    and used this code:


    SerialPort _serialPort = new SerialPort("COM3", 9600, Parity.None, 8, StopBits.One);
    _serialPort.Handshake = Handshake.None;
    _serialPort.WriteTimeout = 500;
    _serialPort.Open();
    _serialPort.Write("Helo World!\r\n");
    _serialPort.Close();


    i see in the registry that UART1 = com3 right?
    that's why i'm using COM3 here.... (i tried them all...)


    nothing is recieved on the oter end (pc)
    Is UART1 freely usable?


    kind regards

  • Hello


    Quote

    but i have to kill netdcu process....

    you meant "ndcucfg" process. You can remove "ndcucfg" from autostart by remove the correponding registry entry under HKLM\Init.


    PS: by default
    UART1 -> COM3:
    UART4 -> COM1:
    do not modify this.

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

    Edited once, last by fs-support_ZU ().

  • Hello,

    Quote

    what is the function of the ndcucfg process?

    You never used this tool?
    It provides an easy interface to WCE Registry and other functionalities, like display, power, ... . Use "help" command for details.


    PS: you can launch this tool from every command line.

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Hello,


    we cannot know which Display, Networt enviromnent, ... a customer use. There are multitude of scenarios possible. So for start SW development it is quite easy to adjust these settings via serial instance of ndcucfg.
    Imagine you cannot see anything on your LCD and there is no Network Access ... .

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.