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 29-March 23)


By content type

See this member's


Sort by                Order  

#64267 USB 3.0 issues

Posted by Chris Walker on 07 October 2015 - 05:46 PM in Netduino Plus 2 (and Netduino Plus 1)

Hi dmil4781,

Interesting. USB 3.0 ports are USB 2.0 ports with extra pins for the secondary (high-speed) USB 3.0 bus. That kind of behavior really shouldn't happen with USB devices. [There could be a glitch in the NETMF MFUSB drivers...something that we could report to Microsoft if it's a blocking issue.]

Are you alright using your 2.0 ports?

BTW, welcome to the Netduino community,

Chris



#64246 Keypad Matrix - Strange Result

Posted by Chris Walker on 06 October 2015 - 03:09 AM in General Discussion

Hey ilovetofu,

Can you share more details about your setup?

How does it differ from other Netduino-based keypad projects, electronically? [As a basis...to help understand what you are experiencing...]

BTW, welcome to the Netduino community!

Chris



#64244 Refreshing Bootloader of Netduino 3

Posted by Chris Walker on 06 October 2015 - 01:55 AM in Netduino 3

Hi Greg,

Do you have screenshots of the procedure you're using for flashing the board via DFU? Let's focus on the ST DFU tools for now...those are the "failsafe backup" and should work regardless.

Chris



#64243 Atmel ARM processors-- are they temp sensor configured?

Posted by Chris Walker on 06 October 2015 - 01:49 AM in General Discussion

Hey Dr Who,

On-chip temp sensors aren't part of the core NETMF runtime.

For commercial applications, it can be cool to know what the chip's temperature is, for sure. [No pun intended.]

Chris



#64240 Netduino 3 Wi-Fi Firmware v4.3.2 (update 2)

Posted by Chris Walker on 05 October 2015 - 10:37 PM in Netduino 3

The main Netduino Update window always says "STM Device in DFU Mode." 
 
All I want to do is erase the horribly awry code that's running on it. Help!

Aargh, no fun. That sounds like a flaky USB cable (or a USB port that is liking the Netduino "sometimes" during boot). If the STDFU drivers can't pull the OTP flash data during enumeration, you'll see this.

It sounds like you're up and running now, building your new bot...but if you ever run into this in the future you can also use the STDFU tools. In particular the STDFU Tester utility will let you erase the first page of "app deployment" flash by page range...which would get you back up and running. Not a pretty workaround, but a backup option just in case.

Chris



#64239 Netduino 3 Wi-Fi Firmware v4.3.2 (update 2)

Posted by Chris Walker on 05 October 2015 - 10:35 PM in Netduino 3

Hi cipherlab,

Uninstalling and re-installing sdk fixed, but I still get an error when using the SW button
InputPort buttonsw = new InputPort((Cpu.Pin)0x15, false, Port.ResistorMode.Disabled);
 buttonsw.OnInterrupt += new NativeEventHandler(button_OnInterrupt); //----errors here

Try using (Cpu.Pin)0x3B (or Pins.ONBOARD_BTN) instead. We wired up the SWITCH1 pin twice "for future use"--and if you're hardcoding the pin # you might need to use the other one.

Does that help?

Chris



#64237 Mini 2?

Posted by Chris Walker on 05 October 2015 - 07:35 PM in Netduino Mini

Some folks really love the mini, so we keep it as an active product. We can't get the latest and great firmware on that little guy...but they're still an active inventory item.

[Ask me in a year, and perhaps we'll have a next-gen Mini on the horizon...but we're happy to take care of you today with your Netduino Mini needs.]

We love the Mini too :)

Chris



#64236 Netduino Plus 2 - Restore Production SW Load

Posted by Chris Walker on 05 October 2015 - 07:26 PM in Netduino Plus 2 (and Netduino Plus 1)

Hey Drew,

You can grab the latest Netduino v4.2.x firmware here (sticky post at the top of the forum):
http://forums.netdui...-v432-update-1/

Just put your Netduino Plus 2 in bootloader mode, run the post's firmware update tool, and you should be back to factory fresh :)

Welcome to the Netduino community,

Chris



#64235 where is the new 4.4 netMF update? Why does it take so long?

