500 points for the first video

The new SDK online allows you to enable virtual serial port on USB while you are debugging on USB simultaneously!

Try it out and make a video. You will get 500 experience points if you show the first video.

A very basic video :slight_smile: had to do this in 15 mins flat (download, program, get it work and make the video)

A basic question.

How do I embed the video into the post ???

in your case it should be

the word video in square blacket follows by
the the word \video in square blacker

Did I miss something? I think Gus wanted a video where it shows how you are debugging and while stepping in the code in Visual Studio, you are able to print to the com port as well. Maybe step in code and see how it is printing a count variable for example 0, 1, 2…

Here is a video that show CDC and Debug at the same time :wink:

[url]- YouTube


Thanks for the info but I am not able to do it :frowning:


remove both the “_” to make it work.

Rajesh :clap:

Thanks Foekie

I could not figure that till now :slight_smile:

Thank you Rajesh and Robert.
You are a great support to FEZ and NETMF community. 8)

Thanks Josef, we do our best 8)

Here is FezTerm I did to use the new cdc feature. Kinda cool. View better in 720p on the video bar.

Will post FezTerm project next.

Was slow at the beginning but then it got very exciting! Looking forward to see the project page :wink:

Thanks Gus. I will try to speed it up next time.

Hello all,

Just played with this option today to see how it works
And i can see the results poping up into the comm terminal and i can walk trough the code.
But a Debug.Write(‘test’); that i added is not shown,

Do i miss a setting somewhere?


Debug.Write(‘test’); ?

This is the source code i used:

using System;
using System.Threading;
using Microsoft.SPOT;
using Microsoft.SPOT.Hardware;
using GHIElectronics.NETMF.FEZ;
using GHIElectronics.NETMF.USBClient;
using GHIElectronics.NETMF.Hardware;

namespace USBClient_Example
    public class Program
        public static void Main()
            OutputPort LED = new OutputPort((Cpu.Pin)FEZ_Pin.Digital.LED, false);
            USBC_CDC cdc = USBClientController.StandardDevices.StartCDC_WithDebugging();

            // Send "Hello world!" to PC every second. (Append a new line too)
            byte[] bytes = System.Text.Encoding.UTF8.GetBytes("Hello world!\r\n");
            while (true)
                    cdc.Write(bytes, 0, bytes.Length);

I expected the Debug.Print message in the output box of Visual C# to see. But it does not show at all.

If you step through the the code then you should see it

Tried that indeed, but then it is also not shown, sorry :wink: