Netdcu9 does not boot if serial interface RS232 is connected

  • Hello,


    we have already fixed a similar problem on NetDCU11 (V1.21) and we have already checked in the files for NetDCU9. But until now we have not released the kernel (V1.20). We want to include further features into the new release. So i please you to work/test with the attached driver.


    Any feedback is welcome.

    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,
    right, place driver into ffsdisk and modify value DLL under HKLM\Drivers\Builtin\serial<yourdesiredportnbr>.

    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.

  • Ok, i made it but nothing changed.


    I modified the registry that the Key "Dll" hast the value "\FFSDISK\n9_serial.dll".
    But i'm not sure if the driver is loaded, because after startup it is possible to delete the file.


    One other thing i forgotten to mention is that the kernel seems to be loaded and started but the display is not switched on.
    With the explorer i can parse the files on the device or use the remote registry editor and parse the registry after starting the
    device with connected serial interface.

  • Hello,
    - can you please post key value and whole registry entries?
    - can you also post serial debug output while booting?


    PS: Loaded driver should be listed under HKLM\Drivers\Active\XX

    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.

  • Boot messages:
    Microsoft Windows CE Ethernet Bootloader Common Library Version 1.1 Built Apr 16 2009 17:04:45
    Microsoft Windows CE Bootloader for NETDCU9 Built Apr 28 2009
    Portions copyright (c) 2007 F&S Elektronik Systeme GmbH
    Boot Loader, Version 1.36
    StepStone Loader, Version N912


    Create partition for boot section ... Success
    INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb
    pPWRRegs->rcsr=0x0
    System ready!
    Preparing for download...
    Press >S< to step into monitor...
    AUTO BOOT enabled
    +ReadKernelRegionFromNandFlash
    Image Signature in Flash Memory found (dwSig=0x43454345)
    TOC pointer=0x810D13B0


    ROMHDR (cTOC = 0x00fd13b0) ---------------------
    DLL First : 0x4001c001
    DLL Last : 0x40afc0aa
    Physical First : 0x80100000
    Physical Last : 0x810d3354
    Num Modules : 191
    RAM Start : 0x810e0000
    RAM Free : 0x810f7000
    RAM End : 0x84000000
    Num Copy Entries : 2
    Copy Entries Offset : 0x80727fe0
    Prof Symbol Length : 0x00000000
    Prof Symbol Offset : 0x00000000
    Num Files : 68
    Kernel Flags : 0x00000000
    FileSys RAM Percent : 0x40404040
    Driver Glob Start : 0x00000000
    Driver Glob Length : 0x00000000
    CPU : 0x01c2
    MiscFlags : 0x0002
    Extensions : 0x80101020
    Tracking Mem Start : 0x00000000
    Tracking Mem Length : 0x00000000
    Kernel read from flash disk started finished in 11000 milliseconds
    Kernel read from NAND
    INFO: OEMLaunch: Jumping to Physical Address 0xA01084D4h (Virtual Address 0x0h)...



    Windows CE Kernel for ARM (Thumb Enabled) Built on Oct 20 2009 at 18:39:19


    NetDCU9 V1.19 - Firmware Init
    Copyright (c) 2007 F&S Elektronik Systeme GmbH
    Build: Mar 22 2010/16:07:37
    INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb
    INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb
    OEM: Force clean boot.
    DCache: 32 sets, 32 ways, 32 line size, 32768 size
    ICache: 32 sets, 32 ways, 32 line size, 32768 size
    OEMInit: Set size of first SDRAM bank to = 64 MB
    HW-WATCHDOG: ENABLED
    Drivers\Builtin\Serial1 - OFF
    PM-NETDCU: STARTED
    OEM: Not cleaning system hive
    OEM: Not cleaning user profiles
    OEM: Not cleaning system hive
    ERROR: OALIoCtlHalGetDeviceInfo: Device doesn't support IOCTL_HAL_GET_DEVICE_INFO::SPI_GETUUID
    PIF: ActiveKey (copy) = Drivers\Active\19 (@ 0xD04DD6A0)
    DM9CE: DM9000/9000A/9010 driver v3.2.9
    DM9CE: StationAddress [ 00-05-51-02-64-50 ]
    CID: Version 103, ActiveKey = Drivers\Active\22
    BCS: Version 1.0, ActiveKey = Drivers\Active\35
    DIO: Version 1.8, ActiveKey = Drivers\Active\36
    AIN: Version 1.1, ActiveKey = Drivers\Active\37
    I2S: Version 1.4, ActiveKey = Drivers\Active\38
    Display-Mode: 100, Name Sharp LQ084S3
    SMIVGX - FrameBuffer Base = 0x10000000.
    SMIVGX - Register Base = 0x13E00000.
    Error Opening reg key Drivers\Display\SMIVGX\MONITOR0
    Display-Mode: 0, Name Sharp LQ084S3
    SMIVGX: Detect Card
    SMI: m_pLAW = 0xD0C40000
    SMI: m_pREG = 0xD1430000
    Backlight mode can't be read from registry. Defaulting it to enabled state
    GetLCDcontrast: read contrast value: 0x0
    GetLCDcontrast: dwDefaultContrast=0x0, contrast=0x0
    MATRIX: matrix keyboard is OFF.
    TCHPDD: Version 1.3, Key = HARDWARE\DEVICEMAP\TOUCH
    TCHPDD: EnableTouchscreen PASSED
    NDCUCFG V: 040 started. Platform: NETDCU9
    CreateFile() failed -> ERROR COM1:



    Registry entries:
    Built in drivers:
    [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial1]
    "Flags"=dword:00000004
    "Dll"="\\FFSDISK\\n9_serial.dll"
    "Irq"=dword:00000016
    "SysIntr"=dword:0000001d
    "MemBase"=dword:40100000
    "MemLen"=dword:00000040
    "DeviceArrayIndex"=dword:00000080
    "Prefix"="COM"
    "Index"=dword:00000001
    "IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
    "Order"=dword:00000000


    [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial1\Unimodem]
    "Tsp"="Unimodem.dll"
    "DeviceType"=dword:00000000
    "FriendlyName"="Serial Cable on COM1:"
    "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


    [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2]
    "Dll"="\\FFSDISK\\n9_serial.dll"
    "Irq"=dword:00000015
    "SysIntr"=dword:0000001c
    "MemBase"=dword:40200000
    "MemLen"=dword:00000040
    "DeviceArrayIndex"=dword:00000081
    "Prefix"="COM"
    "Index"=dword:00000002
    "IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
    "Order"=dword:00000000


    [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial3]
    "Dll"="\\FFSDISK\\n9_serial.dll"
    "Irq"=dword:00000014
    "SysIntr"=dword:0000001b
    "MemBase"=dword:40700000
    "MemLen"=dword:00000040
    "DeviceArrayIndex"=dword:00000082
    "Prefix"="COM"
    "Index"=dword:00000003
    "IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
    "Order"=dword:00000000


    Active drivers:
    [HKEY_LOCAL_MACHINE\Drivers\Active\02]
    "BusName"="BuiltInPhase1_0_2_0"
    "InterfaceType"=dword:00000000
    "BusParent"=dword:d02ab160
    "Key"="Drivers\\BuiltIn\\Serial2"
    "Name"="COM2:"
    "Hnd"=dword:d02abdc0


    [HKEY_LOCAL_MACHINE\Drivers\Active\03]
    "BusName"="BuiltInPhase1_0_3_0"
    "InterfaceType"=dword:00000000
    "BusParent"=dword:d02ab160
    "Key"="Drivers\\BuiltIn\\Serial3"
    "Name"="COM3:"
    "Hnd"=dword:d02acd20

  • Hello,


    Driver under "Serial1" is dísabled (serial debug is on!):

    Code
    1. Flags"=dword:00000004


    Other drivers seems to be loaded. You can delete the driver file in ffsdisk? A problem may be that the value "order=0" because flash driver must be loaded before serial drier in flash can be loaded. Please do increase the order value (about 100). Does the problem now still persist?

    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 released new kernel (V1.21). Please use this kernel for your tests.

    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.

  • Sorry for confusion,
    we released new V1.21 (new kernel date) which contains the driver.

    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,


    I make a little summary what we have done.
    First the symptoms:
    We are connecting the serial interface with the PC and starting then the NETDcu. The FPGA on our Mainboard is not
    starting then. Without connecting to the serial interface the FPGA is starting like expected.
    The reason for not starting:
    The FPGA is using three pins D1, D3 and D4 from the FS-Bus. They are used at power up of the netdcu for configuring
    the FPGA and the FPGA is expecting on all three pins an HIGH-Signal. So what we don't understand were is the connection
    between serial interface and the FS-BUS? Could it be a problem with the signal-levels?
    Are pins from the FS-Bus also used for the serial interface?
    Is it connected with the driver?

  • Thanks,
    we received your oscilloscope pictures from the startup phase. And we see that the "wrong signal" starts very early. So we can not prevent it from bootloader or kernel. You have to protect you FPGA with an external HW.

    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.