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.

Chris Walker's Content

There have been 606 items by Chris Walker (Search limited from 14-May 23)


By content type

See this member's


Sort by                Order  

#63194 Updating DateTime From Router/Gateway on statrup

Posted by Chris Walker on 18 June 2015 - 01:07 AM in General Discussion

Cool. Thanks for sharing this with us, Tridy!



#60820 Updated SDK: Netduino SDK 4.3.1 (November 2014)

Posted by Chris Walker on 01 December 2014 - 04:22 AM in Visual Studio

Hi SupraBitKid,

Sorry about that; the link should be fixed now :)

Thanks for trying out the new SDK!

Chris



#60829 Updated SDK: Netduino SDK 4.3.1 (November 2014)

Posted by Chris Walker on 01 December 2014 - 08:57 PM in Visual Studio

Dr Who,

The installer is on our Azure CDN. If for some reason it isn't publishing properly to your local CDN endpoint, just replace "cdn." with "www." in the URL and you should be good to go.

Regarding the Dalek...we keep him around to keep us calm and focused during marathon engineering sessions.


Chris



#60818 Updated SDK: Netduino SDK 4.3.1 (November 2014)

Posted by Chris Walker on 30 November 2014 - 11:47 PM in Visual Studio

For those of you who have been waiting to move to NETMF 4.3.1, we've just posted a cool update to the Netduino 4.3.1 SDK. :)

Download Netduino SDK 4.3.1 (November 2014)

Updates in this release
  • Single installer now supports both Visual Studio 2012 and 2013 (including Express editions)
  • Preliminary support for Visual Studio 2015 (alpha)
This updated SDK should work with both the .NET MF 4.3 QFE1 an .NET MF 4.3 R2 (beta) releases.

Chris



#61354 Updated MFDeploy tool with IPv6 support

Posted by Chris Walker on 25 January 2015 - 09:09 AM in Netduino.IP Technical Preview

We have updated MFDeploy, polishing the Networking Configuration options and adding in IPv6 support.

Here is what Network Configuration options looked like in MFDeploy before today:
mfdeploy_old.gif

And here is what Network Configuration options look like in the revised MFDeploy app:
mfdeploy_new.gif

There were some confusing options surrounding IPv4 that we cleaned up. As one example, to automatically assign DNS server addresses before it was necessary to enter "0.0.0.0" for the DNS server addresses. That wasn't necessarily intuitive. Now...just select the "Obtain DNS server address automatically" option button. Simple.

And for hardware that supports IPv6, an extra "IPv6" tab will automatically appear. It looks like this:
mfdeploy_new_ipv6.gif

While we built Netduino.IP as an IPv4 stack, we're working on adding in IPv6 support during the Technical Preview (courtesy of code we're writing for a commercial product...that we're able to open source). This new IPv6 settings tab in MFDeploy gives us what we need to configure the IPv6 side of Netduino.IP.

BTW it is also technically possible to have a device that supports only IPv6 (and which communicates with IPv4 devices using IPv4-mapped IPv6 addresses). We're converting Netduino.IP into a hybrid dual-stack IPv4/IPv6 implementation that can also be used in single-stack mode...so we will need to revisit MFDeploy in the future to enable _just_ IPv6 settings for "pure IPv6" devices.

The IPv6-enabled build of MFDeploy (based on the NETMF 4.3.1 SDK) is attached to this post.

You can also find the source for the IPv6-enabled MFDeploy tool in the Netduino repository:
https://github.com/n.../Tools/MFDeploy

Please give this updated tool a try and let us know what you think.

Thanks!

Chris

Attached Files




#62629 Unable to deploy: No debugger on device

Posted by Chris Walker on 12 May 2015 - 05:07 PM in Netduino 3

Hi Stefaan,

Let's get you up and running here.

The Netduino 3 mainboards are pre-programmed as Netduino 3s in OTP, so if you are getting "STM Device in DFU Mode" the most likely scenario is that your USB cable is worn out. There are other possibilities, but after doing a lot of insertion/removal cycles we have found that eventually those cables do wear out. [And if there's trouble communicating, Netduino Update won't be able to figure out what kind of board you have and will show 0 OTP cycles remaining.]

Can you try this for me really quickly?
1. Remove the MicroUSB cable from your PC and Netduino
2. Attach the cable to your Netduino 3.
3. Press the pushbutton on your Netduino 3 and then plug the USB cable into your computer.

Does that make the board show up for you in Netduino Update?

There is a backup procedure, in case the above doesn't work. If you grab a copy of the STDFU tools, we can help you manually erase your board, convert the .S19 HEX files to .DFU files, and then flash them onto your board. That's the old way of flashing, but it still works.

Chris



#61348 UDP support in MF 4.3.

Posted by Chris Walker on 24 January 2015 - 08:07 AM in Netduino Plus 2 (and Netduino Plus 1)

Hi ukkiwisurfer,

