Main Site Documentation

Accessing built-in ethernet on FEZ Cobra II Net


#1

Ok, embarassing newbie question:

How do I access the built-in ethernet port on a FEZ Cobra II NET mainboard?

There is no FEZ Cobra II NET mainboard option offered in the VS 2012 toolbox.

If I drop a FEZ Cobra II (WiFi) on the designer, there is no property or variable defined on the mainboard class for anything network.

I’m ready to connect the dots. Where are the dots? :stuck_out_tongue:

Thanks,
-Danny


#2

take a look at http://www.ghielectronics.com/docs/96/sd-card-module


#3

Ok, so the code to initialize the SD card system compiles in my FEZ Cobra II test project, but it doesn’t run in the VS 2012 device emulator. It throws a “Not supported” exception in the call to the PersistentStorage constructor:

 void ProgramStarted()
{
            Debug.Print("Program Started");

            var pStore = new PersistentStorage("SD");
            pStore.MountFileSystem();
            var vi = VolumeInfo.GetVolumes();
}

Is this expected? Premium libs can’t be used in the VS 2012 device emulator?

Thanks,
-Danny


#4

Hmm. So there is no way to “try before you buy”, to get a feel for the capabilities of the software architecture before buying hardware?

In particular, there is no way to get an interactive feel for the network capabilities of a Gadgeteer setup, because anything has has a network connection requires premium libs, and premium libs don’t work with the VS 2012 device emulator.

So if someone is coming into GHI cold with the intent to build a specific web service, there’s no way to see what the libs can actually do beyond the limited documentation?

Irritating.


#5

@ andre.m - Documentation only describes the contract of what the implementation is required to support. Documentation (especially from Microsoft) usually doesn’t cover nuances or tips about how a feature should best be used, what it is not appropriate for, or how this method fits into the larger picture. Microsoft docs are horrible for this.

I’ll just have to bug you folks with questions about what works and what doesn’t until I have enough of a picture to decide whether I can commit to Gadgeteer vs using other platforms such as Raspberry Pi.

I’d very much like to be able to implement my web services in C#, but if I have to give up everything I like about C# in order to do it, I might as well switch gears to C on some other platform. Mono on Android is another strong contender for C# goodness, with none of the .NETMF language constraints.