EMbitz
EBLink Debugger Problems - Printable Version

+- EMbitz (https://www.embitz.org/forum)
+-- Forum: EBlink (https://www.embitz.org/forum/forum-3.html)
+--- Forum: Using EBlink (https://www.embitz.org/forum/forum-6.html)
+--- Thread: EBLink Debugger Problems (/thread-46.html)



EBLink Debugger Problems - Droid32 - 06-08-2021

Hello,

currently i'm having some trouble with EBLink and debugging a nucleo board. (I tried with latest st-link fw and V2.J34.M25; I'm also using latest eblink 4.0.6)

When i try to connect, i get an network error
   

When i change from port 4242 to 4244 (just tried this one number), i can connect and my application runs.


But if i do anything in EB (Setting breakpoint, halting application etc), eblink crashes. (Error: Connection with target lost)
Code:
Exception condition detected on fd 580
Debugger finished with status 1

mfg


RE: EBLink Debugger Problems - embitz - 07-08-2021

This is most likely an OS problem. Check your ports which are already opened for listening by other applications.

I never had those errors, ever. Currently I'm working on new EBlink release which supports multiple core CPU's (like stm32H755) so there are multiple TCP servers active (for the stm32h755 two, one for every cpu) and still no problems with sockets.


RE: EBLink Debugger Problems - Droid32 - 07-08-2021

I could solve the port problem, but the debugger is still crashing  Sad

I updated all drivers and tried different usb ports. Im using Win10x64 20H2.

mfg


RE: EBLink Debugger Problems - embitz - 08-08-2021

If you google on "Exception condition detected on fd" then you will find a lot of issue reports with all kind of debug probes like, OpenOCD, Jlink, P&E etc.

That's explainable because we all use, more or less, the same network socket algorithms.

Is this for all your projects or is it project related?

e.g.
https://www.pemicro.com/forums/forum.cfm?forum_topic_id=5683
https://renesasrulz.com/e2studio/f/e2studio-forum/5631/debugger-disconnects-with-exception
https://www.gitmemory.com/issue/Marus/cortex-debug/319/665635069

P.s.
My Win10 version is currently 21H1 so that shouldn't be the problem.