It may be multicast that's an issue here, rather than UDP.

If you drop the multicast option, can you create a socket alright?

BTW, we're working on a shiny new networking stack for .NET Micro Framework. More info here:
http://forums.netdui...hnical-preview/

We'd love your help testing out the new stack over the next few months as we publish progressive builds.

Welcome to the Netduino community,

Chris



#63289 UARTS

Posted by Chris Walker on 28 June 2015 - 07:20 PM in Netduino Plus 2 (and Netduino Plus 1)

Hi Tim,

All UARTs on Netduino Plus 2 (and Netduino 3) use 3.3V logic. They are also 5V tolerant.

Chris



#63082 UART Modules

Posted by Chris Walker on 08 June 2015 - 09:25 PM in General Discussion

Hi tridy,

Alright, so, here are the question:
 
1. if a module says UART and it is 5V, is it really guaranteed to work directly with Netduino TX/RX?
2. Are there any specific details that point out that it might not work with Netduino?
3. If it says for Arduino and is UART, would that actually mean it will work with Netduino as well?


1. If a module uses 5V UART, those signals should work with Netduino since Netduino's digital IO pins are 5V tolerant. As long as the module can recognize 3.3V signals as binary "1" bits you're good. Just check with the manufacturer to make sure it will recognize 3.3V IO signals.

2. Most UART modules will work fine. Just make sure they support a baud rate that Netduino supports and that they support 3.3V signal levels. It's fine if they output 5V signals.

3. If the module says it works with Arduino (including the 3.3V Arduinos such as Arduino Due) it should be compatible with Netduino as well, electrically speaking.

for example this module:
433M Arduino Wireless Serial Data Communication Kit RF Module UART RS232 AVR PIC


Ah...that one is RS-232 level (-15V to 15V), so you'll want to use an RS232 to TTL serial converter. We're working on an RS-232 module for Netduino that will do just that...but it won't ship until later this summer. In the meantime check out FTDI RS232 level converters.

Chris



#63161 Trying to communicate with a 24LC256

Posted by Chris Walker on 15 June 2015 - 09:29 PM in Netduino 2 (and Netduino 1)

Hi kiwi65,

Are you using the built-in I2C feature of NETMF...or software I2C?

Chris



#61837 Troubleshooting Memory

Posted by Chris Walker on 10 March 2015 - 07:27 PM in Netduino Plus 2 (and Netduino Plus 1)

Hi bgreer5050,

What kind of metric/test are you looking for, regarding efficiency? Generally speaking, using extra RAM doesn't hurt your project--unless you need it for something else. It's going to be filled with "empty data" and consume power if you don't use the RAM.

BTW, if you're building something which needs to run for very long periods of time and handles lots of data, we generally recommend pre-allocating RAM using class-scoped variables. That way memory is only allocated from the remaining heap--and the GC is only activated--for things which need temporary memory allocation.

Chris



#61852 Trouble finding pins,gpio

Posted by Chris Walker on 12 March 2015 - 08:37 PM in Netduino Plus 2 (and Netduino Plus 1)

Hi philrem,

Did you create a Netduino Plus 2 Application (from the project templates) to start your project?

If not, no worries. You can add the "SecretLabs.NETMF.Hardware.Netduino.dll" assembly via project references. Then just add the following line of code up top:
using SecretLabs.NETMF.Hardware.Netduino;
The Pins. enumeration is a member of this class.

Does that get you up and running?

Welcome to the Netduino community,

Chris



#63543 TLS Crypto algorithm support questions

Posted by Chris Walker on 15 July 2015 - 05:43 PM in Netduino 3

Hey KiwiDev,

Interesting. It's possible that the CC3100 disables obsolete crypto methods by default. There are quite a few crypto options and modes that can be optionally enabled/disabled...so this may be a case where we can expose an API to do so from managed code.

This is an SNI SSL website?

Quite a few folks use Netduino 3 Wi-Fi with Azure regularly (including yourself) so we know things work well there...but it is possible that Microsoft uses different security configs in different parts of the system.

Quick question: would you have time to load debug firmware and step into System.Net.Security, to pull the actual SocketException ErrorCode (or SSL error message)?

SSL/TLS is a big beast with lots of complications--but we chose defaults on Netduino 3 that should make it super-easy to use in most circumstances (similar to navigating to a secure site through a browser). Let's figure out what's up and try to do the same for this site.

Chris



#63712 Time In Netduino 3

Posted by Chris Walker on 29 July 2015 - 11:55 PM in Netduino 3

Hi bgreer5050,

With NETMF on Netduino, the clock resets when the board is rebooted.

We typically ping an NTP time server as part of startup in applications.

Would a "time" module (with a coin cell battery holder) that remembers time between reboots and when the board is unpowered?

Chris



#61451 Threading in Netduino2

Posted by Chris Walker on 02 February 2015 - 02:41 PM in General Discussion

Hi xmen,

