No USB connection to NetDcuA5, UNKNOWN DEVICE

  • I got a new NetDcuA5. I connected my Laptop to this board via the USB without any problem. Everything worked fine. After that I copied some files to the "FFSDIK" Folder and used the "WinNDCUCfg" to make some settings in the registry. I used the same setting which I used for the NetDcu8.
    After reboot, I could never get an USB Connection again. I always get the message "UNKNOWN DEVICE". After booting, the board hangs in a Programm which looks like an editor. There is a menu with "FILE EDIT HELP". Below the menu I can find the following text:


    Usage:
    services <command> <parameters>
    services help



    That is all. I can do nothing to leave it. My application does not start, the Laptop always says "UNKNOWN DEVICE" if I try to connect to the board via the USB.


    It is possible fo me to get a RS232 connection. I can see all the boot messages. The board reacts to sending an "S"



    This is a part of the settings I wrote into the registry:
    reg open \Init
    reg del value Launch80
    reg del value Depend80
    reg set value Launch100 string CheckAutoStart.exe
    reg set value Depend100 hex 1e,00
    reg set value Launch60 string services.exe
    reg set value Depend60 hex 14,00
    reg save
    reg open \system\ndcucfg
    reg set value Port string COM1:
    reg save
    reg open \Init
    reg set value Launch80 string \FFSDISK\SGener_3.exe
    reg set value Depend80 hex 32,00,14,00,1e,00
    reg save


    "SGener_3" is the application I wrote and I like to start.
    Maybe the "services.exe" is the root cause of all the trouble? I am not sure if I need it. It did not make any problens with the NetDcu8, but it might make trouble with the NetDcuA5?


    I would like to bring the NetDCUA5 back to the factory setup. When everything was new, I had no problems to connect to the board using the USB. So right now I only have the RS232 Connection to the boot loader. Is it possible to recall the factory setup via the RS232?


    THANK YOU
    Dirk

  • Quote

    Is it possible to recall the factory setup via the RS232?


    Step into the bootloader (hold shift+s and power on) and use command "R". This resets the registry to default. Please check which values you are edit before you do it! Maybe there are changes in the ordering and assignment.

    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.

  • THAT IS GREAT :thumbsup:


    I can communicate with my board via the USB again.
    I will carefully test my registry settings and find out the reason for that issue.


    But what is the "services.exe" for?
    Do I need it with the NetDcu8?
    Do I need it with the NetDcuA5?


    THANK YOU
    Dirk

  • I removed the "services.exe" from the registry entry "LAUNCH" of a NetDCU8. Now I get an USB Connection, but not an ACTIVE SYNC connection. It is impossible now to use the WInDcuCfg or to see files and folders on the board. Even the connection with Visual Studio ist not possible any more. I know, I need the Active Sync connection for this


    Do I need the "services.exe" for an Active Sync connection for the NetDcu8?


    What about the NetDcuA5 and "services.exe" ?


    THANK YOU

  • Quote

    But what is the "services.exe" for?


    This is an Interface to all Servers running on the board. You need them for all OS. But from CE5 to CE6 the handling was reorganized, refer http://msdn.microsoft.com/en-u…83(v=winembedded.60).aspx

    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.

  • Do you have an example for correct registry Setting for the NetDcuA5 as far as the "Service.exe" is concerned? I think, my problem is that the Services.exe is started while booting but not left. And as Long as the Service.exe is not left, I do not get an USB connection and my application is not startet.
    The registry settings I use know work with the NetDcu8 but not with the NetDcuA5. What do I have to change?


    reg open \Init
    reg del value Launch80
    reg del value Depend80
    reg set value Launch100 string CheckAutoStart.exe
    reg set value Depend100 hex 1e,00
    reg set value Launch60 string services.exe
    reg set value Depend60 hex 14,00
    reg save
    reg open \system\ndcucfg
    reg set value Port string COM1:
    reg save
    reg open \Init
    reg set value Launch80 string \FFSDISK\SGener_3.exe
    reg set value Depend80 hex 32,00,14,00,1e,00
    reg save

  • Why do you reedit the default?
    I would only edit the entry for my prgramm and use the default as starting point.


    So following may be enough:
    reg open \Init
    reg set value Launch80 string \FFSDISK\SGener_3.exe
    reg set value Depend80 hex 32,00,14,00,1e,00
    reg save


    The correct value for start Services.exe under CE6 is "servicesStart.exe" now (servicesStart.exe starts Services.exe:).

    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.