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.
Photo

4.2.0.0 one-wire


  • Please log in to reply
10 replies to this topic

#1 lfrau_solofisa

lfrau_solofisa

    New Member

  • Members
  • Pip
  • 2 posts

Posted 06 November 2012 - 05:51 PM

Hi, (sorry for my english) I read a lot of topic abaut OneWire and the new version of firmware 4.2.0.0 (stable) that i change my version 4.1.0.6 and CW.NETMF.Hardware with the new 4.2.0.0 and i get the error: onewire not supported. I change the code to the new microsoft.spot.hardware.onewire.dll what i must to do?

#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 06 November 2012 - 05:58 PM

Hi lfrau_solofisa, For now, stick with 4.1.0.6 with the special OneWire firmware build. We're currently testing 4.2 with OneWire. We will provide a special build...but it's not out quite yet. Chris

#3 lfrau_solofisa

lfrau_solofisa

    New Member

  • Members
  • Pip
  • 2 posts

Posted 06 November 2012 - 05:59 PM

thank's, I back to 4.1.

#4 nickNetduino

nickNetduino

    Member

  • Members
  • PipPip
  • 12 posts

Posted 10 November 2012 - 12:27 AM

Chris, when you wrote that post a few days ago was it before Netduino Plus 2 was released? From the release notes it looks like then Plus 2 will support native Onewire out of the box?? "And because there's so much room in flash, we've added OneWire and Time Server directly into the NETMF firmware. We've left quite a bit of space for future features. " What version is the firmware with native support which I assume will not fit on a first gen Netduino Plus?

#5 KodeDaemon

KodeDaemon

    Advanced Member

  • Members
  • PipPipPip
  • 63 posts

Posted 10 November 2012 - 12:46 AM

What version is the firmware with native support which I assume will not fit on a first gen Netduino Plus?


The firmware on the Netduino Plus 2 is incompatable with the first gen Netdunio Plus.

#6 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 10 November 2012 - 01:02 AM

Chris, when you wrote that post a few days ago was it before Netduino Plus 2 was released? From the release notes it looks like then Plus 2 will support native Onewire out of the box?? "And because there's so much room in flash, we've added OneWire and Time Server directly into the NETMF firmware. We've left quite a bit of space for future features. " What version is the firmware with native support which I assume will not fit on a first gen Netduino Plus?

To add to what KodeDaemon said...

There are only a few KB of flash left on the original Netduino Plus, so we have to reduce the size of the code deployment sector to fit OneWire on there.

With Netduino Plus 2, there is over 100KB of extra space left for firmware features (and 384KB for your code on top of that). So we were able to add the NETMF OneWire feature there without any problems.

We're going to create a special build of NETMF 4.2 with OneWire for the original Netduino Plus. We'd like to wait a week or so and make sure OneWire is working properly on Netduino Plus 2 first, as it is really really hard to debug on Netduino Plus 1 if OneWire runs into any troubles.

Chris

#7 Michael Kincaid

Michael Kincaid

    New Member

  • Members
  • Pip
  • 3 posts

Posted 13 January 2013 - 04:18 PM

Hello - any news here? I've moved towards 4.2 version for my NetDuino, but did not expect that one of the most used feature - OneWire - would be missing. If there is no chance to have iot back in 4.2 (either special build or standaerd build) - there is no other possibility than to rollback to 4.1



#8 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 13 January 2013 - 05:30 PM

Hi Michael, We have been talking with CW2 about how we can incorporate OneWire into Netduino Plus. We're out of room after the new features in NETMF 4.2 are added in, but it looks like we can take out a bit of flash to include OneWire. He has some great ideas. In the meantime, you can roll back to the special 4.1 build with OneWire. The new Netduino Plus 2 has quite a bit more flash, so we were able to fit the OneWire and TimeService features in with lots of room to spare. Chris

#9 TalbotEv

TalbotEv

    New Member

  • Members
  • Pip
  • 7 posts

Posted 19 January 2013 - 02:48 PM

Any update on this, i'll love to use OneWire on NP1.

Is it a solution for u guys to build the OneWire as a seperate DLL and save that on the SD card and load it ?



#10 Michael Kincaid

Michael Kincaid

    New Member

  • Members
  • Pip
  • 3 posts

Posted 19 January 2013 - 07:39 PM

Thank You for the answer Chris,

 

as for now- I will revert to 4.1 (incl. 1-wire), as it is essential for my project.Still - is there a chance for 1-wire in 4.2? I'd really appreciate it.



#11 Michael Kincaid

Michael Kincaid

    New Member

  • Members
  • Pip
  • 3 posts

Posted 29 January 2013 - 09:27 PM

Small update regarding downgrade to 4.1.0.6 (special 1-wire build). Seems like it is not the option for me, I've converted the project to MF 4.1 (had my netduino flashed with tinybootloader 4.1, also flashed with 4.1.0.6 firmware) and how surprised I was to see, that tiny-essential line of code fetching IP address to print out on console - generates an Exception:

 

Debug.Write("IP: " + Microsoft.SPOT.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()[0].IPAddress.ToString());

 

No matter if I used DHCP option as before or set the static IP address.

 

Removing all the references and bringing them back in 4.1 version changed nothing.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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.