Do you only have two threads running (main, sleeping...and the I2C thread)?

In theory both threads should have the same priority.

In the end...do what works well. But if you're seeing strange behavior and we can reproduce it consistently, let's pull Microsoft into the conversation for a potential NETMF vNext performance boost.

Chris



#61419 Threading in Netduino2

Posted by Chris Walker on 31 January 2015 - 09:22 AM in General Discussion

Hi xmen,

Try to keep threads asleep unless they are actively doing something.

Do you have any "spinning loops" occupying 100% of MCU?

Chris



#61471 Things we can learn from GHI

Posted by Chris Walker on 02 February 2015 - 08:29 PM in General Discussion

Hey Juzzer, we love what you're doing with Netduino and NETMF. Thanks so much for sharing.

Netduino is all about building great things together, sharing and showing off our accomplishments.

As a general rule, we don't censor things here unless we get complaints or unless posts seem like advertisements. We just ask that folks keep things civil and support each other which is generally not a problem.

There are communities out there for people who want to tear others down; that's not you, and that's not us...so we're all good :)

Chris



#61389 The future of Netduino

Posted by Chris Walker on 27 January 2015 - 07:20 PM in General Discussion

Hi Joseph,

There's a lot of "new" going on with Netduino. The new NETMF 4.3.1 R2 SDK just shipped...and the shiny new Netduino.IP networking stack is now in technical preview.

We'll have a lot of new bits to share this year that will make your Netduino even better.

BTW, a lot of the community members here like you read the posts but don't pitch in except to ask for advice or help. With 10,000s of registered community members and many more watching from the sidelines...there are a lot of good folks to hang out with and build things together with here.

Welcome to the Netduino community!

Chris



#62581 Temperature or Temperature & Humidity?

Posted by Chris Walker on 10 May 2015 - 06:52 PM in Netduino Go

Hey Nevyn,

Thanks so much for sharing your experiences here, and for building such cool stuff.

More streamlining and simplification to come...

Chris



#62551 Temperature Logging

Posted by Chris Walker on 09 May 2015 - 05:03 PM in Netduino 3

Hi Nevyn,

Very cool; thanks for posting this!

I think that one of my favorite things...is how simple it was to get up and running--especially with an online, SSL-based datalogging service. :)

Chris

P.S. BTW, your STM8S blog has been a pretty invaluable resource as we have been working on the new GoBus 1.5 firmware for STM8S. Thank you so much for hacking, blogging and doing so much cool stuff with Netduino.



#63599 System.NotSupportedException

Posted by Chris Walker on 21 July 2015 - 09:46 PM in Netduino Plus 2 (and Netduino Plus 1)

Hi cSharper,

Do you get this exception when you create a simple "add number in a loop and debug.print the value" type of hello world app?

Also...what board are you using, which version of firmware, and which version of the SDK?

Welcome to the Netduino community!

Chris



#61260 System.Net.Web exception in request.GetRequestStream()

Posted by Chris Walker on 14 January 2015 - 07:32 AM in Netduino Plus 2 (and Netduino Plus 1)

Hi Sambeet,

Can you access the service via HTTP instead of HTTPS? There's no support for SSL on Netduino Plus 2 in today's firmware.

Also, you may want to add a "check to make sure my board has an Internet address" bit of code up top if you're using DHCP...in case it takes a few seconds to obtain and resolve an IP address from your router.

Chris



#62667 System.Exception when I now run my code after upgrade to 4.3

Posted by Chris Walker on 14 May 2015 - 07:44 AM in Netduino 3

Hi riann,

It looks like the update is installed properly (4.3.2.1 firmware, built on 4.3.1 NETMF core). So that's a good start.

If you run a simple blinky app, does everything work as expected?

I'm wondering if one of the assemblies loaded into your project has a static constructor which is causing a conflict.

Also, to confirm: the exception happens before your first line of code executes, correct? If you start the program with single-stepping, can you step "into" the exception?

Chris



#62658 System.Exception when I now run my code after upgrade to 4.3

Posted by Chris Walker on 14 May 2015 - 01:03 AM in Netduino 3

P.S.

Also, as a diagnostic: can you erase your app really quickly (using the Settings > Tools feature of Netduino Update)?

I know that sounds like a funny request...but it may fix the issue. We once experience an odd scenario which we haven't been able to reproduce since--but where assemblies from two deployments get mixed up. Erasing the current app or reflashing the board should get it back into a known-good state.

Chris



#62656 System.Exception when I now run my code after upgrade to 4.3

Posted by Chris Walker on 14 May 2015 - 12:36 AM in Netduino 3

Hi riaan,

What line of code is throwing this exception? Or is it happening on a background thread?

If you run a simple blinky app, does everything work as expected?

If this is a bug (and not just an auto-retry operation on a background thread which is surfacing exception data to the output window) we'd really appreciate your feedback hunting it down.

Chris




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.