Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.

AlfaRomeo

Member Since 08 Dec 2011
Offline Last Active Dec 02 2012 01:34 AM
-----

Posts I've Made

In Topic: .NETMF V4.2 OneWire Class fails to work

01 September 2012 - 06:17 PM

Ok Folk´s... Now the DS2482-100 is working and reading ROM ID, but as I'm new with this platform, I don´t know how to represent an byte array in their components inside a String with hex pairs... anyone can help? Best regards for all,

In Topic: .NETMF V4.2 OneWire Class fails to work

30 August 2012 - 04:27 PM

Hi chris,

Thanks a lot!.. I think that meanwhile I could try with the DS2482-100 from maxim (i2c interface master 1wire) to implement a class to handle this device. I hope can finish this today and if it works fine, I will share this code to everyone and get any comments and improvements..

AlfaRomeo.



Hi AlfaRomeo,

OneWire is a new feature of .NET Micro Framework 4.2, but it's a bit too big to fit in the current flash sectors.

We're currently evaluating a "special build" which would reduce the available code space a little bit, but which would add in the OneWire feature.

Chris


In Topic: .NETMF V4.2 OneWire Class fails to work

30 August 2012 - 03:06 PM

Hi AlfaRomeo

Unfortunately there is not currently OneWire support for the 4.2 netduino firmware.
For the time being if you need one wire you have to use the 4.1 firmware with one wire support

Nak.


Hi, thanks for the soon reply!... According to chris walker, one of the ideas is to add OneWire Support with .NETMF v4.2...
but when you say that, i'm thinking that somehow there's no support. But why when you watch the MicroSoft.SPOT.Hardware there'e a dll called Onewire???...

Best regards,

In Topic: Nut/OS on netduino

24 December 2011 - 10:07 PM

Hi friend.

For Ethernet to work with Netduino, you should add a define statement to enable the emac driver in the file board.h located
in nut/include folder. So, the modification is like this:

/*
* Ethernet device.
*/
#if defined(CHARON2) || defined(XNUT_100) || defined(XNUT_105) ||\
defined(MMNET01) || defined(MMNET02) || defined(MMNET03) || defined(MMNET04) ||\
defined(ARTHERNET1)
#include <dev/nicrtl.h>
#elif defined(MMNET101) || defined(MMNET102) || defined(MMNET103) || defined(MMNET104)
#include <dev/lanc111.h>
#elif defined(ELEKTOR_IR1)
#include <dev/dm9000e.h>
#elif defined(OLIMEX_LPCE2294)
#include <dev/cs8900a.h>
#elif defined(AT91SAM7X_EK) || defined(AT91SAM9260_EK) || defined(MORPHOQ1) || defined(ENET_SAM7X) || defined(NETDUINO)
#include <dev/at91_emac.h>
#elif defined(EVK1100) || defined(EVK1105)
#include <dev/avr32_macb.h>
#endif

#ifndef DEV_ETHER
#include <dev/null_ether.h>
#endif
#ifndef DEV_ETHER_NAME
#define DEV_ETHER_NAME "eth0"
#endif

you need to define the netduino platform in the NutConfigurator and save it with a different name.
the template you should use is the board AT91SAM7X256-EK and change the processor size to the AT91SAM7X512.

After that, you should build the NUT/OS to take effect those changes.

Best Regards,
Alfonso.

PD: Merry Christmas...


Hello, I have just started trying to use Nut/OS on the Netduino plus with no success at networking.

On the web server example(httpd) I have verified that the code hangs on NutNetIfConfig(DEV_ETHER_NAME, mac, ip_addr, ip_mask).

-Doesn't work on either Nut/OS 4.1(Stable) or 5.0(latest beta).
-I'm using YAGARTO toolchain(GCC 4.6.2) and tools(v. 20100703).
-As IDE, I have CodeLite, although not really relevant.
-I'm compiling with SAM-BA 2.11(executing the flash boot script)
-This is my simple make batch script, which is used with default makefiles on each app directory:

set makeLocation=C:\ethernut-5.0\nutapp\httpd
set pathExtra=C:\ethernut-5.0\nut\tools\win32;C:\yagarto\toolchain\bin;

cd %makeLocation%
set PATH=%pathExtra%;%PATH%
make clean all install


::%SystemRoot%\explorer.exe "%makeLocation%
PAUSE

Please post some hints if you have managed to make Nut/OS work with N+ :(


In Topic: Netduino Plus / AT91SAM7X-EK compatibility

11 December 2011 - 07:29 PM

The NutOS works perfectly, without any tweaks. (Has a full ethernet stack.)


Good evening, can you please tell me how you did to configure NUT/OS to be compatible with netduino.

Best Regards,

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.