Netduino home hardware projects downloads community

Jump to content


Photo

Netduino 2 Firmware v4.2.2 (update 2)


  • Please log in to reply
28 replies to this topic

#1 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 07 February 2013 - 06:10 PM

Version: 4.2.2 Update 2 (version 4.2.2.2)

This firmware requires use of the .NET Micro Framework v4.2 SDK (QFE2) or newer and .Netduino 4.2 SDK or newer.

With this firmware, you will have the following resources available for your code:
192KB Flash
60KB RAM

This firmware includes the following updates:
1. .NET MF 4.2 QFE2 bugfixes

This firmware also includes the previous updates:
1. Bug fix: SPI clock 'idle high' setting now supported
2. Now compatible with legacy SecretLabs AnalogInput and PWM classes (requires 4.2.2 SDK)
3. Bug fix: SPI chip select timing corrected
4. Bug fix: PWM frequency corrected
5. New: more reliable rebooting during deployment

To find the current version of your Netduino firmware:
1. Go to the Start Menu > Programs > Microsoft .NET Micro Framework 4.2 > Tools
2. Run MFDeploy.exe. Be careful to run MFDeploy.exe and not MFDeploy.exe.config (as file extensions are hidden by default)
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.

To flash this firmware:
1. Detach your Netduino
2. Press and hold your Netduino's pushbutton while plugging it in via USB; this will put it in bootloader mode.
3. Erase the firmware on your Netduino using the STDFU Tester v3.0.1 application
> a. Select the "Protocol" tab
> b. Press the "Create from Map" button
> c. Select the "Erase" radio button option
> d. Press the "Go" button
> e. Wait for erase process to complete
4. Flash the attached .DFU file using the ST DfuSe Demonstrator v3.0.2 application (included with STDFU Tester)
> a. Locate the "Upgrade or Verify Action" pane (bottom-right pane)
> b. Press "Choose..." and select the attached DFU file
> c. Check the "Verify after download" option
> d. Press "Upgrade". It will take a few minutes to update your Netduino.
> e. Detach and reattach your Netduino (power cycle) or press "Leave DFU mode"

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

Chris

Attached Files



#2 ajcg1973

ajcg1973

    Advanced Member

  • Members
  • PipPipPip
  • 71 posts

Posted 08 February 2013 - 04:57 AM

Chris,

 

I think you might have forgotten the file attachment...---AJB



#3 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 08 February 2013 - 05:36 AM

ajcg1973 -- thanks! Fixed!

#4 Stanislav Husár

Stanislav Husár

    Advanced Member

  • Members
  • PipPipPip
  • 99 posts

Posted 18 February 2013 - 03:09 PM

Hi,

With current release( [color=rgb(40,40,40);font-family:helvetica, arial, sans-serif;]4.2.2 Update 2), does Netduino 2 support I2C?[/color]



#5 JerseyTechGuy

JerseyTechGuy

    Advanced Member

  • Members
  • PipPipPip
  • 870 posts

Posted 18 February 2013 - 03:56 PM

Hi,

With current release( [color=rgb(40,40,40);font-family:helvetica, arial, sans-serif;]4.2.2 Update 2), does Netduino 2 support I2C?[/color]

Yes.  The I2C bugs were fixed a few versions ago.



#6 Stanislav Husár

Stanislav Husár

    Advanced Member

  • Members
  • PipPipPip
  • 99 posts

Posted 18 February 2013 - 04:05 PM

Yes.  The I2C bugs were fixed a few versions ago.

Thanks for the response.



#7 dogsled

dogsled

    New Member

  • Members
  • Pip
  • 1 posts

Posted 26 February 2013 - 07:08 PM

Normally I do Arduino code but the Netduino sounded interesting so I got one. The blinky project failed because the PC has 4.2 code and the Netduino has 4.1.  I decided to upgrade the Netduino and all went well up to the point where I needed to install tinybooterdecompressor.bin    I can't find one.  I found numerous notes form other people looking for it, and numerous links to zip files, of which I have downloaded 3 so far, but none of them contain the required file.  This seems a little silly to me.  Do I have to know the secret handshake or something  ?



#8 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 27 February 2013 - 03:14 AM

Hi dogsled,

Did you get a Netduino 1 or a Netduino 2?

If you got a Netduino 1, check out the Netduino firmware update thread (sticky at the top of this forum):
http://forums.netdui...-v420-update-1/

This thread is for Netduino 2's firmware...which has a new simplified erase-and-flash system.

If you have a Netduino Plus instead (gen1 or gen2)...the firmware for those are sticky at the top of the Netduino Plus forum.

Does that get you up and running?

Welcome to the Netduino community,

Chris

P.S. You can actually change your project in Visual Studio to target boards running NETMF 4.1 instead. Open up Project Properties and you should see a "target framework". Change it to NETMF 4.1, save, and re-deploy.

#9 hkaruhanga

hkaruhanga

    New Member

  • Members
  • Pip
  • 1 posts

Posted 21 April 2013 - 03:25 PM

Does Netduino 2 support TCP/IP? Just got an SM5100B and am wondering whether the Netduino 2 that I possess will be of any help.



