Posts by Kaiser

    Hello,
    I tried your suggestion. All worked fine until now.
    Now I received the same error message like in the first message of this thread:

    Quote

    Die Remoteverbindung mit dem Gerät wurde unterbrochen...


    Completely the same behavior: Debugger is closed and display program hungs.
    COM-Port and network communication was active/opend but not used at the moment the interrupt occurred.


    I'm not wondering because the network connection was interrupted also with my first posts.


    I have also to mention, that network interrupts also occur in release mode (without use of USB).

    Hello,
    -update-
    Now I have another strange behavior. While debugging with visualStudio 2008 the tool Microsoft ActiveSync played sound and shows me that I'm not connected with display any more. But the connection to debugger is still there and I can break and debug as usual. After a few minutes the connection to debugger also broke down.

    Hello,
    I have to say that it happened again with versions mentioned above.
    Now program was running in debug mode and nothing has been done. No user input. Serial port was opened but no communication took place.
    Then the USB connection to debugger was interrupted.

    Hello,
    I have now updated the libmodbus to version 3.0.2 and the kernel to 1.27 (bootloader 1.39) but there is the same problem.
    This time the connection was interrupted while program start (and maybe connect to serial port) in debug mode without compile optimization.

    Hello,
    yes I'm using on COM2 a serial Modbus RTU protocol to connect to an external machine.
    Settings are 9600,8,1,None.
    For that I'm using the free libmodbus library in version 3.0.1. http://www.libmodbus.org/
    For tests with connection I use a Modbus RTU Server v1.1. This can be downloaded on several freeware hosters like
    http://www.brothersoft.com/modbus-rtu-server-292457.html
    However, I'm not sure if that's the reason because I can't reproduce it.

    Hello,
    I have to tell you that the debug version with complete optimization has the same problems.
    I had one interrupt after creating a connection by serial interface. But I can't reproduce that.Maybe that was only good/bad luck?
    I can't remember the earlier interrupts had something to do with my serial connections. But could this be possible/a reason?

    Hello,
    I have optimized the release version with "maximize speed" (/O2) which has caused network interrupts.
    The debug version was without optimization and had also caused usb and network interrupts.
    Now I'm testing debug version with "complete optimization" (/Ox). Will write later if it's better.

    I don't know how to help/support you. A sample would be my whole project - a bigger one. I try it now with a smaller tool and hope to get the same error but I don't use there a network connection - only debugging via USB. The sourcecode of the main program is the same as on NetDCU6 and I had there no problems.


    Interrupt happens irregular and occasionally - I can't reproduce it. Today I needed about 60min to get a lost connection. It is generally very short - after one second connection is there again (browse with ActiveSync works again), but Debugger was closed and program hangs (when debugging). In release version the program does not hang, but network connection is lost.
    Also the network connection works again quickly after interrupt. Unfortunately I have to close the socket of my program and open it again manually to continue communication. An automatic recognition of interrupted network connection is not possible.


    It seems that both (USB and network) are interrupted together.

    Hello!
    I'm using the the method CreateThread(), which generates threads with THREAD_PRIORITY_NORMAL priority by default. No change is done.
    I have approximated 2-4 threads with this priority and think this should not cause this problems?
    This threads are responsible for communication with CAN, COM and network.

    Hello,


    I'm using the kernel 1.26 and have often lost/interrupted connections with usb and tcp/ip.
    When I'm debugging via active snyc and USB it works for a while an then I often receive following message:

    Quote

    Die Remoteverbindung mit dem Gerät wurde unterbrochen. Ãœberprüfen Sie die Verbindung mit dem Gerät, und starten Sie das Debugging erneut.


    I get this message always, when I debug several minutes. My target device hangs then and I have to switch it off/on. Connection by USB cable is fine. Problem occurs on all NetDCU11 boards. It's very frustrating always when you are very close to detect an error, and the debugger is closed with mentioned message!


    I also have problems with network connections. They are often interrupted and my program does not recognize it. After close connection and open it again manually, connection works again for a while. I also found out that sometimes (after a new start) the network connection icon is very quick and shows a connected state immediately and sometimes it takes up to one minute to detect a connected state.
    With NetDCU6 boards there were no such problems.


    Best regards, Kaiser

    Hello,


    I'm posting a message as a broadcast (on latest kernel 1.26) and get 2 exceptions in debug output of NetDCU11.
    The complete post message looks like:

    Code
    1. BOOL bReturn = ::PostMessage(
    2. HWND_BROADCAST,
    3. WM_USER + 0x66,
    4. 1,
    5. 32);


    The result (bReturn) is 1, so no error accurred.
    Unfortunately I receive in debug output of NetDCU11 following:

    Code
    1. Exception 'Data Abort' (4): Thread-Id=053f0002(pth=83eb59a0), Proc-Id=04070002(p
    2. prc=81f903e4) 'explorer.exe', VM-active=04070002(pprc=81f903e4) 'explorer.exe'
    3. PC=00027f44(explorer.exe+0x00017f44) RA=0002673c(explorer.exe+0x0001673c) SP=000
    4. efb80, BVA=00000030
    5. Exception 'Raised Exception' (-1): Thread-Id=053f0002(pth=83eb59a0), Proc-Id=004
    6. 00002(pprc=81081308) 'NK.EXE', VM-active=04070002(pprc=81f903e4) 'explorer.exe'
    7. PC=c003bc10(k.coredll.dll+0x0001bc10) RA=8011e2c0(kernel.dll+0x000062c0) SP=d15b
    8. f370, BVA=ffffffff


    It seems that the reason is the LPARAM parameter 32. When I change it to 0, there is no exception.
    A change into MAKELPARAM(32, 0) does not help.


    Can I ignore that or is that a problem?
    On NetDCU6 that worked without exceptions!


    Thanks a lot in advance,


    Kaiser.

    Hello,


    I have to say that it works now.
    I don't know exactly why it works now - I have installed and rebooted the machine several times (with and without virus-scanner) and now it works. The main difference is the name in hardware manager. When it did not worked, the name was "NETDCU11", but now the name is "FSBoardUSB Driver".


    Thanks a lot anyway,


    Kaiser.

    Hello,


    the correct version (x86) is installed on WinXP 32bit.
    I have also tried to install FSBoardUSB.inf manually but without success.
    I have also tried several USB-ports - unfortunately also without success.
    Maybe our virus-scanner blocks something (Kaspersky)? But to test that I have to wait for our EDV-specialists.


    Best regards,


    Kaiser.

    Hello,


    I downloaded and instaled the USB-Loader tool.
    After installation I see the red button. After start NetDCU11 while pressing S in Terminal and Command "DU" installation of driver on WinXP ist started. Everything works fine until the end. I get the message "driver not installed successful". No logfile or reason is given. In hardware manager a yellow exclamation mark is visible. When I disconnect USB-cable and connect again, the exclamation mark is gone but red button in USB-Loader tool is still visible. When I double click in hardware manager on "NETDCU11" the message is shown "no driver installed".
    Don't know how I could install the driver properly.
    Someone any hints?


    Best regards,


    Kaiser.

    Hello,


    how can I update the bootloader from 1.35 to 1.39?
    On NetDCU6 I could type XWB with exact size of the bootlaoder in bootloader menu to upload a new bootloader, but
    on NetDCU11 this XWB command does not exist.


    Thanks a lot in advance,


    Kaiser

    Hello together,


    The problem still exists in the current kernel!
    When will be there a fix for this problem? Still waitin' for an update.



    Best regards,


    Kaiser

    Hello,


    seems to be a hardware defect. I changed the NetDCU board and with the new one everything works fine.
    In serial debug there is following output:


    Shoud I send it back to repair?



    Best regards, Kaiser