Main Site Documentation

Debug API


#1

Is there a API for interfacing the debug driver in other programming languages?

Kind regards


#2

Technically, you can compile any language to run on FEZ. This is a simple answer with very complicated answer.

What are you trying to do?


#3

I don’t want to use another programming language for getting intelligence in the FEZ domino.

I want to build a PC application that interfaces with the FEZ domino by use of the USB debug facilities. (So I want to use the FEZ DOMINO driver API)


#4

That is easy, you need a small application on FEZ to communicate with USB and does whatever you want it to do…control IOs…control peripherals…etc.

You are still giving us very very little information so the answer are not going to be very helpful!


#5

You don’t need to use the debug Api, instead you can use a serial connection through the USB port (Virtual serial port). You can send your data through the virtual serial connection.
If you want both, you can have a look at USBClientController.StandardDevices.StartCDC_WithDebugging http://ghielectronics.com/downloads/NETMF/Library%20Documentation/html/93fcfa03-228b-cbe4-e8a5-9a7a8f36cdf0.htm which gives you Debuging and Serial port over the same USB port at the same time.


#6

i could be misreading this too (we need a clearer picture!)

Is what you’re asking for a way to have a PC based application that “looks” like Visual Studio as in it can “be” the debugger for a USB connected device?


#7

My Telnet sample is example of doing this from a PC app (also my FezTerm on the project page does it also using a windows app with similar use of CDC).
http://www.fezzer.com/project/191/telnet-type-class-for-netmf/
Works over the existing debug interface using usb cdc. Once you get the virtual comm port, you can talk back and forth to the fez and do anything you want. You could also hookup a physical serial port if you don’t want the cdc stuff. The cdc is convient because the ports and cable are already attached.


#8

Oh yes! How did I forget about William’s code on fezzer :slight_smile:


#9

Thanks for the replies, it’s much clear for me at this point.