#10 dougd

dougd

    New Member

  • Members
  • Pip
  • 2 posts

Posted 27 June 2013 - 06:44 PM

My Netduino2 suddenly stopped working as I was downloading a program. When I plug it into USB, power and user LEDs light and my PC knows something was plugged in, but nothing recognizes that I have a Netduino2.  MF Deploy doesn't recognize it.  I have tried erasing and full erase. I have tried as mentioned above STDFU - it doesn't see it either, even after plugging it in with the button pushed.  Is there anything else I can try? It seemed to work fine for about 3 days, until this happened.  Thanks!



#11 David Sinclair

David Sinclair

    New Member

  • Members
  • Pip
  • 1 posts

Posted 06 August 2013 - 05:12 PM

I'm trying to get 4.2.2 onto my Netduino rev B, is it even possible? STDFU doesn't seem to work on Windows 8 so I'm stuck right now.



#12 WoodRobotics

WoodRobotics

    New Member

  • Members
  • Pip
  • 1 posts

Posted 09 September 2013 - 09:06 PM

This Process:

It took me a little to get this working. I'm running Windows 8 and that appears to cause a few problems. When I plugged my Netduino 2 in while holding the button, Windows wouldn't successfully load the device. This was because I'm running on a metered internet connection. After I set my internet connection to unmetered, it loaded successfully. Not sure why that was a problem to start with. Any event, I was able to erase the my device using STDFUTester.exe without a problem. Then I ran DfuSeDemo.exe and loaded the new image. Everything looked to work but the application crashes after the upload. Not checking Verify after Download "fixed" this problem. After the firmware flash, my Netduino 2 is working again and MFDeploy.exe is able to ping.

 

Why I did This Process:

I am new to this device but very familiar with c# and the .net framework. So I wanted to put my propellers aside and give this a kick around the yard. Turns out to be a nice little machine. But, I added this line 

var l_LED = new SecretLabs.NETMF.Hardware.PWM(Pins.GPIO_PIN_D0);

at the very beginning of the Main function and all went bad. While trying to debug the program, I get an exception in SecretLabs.NETMF.Hardware and everything stops. After stopping the debugger, I tried to start again. But VS was unable to start the debugger and MFDeploy wasn't able to ping the device. So here I am using this process. I'm glad to see it wasn't too hard to get things back up and working.



#13 djr1965

djr1965

    New Member

  • Members
  • Pip
  • 2 posts

Posted 08 October 2013 - 11:42 PM

Chris,

 

I've successfully erased the flash in my Netduino Plus 2. Please send me the .DFU file to complete the firmware v4.2.2 (update 2).

 

Thanks,

 

Don



#14 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 13 December 2013 - 03:57 AM

Hi David,

I'm trying to get 4.2.2 onto my Netduino rev B, is it even possible? STDFU doesn't seem to work on Windows 8 so I'm stuck right now.

You have a Netduino 1 board, so you'll want to use Atmel SAM-BA and MFDeploy to upgrade your board's firmware. Check out the instructions over in the Netduino 1 v4.2 firmware thread (also a sticky). Chris

#15 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 13 December 2013 - 03:58 AM

Hi Don,

I've successfully erased the flash in my Netduino Plus 2. Please send me the .DFU file to complete the firmware v4.2.2 (update 2).

The DFU file is contained in the ZIP file attached to this thread (first post, above). Just grab that and you should be good to go! Chris

#16 Nicolai

Nicolai

    Member

  • Members
  • PipPip
  • 14 posts
  • LocationDenmark

Posted 18 January 2014 - 10:18 AM

Is this the latest firmware version? Why are people saying 4.3 some places? Is it simply a mix-up of SDK and firmware?



#17 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 18 January 2014 - 02:58 PM

Hi Nicolai,

Is this the latest firmware version? Why are people saying 4.3 some places? Is it simply a mix-up of SDK and firmware?

For Netduino 2, there's v4.3 beta 1 firmware. 4.2.2.2 is the latest production version--although for most people the 4.3 beta works well (and works with VS2012/2013). Chris

#18 Nicolai

Nicolai

    Member

  • Members
  • PipPip
  • 14 posts
  • LocationDenmark

Posted 20 January 2014 - 04:10 PM

Hi Nicolai, For Netduino 2, there's v4.3 beta 1 firmware. 4.2.2.2 is the latest production version--although for most people the 4.3 beta works well (and works with VS2012/2013). Chris

I see. Where do I get the 4.3?



#19 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 20 January 2014 - 07:39 PM

Hi Nicolai,

I see. Where do I get the 4.3?

The latest beta firmware is attached to "sticky posts" at the top of the beta firmware forum: http://forums.netdui...re-and-drivers/ Chris

#20 mbrossett

mbrossett

    Advanced Member

  • Members
  • PipPipPip
  • 46 posts

Posted 03 April 2014 - 09:33 PM

Can you provide all the files needed to load a custom board with Netduino firmware / bootloader. When I load this DFU in the STM32F405 and reset the board, I cannot access the device through MFDeploy. Is there another file I need to load?...tinybooter, tinyclr, or something?






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.