Home/Support/Support Forum/Debug remotely without using the JTAG LINK
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Debug remotely without using the JTAG LINK

0 votes

I want to know please how to debug remotely via network (TCP / IP) without using the JTAG?

We can integrate the gdbserver in NET + OS?

My development platform is the Digi ESP for NET + OS
The digi module is the connect ME 9210.

thank you for your help,
asked Dec 17, 2014 in NET+OS by slah07 New to the Community (0 points)

Please log in or register to answer this question.

2 Answers

0 votes

To be level with you, I have no idea how to integrate the gdbserver in NET + OS but is another way to obtain diagnostic messages through the network. On the project property you can choose: NET+OS and on the tab "Options" click bsp_sys.h and on the STDIO port choose UDP.
Now you can obtain your messages through UDP port (UDP port is presented in option UDP Debug port).
answered Dec 18, 2014 by pdiechtiarew New to the Community (1 point)
How to display diagnostic messages?
You should look for udpdb.exe (if you install netos on drive C path will be: C:\\netos75\bin\) In this software  you should type IP address your Digi Device as a parameter
0 votes

How do you define "debug". Are yo talking about single stepping, stepping into functions adn generally seeing source code or are you talking about just getting output from printf statements? If you are referring to the second, then pdiechtiarew's answer is quite on point. If you are talking about the first statement, then I do not believe there is anything supported. There is a serial debug capability, I believe it is documented, but not over tcp/ip.
answered Dec 18, 2014 by dakotas_dad Veteran of the Digi Community (694 points)