PicoCOM4 serial port registry entries.

  • Hi,


    Could someone explain the registry entries that are contained witih the serail port keys......


    [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2]
    "SysIntr"=dword:00000040
    "Index"=dword:00000002
    "DeviceArrayIndex"=dword:00000000
    "Irq"=dword:0000001c
    "MemBase"=dword:50000000
    "MemLen"=dword:00000030
    "InterruptBitsShift"=dword:00000000
    "ISTTimeouts"=dword:00000200
    "Prefix"="COM"
    "Dll"="pc4_serial_MS.dll"
    "Order"=dword:00000032
    "Priority"=dword:00000000
    "Port"="COM2:"
    "DeviceType"=dword:00000000
    "FriendlyName"="Serial Cable on COM2:"
    "Tsp"="unimodem.dll"
    "IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
    "DevConfig"=hex:\
    10,00,00,00,05,00,00,00,10,01,00,00,00,4b,00,00,00,00,08,00,00,00,00,00,00


    I am having trouble with the COM2 port after bootup but before I use the port, I need to control the initial settings before any applications are active. Would this be possible with DevConfig??
    Currently causing subsystem embedded device to constantly register FF's on UART when first powered up!! Need to control the tx pin to ensure its not in start bit posiiton.
    Cheers
    Rick

  • Quote from "rwalsh"

    Currently causing subsystem embedded device to constantly register FF's on UART when first powered up!! Need to control the tx pin to ensure its not in start bit posiiton.


    Just a guess: COM2: does not have RTS/CTS. So if you have these connected on your subsystem, they are open on the PicoCOM side. Hence these lines float and probably cause triggering of characters on the receiving line of your device. You must not use hardware flow control on this port.

    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.

  • Hi HK


    thanks for the reply but if I look at the J1 pin out for the PicoCOM4 it details the following:-


    Pin Sig Default Interface Starter Kit Interface
    13 IO0 IO0 COM2 TXD
    14 IO1 IO1 COM2 RXD
    15 IO2 IO2 COM2 RTS
    16 IO3 IO3 COM2 CTS
    17 IO4 COM1 TXD COM1 TXD
    18 IO5 COM1 RXD COM1 RXD


    COM2 can be used for both GPIO or UART so as I have an early prototype PicoCOM4 I think the registry needs configuring for boot conditions to make pins 13, 14, 15 & 16 satisfy UART requirements.
    I need to set COM2 to used the 4 pins.


    Cheers
    Rick