Posted by Chris Walker on 05 October 2015 - 07:24 PM in Netduino Plus 2 (and Netduino Plus 1)

They're a super-busy bunch of folks in Redmond. Tasked with both NETMF 4.4 and Llilum, the NETMF team has a reasonably sized team working on this--but so much to do.

Also...thanks to everyone in Redmond for all the fish. :)

Chris



#64185 Refreshing Bootloader of Netduino 3

Posted by Chris Walker on 23 September 2015 - 05:27 PM in Netduino 3

Hi Greg,

With Netduino gen2/gen3, we have a new streamlined procedure for updating the board.

Grab a copy of Netduino Update (included in the latest firmware over on the downloads page). Then press the button on your Netduino while powering it up via your PC's USB port. Then, in Netduino Update, select the device and press "update". This will erase and reflash the board.

If you want to completely erase the board for some other reason (native code hacking, etc.), you can also erase the board completely using ST's STDFU Tester (bundled with ST DFUSE tools).

Does that get you up and running?

Welcome to the Netduino community,

Chris



#64160 Creating special characters on LCD

Posted by Chris Walker on 20 September 2015 - 05:30 PM in General Discussion

Hi marcoe,

Thanks for sharing this... Did you contact the NETMF toolbox creator, to see if you could contribute this back to the library? I see a really cool blog post in your future showing off this new feature, perhaps? :)

Chris



#64159 Netduino 3 Wifi connectivity failure mode handling

Posted by Chris Walker on 20 September 2015 - 05:27 PM in Netduino 3

Hi KiwiDev,

Interesting. The new network stacks should be resilient against this sort of thing. My main concern normally is that code needs to wait to get an IP address again after the network reconnects...but it sounds like this might be a different issue.

When you say "There is a network connectivity change notification but when the next HTTP request is initiated the devices hangs", are you experiencing a blocking call which never returns? Do you know what function is blocking? Or are you seeing a communication failure exception (as indicated in the debug output)?

If you're seeing an actual hang in the network stack, can you please create an issue at the Netduino.IP (for Wi-Fi) repo and we'll load the debug software build and step into the code to see what's going on?

Also--if this is an urgent bugfix request, please let us know that too so we can up-prioritize this...

Thank you KiwiDev,

Chris



#64156 Netduino 3 Ethernet Firmware v4.3.2 (update 3)

Posted by Chris Walker on 20 September 2015 - 06:01 AM in Netduino 3

Hi MosziNet,

Hmm, very interesting. Do you happen to have a copy of Wireshark (free) handy? Any chance you could do a quick network capture of the data between your router and your board?

Also...can you take a quick screenshot of your device's network configuration (in MFDeploy, Tools menu > Config > Network Configuration)?

The SolutionVersion is fine.

Chris



#64152 Netduino.IP Firmware v1.0.1 (for Netduino Plus 2)

Posted by Chris Walker on 19 September 2015 - 05:28 PM in Netduino.IP Technical Preview

Hi Gigios,

NetduinoExtensions was designed primarily for the Wi-Fi board. Are you using the same project for both the Ethernet board and the Wi-Fi board?

Can you please post an issue on this over at the Netduino.IP repository? We should be able to both update NetduinoExtensions and ensure its cross-hardware compatibility.
https://github.com/n...duino.IP/issues

Thanks Gigios,

Chris



#64141 Interrupts

Posted by Chris Walker on 18 September 2015 - 07:28 AM in Netduino Plus 2 (and Netduino Plus 1)

Hi WriterGuy,

It's hard to see exactly what's going on here without the full code, but here are a few troubleshooting tips:

1. The data2 parameter passed into the interrupt function will hold the high/low state of the line when the interrupt is generated. When you're checking the InterruptMode...are you meaning to check the interrupt _state_?

2. Generally speaking, it's best to process interrupts and exit interrupt handlers as quickly as possible. Further interrupts can't be fired while you're in your handler, and if a lot of interrupts happen then the interrupt event queue will overflow and you'll lose interrupts.

Does that help get you on the right path?

Chris



#64140 Netduino.IP DNS resolution

Posted by Chris Walker on 18 September 2015 - 07:24 AM in Netduino.IP Technical Preview

Hi Tim,

