Can't use Ethernet ENC28 with Cerberus when programatically trying to add it

Hi all,

I want to do a project with the enc28 ethernet module and the cerberus but have fallen at the first hurdle…

After seeing that you can’t add the module to the designer because of a bug I tried adding it programatically with the following line:

GTM.GHIElectronics.Ethernet_ENC28 ethernet = new GTM.GHIElectronics.Ethernet_ENC28(6)

But for some reason when I try and run this (with no other code whatsoever) I get the following error on that line:

Not sure in which array the index is out of bounds. Have I done something disastrously wrong?

Poncho

There are no Premium libraries on Cerberus.

http://ghielectronics.com/catalog/netmf-offer-types

The easy way forward here is that you firstly have to get rid of your Premium reference in your project, then you don’t need to add it to the designer, and you need to make sure you have the Ethernet firmware in place. Then, with all that, you don’t need to create a new instance, it’s already resident in the firmware.

We have this working now thanks all for the help.