Netduino home hardware projects downloads community

Jump to content


Photo

Netduino Mini Firmware v4.2.0 (Update 1)


  • Please log in to reply
9 replies to this topic

#1 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7064 posts
  • LocationNew York, NY

Posted 20 September 2012 - 05:20 AM

Version: 4.2.0 Update 1 (version 4.2.0.1)

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

With this firmware, you will have the following resources available for your code:
152KB Flash
70KB+ RAM

This firmware includes the following update:
1. PWM bugfix (period/frequency now set correctly)
2. RS232 firmware now enables deployment/debug over RS232

This firmware also includes the following prior updates:
1. Visual Basic is now a supported language for .NET MF
2. New core AnalogInput and PWM classes; backwards-compatible classes available via add-on assemblies.
3. New WinUSB drivers (to remedy BSOD issues in 4.2 beta)
4. Garbage collector now fully collects old objects
5. See netmf.codeplex.com for full details of all bugfixes

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 Mini into your PC using an RS232 or TTL UART cable.
4. In the Device section at top, select Serial. Select the serial port assigned to your RS232 or TTL UART cable.
5. Select the Target menu, Device Capabilities option.
6. In the output box, find the "SolutionReleaseInfo.solutionVersion" value. This is your firmware version.

Users of firmware version 4.2.0.0 or earlier may update to this new firmware:
1. Erase your Netduino Mini by applying 5V power to the gold ERASE pad
a. Power cycle your Netduino Mini
2. Flash TinyBooterDecompressor.bin using SAM-BA v2.12+
a. Power cycle your Netduino Mini
3. Flash TinyCLR using MFDeploy v4.2+
a. Click "Browse..." and select the TinyCLR files (ER_CONFIG and ER_FLASH).
b. Press "Deploy". It will take a few minutes to update your Netduino Mini.

There are two versions of firmware attached to this post. If you want to use the TTL port for debugging, then flash the TTL version of the TinyBooterDecompressor firmware using SAM-BA. Then flash TinyCLR (ER_FLASH and ER_CONFIG) using MFDeploy on the Netduino Mini's TTL serial pins.

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

Chris

Attached Files



#2 Jack Chidley

Jack Chidley

    Advanced Member

  • Members
  • PipPipPip
  • 98 posts

Posted 11 October 2012 - 11:03 AM

I have 3 new Minis and I am using the Keyspan to flash them with both RS232. RS232 TinyBooterDecompressor.bin and firmware work perfectly. However, I can't get the TTL versions to work. My procedure is to flash the (TTL) TinyBooterDecompressor.bin with the Keyspan over RS232. But then I cannot ping the mini via MFDeploy using TTL, so I can't deploy the TTL firmware (I assume that you have to use TTL to do the deployment). I am using both the USB BUB II and Arduino USB adapters. Same result for both. Jack

#3 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7064 posts
  • LocationNew York, NY

Posted 11 October 2012 - 04:13 PM

Hi Jack,

I have 3 new Minis and I am using the Keyspan to flash them with both RS232. RS232 TinyBooterDecompressor.bin and firmware work perfectly. However, I can't get the TTL versions to work.

Very odd. What happens if you flash the RS232 version of TinyBooter...and then use it to flash the TTL version of TinyCLR?

Chris

#4 Jack Chidley

Jack Chidley

    Advanced Member

  • Members
  • PipPipPip
  • 98 posts

Posted 13 October 2012 - 09:31 AM

Used the RS232 tinybooter and MFDeploy to flash the TTL firmware. Can't ping it, can't get device config, can't program it. Reflashed with RS232 versions of everything. Works perfectly. Any ideas?

Edited by Jack Chidley, 13 October 2012 - 09:54 PM.


#5 DaveRVW

DaveRVW

    Advanced Member

  • Members
  • PipPipPip
  • 37 posts

Posted 21 October 2012 - 06:37 PM

Jack, recheck your TTL connection including power. I was able to flash my mini using both the RS232 and TTL versions of TinyBooterDecompressor successfully with SAM-BA v2.11, and then after powering off/on successfully pinged using MFDeploy and deployed ER_CONFIG, ER_FLASH successfully. The COM connections for MFDeploy changed accordingly. I am using a FTDI TTL223R 5V cable (USB to TTL), and a FTDI <-> Serial adapter (USB to 232) for the two connections.

Used the RS232 tinybooter and MFDeploy to flash the TTL firmware. Can't ping it, can't get device config, can't program it.

Reflashed with RS232 versions of everything. Works perfectly.

Any ideas?



#6 lb7000

lb7000

    New Member

  • Members
  • Pip
  • 2 posts

Posted 29 May 2013 - 03:08 AM

Where can I find the source code for NetduinoMini_Firmware_4.2.0.1_RS232.zip?



#7 Marc B

Marc B

    New Member

  • Members
  • Pip
  • 3 posts

Posted 08 October 2013 - 08:39 AM

I have 5 NetduinoMini. Since I've uploaded four of them with the firmware 4.2.0.1(RS232) the reset pin doesn't work anymore. However it works fine with the one that still has the firmware 4.2.0.0(RS232).

 

1. Does someone have the same issue with firmware 4.2.0.1(RS232)?

 

2. Link for downloading the firware 4.2.0.0(RS232) is broken. Does someone know where I can find it?

 

Thx,

 

Marc



#8 andrew6071

andrew6071

    Member

  • Members
  • PipPip
  • 12 posts
  • LocationUK

Posted 26 May 2014 - 12:06 AM

Hi Chris,

 

I'm trying to upgrade my mini, to 4.2 but i'm not having much luck.

 

I've got a smartfun ft232r breakout board connected up to pins 11 and 12, but can't get sa-mba 2.12 patch 6 (<-- could the patch 6 bit be the problem) to recognise the device

 

All I get is communications error, I can see the breakout board sending data but not receiving anything.

 

Any help would be appreciated

 

oh and i'm running on a windows 8.1 64bit box

 

Andrew



#9 andrew6071

andrew6071

    Member

  • Members
  • PipPip
  • 12 posts
  • LocationUK

Posted 26 May 2014 - 12:18 AM

I suspect the problem is that I need to connect using the rs232 connection instead, not sure if my pc has a serial connection so I guess I need a usb to serial adaptor ??

 

I assume my break out board wont work ?

Andrew



#10 andrew6071

andrew6071

    Member

  • Members
  • PipPip
  • 12 posts
  • LocationUK

Posted 28 May 2014 - 11:26 PM

Hi,

 

Ok, I've managed to flash the ttl tinybootloader but I can't ping the device

 

Does it matter that i'm powering the mini from the ttl board, is it worth using a proper 5v power supply instead ?

 

what happens if I use the rs232 bootloader instead ? Does it mean I can't use ttl to deploy anymore ? Can I switch between ttl and rs232 as I did in the first instance ?

Andrew






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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