Both of the DNS issues should be fixed in the new Netduino.IP v1.0.1 release (in 4.3.2.3 firmware).

Can you grab a copy of the new firmware and let us know if these DNS issues are fully resolved for you?

Thanks for all your help testing out the new stack,

Chris



#64139 SPLIT: DHCP MaxDHCPMessageSize

Posted by Chris Walker on 18 September 2015 - 07:22 AM in Netduino.IP Technical Preview

Hi Tim,

Fixed in Netduino.IP v1.0.1 (in the 4.3.2.3 firmware).

Whew, no more outstanding issues for Netduino.IP on GitHub :)

Please let me know how the updated firmware works for you! And thanks again for surfacing this issue.

Chris



#64138 Netduino 3 Ethernet Firmware v4.3.2 (update 3)

Posted by Chris Walker on 18 September 2015 - 07:16 AM in Netduino 3

Version: 4.3.2 Update 3 (version 4.3.2.3)

Download link
Download Netduino v4.3.2.3 firmware now

Updates in this release
1. DNS queries now fail over to secondary servers.
2. Empty list of DNS servers now work with MFDeploy.
3. DHCP maximum message length option (DHCP option 57) corrected.

Additional updates from recent releases
1. Pins.ONBOARD_BTN now disables the reset feature properly

Pre-requisites for this firmware
1. Visual Studio 2012 or Visual Studio 2013. Or Visual Studio 2015 (beta).
2. .NET Micro Framework SDK v4.3 QFE2 or newer
3. NETMF plug-in for Visual Studio 2012, NETMF plug-in for Visual Studio 2013 or NETMF plug-in for Visual Studio 2015 (beta).
4. Netduino SDK v4.3.2.1 or newer

How to flash this firmware
1. Detach your Netduino from your computer to turn it off.
2. Press and hold your Netduino's pushbutton while plugging it in via USB; this will put it in bootloader mode.
3. Run the Netduino Update tool (see link above).
a. If your device does not appear, install the STDFU drivers + tools v3.0.3.
b. If your device appears as "STM Device in DFU Mode", click on "Options", select your board type from the Product selection box and close the Options window.
4. Select the checkbox next to your device and press "Upgrade"
5. Wait while the upgrade operation completes. After flashing, your Netduino will reboot and will be removed from the upgrade list.
6. After flashing, set your network settings using MFDeploy. In MFDeploy, select the Target > Configuration > Networking menu. Re-enter your IP address and Wi-Fi settings.

How to find your current version of Netduino firmware
1. Go to the Start Menu > Programs > Microsoft .NET Micro Framework 4.3
2. Run MFDeploy.
3. Plug your Netduino into your PC using a Micro USB cable.
4. In the Device section at top, select USB instead of Serial. Your Netduino should appear in the drop-down; if not, select it.
5. Select the Target menu > Device Capabilities option.
6. In the output box, find the "SolutionReleaseInfo.solutionVersion" value. This is your firmware version.

Enjoy, and please let us know if you run into any troubles.

Chris

Download link
Download Netduino v4.3.2.3 firmware now



#64137 Netduino.IP Firmware v1.0.1 (for Netduino Plus 2)

Posted by Chris Walker on 18 September 2015 - 07:06 AM in Netduino.IP Technical Preview

P.S.

One of the really awesome things about having a managed code networking stack is that you can actually debug and modify it directly from Visual Studio (added to your existing Visual Studio solution).

I have attached Netduino.IP v1.0 DEBUG firmware. This firmware includes all the Netduino.IP basics--but does not include the Netduino.IP and device-specific driver in the firmware.

To debug/modify Netduino.IP:
1. Flash the attached firmware to your Netduino (with on-board Ethernet port).
2. Grab the Netduino.IP assembly source along with the appropriate Netduino.IP network driver for your mainboard:
ENC28J60 (Netduino Plus 2) or AX88796C (next-generation).
3. Add the two downloaded Netduino.IP projects to your solution.
4. In the Netduino.IP project's properties, go to the Build tab and make sure that the conditional compilation symbol NETDUINOIP_ENC28J60 or NETDUINOIP_AX88796C (but not both) is included for your board.
5. Add the two downloaded Netduino.IP projects as references in your solution's main project.

