chipKIT® Development Platform

Inspired by Arduino™

Having trouble with chipKITEthernet? Use DNETcK instead

Created Tue, 07 Feb 2012 15:30:45 +0000 by username


Tue, 07 Feb 2012 15:30:45 +0000

Headline says it all.

I was going a little crazy with heap issues (my application would need to be significantly refactored to not use dynamic memory allocation) where it would run for a while and then endup with an address exception. Further, I saw a behavior that looked a lot like the read buffer was overwritten with the 'middle' of a packet...

I switched to the DNETcK UDP library and things have been MUCH BETTER since!

One of the benefits is for higher bandwidth applications like mine, this library no longer drops packets when there is adequate buffer to store them.

DNETcK does differ from the Arduino APIs and is more 'explicit' about the different states of your network stack, but this is probably a good thing and if someone really wanted to they could put an Arduino compatible wrapper around it.

Thanks Keith!


Tue, 07 Feb 2012 16:10:25 +0000

Thanks for the kudos.

I am very glad this is working out for you. That was our intent.