Then just deploy and debug! Breakpoints, step-by-step debugging, etc. will all work!

Chris

P.S. You can download the latest Netduino.IP source code from GitHub. Just click "Download ZIP".

Attached Files




#64136 Netduino.IP Firmware v1.0.1 (for Netduino Plus 2)

Posted by Chris Walker on 18 September 2015 - 07:03 AM in Netduino.IP Technical Preview

I have attached Netduino.IP v1.0.1 firmware (i.e. Netduino Plus 2 v4.3.2.3 firmware).

This network stack is shiny and new. If you run into any issues, please post here and we can address them individually.

Netduino.IP is designed for backwards-compatibility with existing NETMF code. To use Netduino.IP, simply write your code using the standard System.Net.Sockets classes, HttpWebRequest, etc.

This build includes the following features:
  • Bugfix: DNS queries now fail over to secondary servers.
  • Bugfix: Empty list of DNS servers now work with MFDeploy.
  • Bugfix: DHCP maximum message length option (DHCP option 57) corrected.
I have attached a sample project which requests the Netduino homepage and also retrieves the current time from an Internet time server.

The main goals for Netduino.IP (for Ethernet) v1.0 are reliability and protocol compliance. As we move forward we can focus in on performance enhancements, potential support for additional IP protocols/features, etc.

Thank you for taking the time to help us test out Netduino.IP!

Chris

P.S. Netduino.IP source code has been checked into the Netduino repository at GitHub.
https://github.com/n...ino/Netduino.IP

Attached Files




#64125 Setting up Visual Studio 2015 on Windows 10 for Netduino 3

Posted by Chris Walker on 14 September 2015 - 11:08 PM in Netduino 3

Hi rkdF250,

Microsoft's NETMF support for VS2015 is still in beta, but I'm running it here without issues.

Please try this:
1. Close all instances of Visual Studio.
2. Uninstall the Netduino SDK
3. Uninstall the NETMF SDK
4. Make sure that VS2015 is installed on your computer.
5. Install the NETMF 4.3 QFE2 SDK (from the downloads page)
6. Install the NETMF plug-in for VS2015 (alpha) from here: http://netmf.codeple...ads/get/1423121
7. Install the Netduino SDK

Alternatively, if you haven't installed the NETMF plug-in for VS2015 (alpha)...try that first. If that fails, then go ahead and follow the full "uninstall and reinstall" procedure outlined above.

Does that get you up and running?

Chris



#64077 Problem reactivating my N2P

Posted by Chris Walker on 10 September 2015 - 09:32 AM in Netduino Plus 2 (and Netduino Plus 1)

Hi Wernfried,

I'm struggling a bit here to figure out a way to help diagnose the issue.

Do you happen to have any other Netduinos, to see if you get the same experience with multiple boards?

I use Windows 10 x64 on my main laptop with Netduino (using the standard Netduino drivers) and haven't had any issues--but drivers can be tricky things.

P.S. Are you running Windows 10 on a Mac by any chance?

Chris



#64073 Introducing Llilum, the native-compiled (NETMF) proof of concept

Posted by Chris Walker on 10 September 2015 - 12:05 AM in General Discussion

Thanks for all your hard work on this, Lorenzo (and team!)

Chris



#64072 Netduino Scheduler

Posted by Chris Walker on 10 September 2015 - 12:02 AM in Project Showcase

Thanks for the note, Ian.

We're getting more boards shipped to Canada--but as you noticed all the gen3 gear is out of stock in Canada at the moment. For whatever reason it's hard to forecast demand at Amazon.ca.

Working on it. :)

Chris



#64071 Reading an InterruptPort from a thread does not work!

Posted by Chris Walker on 10 September 2015 - 12:00 AM in Visual Studio

Hi shimoda,

I'm assuming that the problem here is that you're opening the same interruptport on _two_ different threads. Ports can only be instantiated once--and then they must be disposed of before they can be opened on another thread.

Of course this could be another issue. The first thing I'd try is moving the InterruptPort constructor from the variable definition to the Run function...so that you know when the port is being instantiated, and so that VS helpfully alerts you if you try opening the port twice.

Does that help get you on the right path?

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.