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

Netduino Go Firmware v4.2.2 (update 1)


  • Please log in to reply
25 replies to this topic

#1 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 26 January 2013 - 06:55 AM

Version: 4.2.2 Update 1 (version 4.2.2.1)

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

Note: The USB device name for Netduino Go has changed from "NetduinoGo" to "Netduino". This permanent change enables Netduino Go to become more code-compatible with Netduino and Netduino Plus 2. Please update the deployment transport in "Project Properties > .NET Micro Framework" (by changing from "USB" to "Serial" and back to "USB").

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

This firmware includes the following updates:
1. Bug fix: SPI clock 'idle high' setting now supported

This update also includes the previous updates:
1. Netduino Go USB Name is now "Netduino", for enhanced compatibility with traditional Netduino projects
2. COM1 (shieldBase.SerialPorts.COM1) is now available for use on Shield Base
3. Now compatible with legacy SecretLabs AnalogInput and PWM classes (requires 4.2.2 SDK)
4. New: more reliable rebooting during deployment
5. Pushbutton now works as reset button (unless used as GPIO)
6. Bug fix: flash deployment should now work consistently
7. Bug fixes: to support Ambient Light, SD Card, and Ethernet modules
8. 4.2.1 SDK: RgbLed.SetColor(...) now supports arguments of type 'double'.
9. New GoBus feature: SerialPort support (COM2/COM3 on Shield Base)
10. New GoBus feature: SPI support (SPI1 on Shield Base)
11. New GoBus feature: InterruptPort (pins D0, D2-D13 on Shield Base)
12. GoBus enhancement: GoBus packets can now span multiple frames
13. GoBus bug fix: single-frame window now enforced for asynchronous events
14. Added preliminary support for GoBus 1.5 beta
15. GoBus 1.5 now supports Virtual I/O from any thread (including events)

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 wernerotten

wernerotten

    New Member

  • Members
  • Pip
  • 8 posts

Posted 10 February 2013 - 04:43 AM

Process ran smoothly but after it leds on socket 1 and 2 never turn on.  I also tried to update the shieldbase, but when running the application I am getting an error see attachment. Any advice, Thank you.

 

 

Attached Files



#3 carb

carb

    Advanced Member

  • Members
  • PipPipPip
  • 352 posts
  • LocationCrystal River, Florida

Posted 11 February 2013 - 11:22 PM

Wernerotten,

 

Don't worry about it, that is the correct way that it now operates. If you watch closely the first 2 LED flash very briefly, then turn off. If you connect a module like a pushbutton to one of then the LED will work like it used too.

 

It was a change in the new firmware, part of the rapid boot up changes. I saw it a couple of weeks ago and talked to Chris about it and he said that it was normal with the new firmware.

 

That is the correct behavior. The first two LEDs turn off quickly during boot...and then the other six stay on until TinyCLR is fully running. This will change in NETMF 4.3, with the new fast boot process. All of your Netduino Go boards may behave that same way, when upgraded to 4.2.2. Mine do :) If you connect a GoBus module to GoPort 1 or 2, they should run fine and the LED should light up properly when they're enabled.  
Chris

 

Hope that helps,

Chuck



#4 wernerotten

wernerotten

    New Member

  • Members
  • Pip
  • 8 posts

Posted 12 February 2013 - 11:38 AM

Thanks Chuck; Yes the two leds flash very briefly,

Still having the issue when updaying the Base Shield (see attachment on my previous post), any advise?



#5 carb

carb

    Advanced Member

  • Members
  • PipPipPip
  • 352 posts
  • LocationCrystal River, Florida

Posted 12 February 2013 - 11:16 PM

Wernerotten,

 

I don't see any reason it shouldn't work, I updated 2 shieldbases.

 

Recommend:

  • Start with a freshly loaded computer (reboot just before going into Visual Studio).
  • Have only the shieldbase plugged in to the Go board.
  • Use a different 10 cm cable.
  • Plug in the USB cable from the Netduino Go and the computer.
  • Make a new directory and unzip the shieldbase update program.
  • Run the solution

If that doesn't work contact Chris (if he doesn't respond to this post) and see if he has any other tricks that will get it updated.

 

Chuck



#6 wernerotten

wernerotten

    New Member

  • Members
  • Pip
  • 8 posts

Posted 13 February 2013 - 01:41 AM

Thank you very much Chuck, I will let you know the result.



#7 eplaksienko

eplaksienko

    Advanced Member

  • Members
  • PipPipPip
  • 112 posts

Posted 20 February 2013 - 04:52 AM

Hi!

 

Experience problem with deployment

 

1. no lights on buses 1 and 2

2. when I try to deploy any project VS Express 2010 crushes

 

Any ideas why?



#8 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 20 February 2013 - 05:02 AM

Hi eplaksienko, What version of firmware are you using? Is this issue a new issue, or did you experience it with previous firmware releases. Also--the first two LEDs blink quickly and then turn off quickly during boot. That is normal. Chris

#9 eplaksienko

eplaksienko

    Advanced Member

  • Members
  • PipPipPip
  • 112 posts

Posted 20 February 2013 - 05:05 AM

It's now 4221, no issues before I deployed 4221



#10 eplaksienko

eplaksienko

    Advanced Member

  • Members
  • PipPipPip
  • 112 posts

Posted 20 February 2013 - 05:11 AM

I re-installed VSE 2010, I got message Error

1 Device not found or cannot be opened - USB:NetduinoGo



#11 eplaksienko

eplaksienko

    Advanced Member

  • Members
  • PipPipPip
  • 112 posts

Posted 20 February 2013 - 05:11 AM

PS: When deploy



#12 eplaksienko

eplaksienko

    Advanced Member

  • Members
  • PipPipPip
  • 112 posts

Posted 20 February 2013 - 05:24 AM

I was trying to reflesh and decided to go via leave dfu mode in dfu tested, receive error message

 

 

Error. Detailed situation:
Operation:                   1
ErrorCode:                   1234500A
Percent:                     49
dwTag:                       00000008
szDevLink:                   ?usb#vid_0483&pid_df11#364f305b3131#{3fe809ab-fb91-4cb5-a643-69670d52366e}
wTransferSize:               2048
LastDFUStatus.bStatus:       0
LastDFUStatus.bState:        2
LastDFUStatus.iString:       0
LastDFUStatus.bwPollTimeout: 0
CurrentRequest:              14000000
CurrentNBlock:               0
CurrentLength:               0
CurrentAddress:              00000000
CurrentImageElement:         0


#13 eplaksienko

eplaksienko

    Advanced Member

  • Members
  • PipPipPip
  • 112 posts

Posted 20 February 2013 - 05:37 AM

Last problem solved, but still it refuses to deploy my applications and shield base flashing application.

 

Also strange no light on ports 1 and 2 :(

 

It used to work with previous firmware



#14 neslekkim

neslekkim

    Advanced Member

  • Members
  • PipPipPip
  • 350 posts
  • LocationOslo, Norway

Posted 24 February 2013 - 04:21 PM

On windows 8 I had to install this to make the stdfu applications to work

http://www.microsoft...ls.aspx?id=3387

Since I'm on win8x64, I installed this version DfuSe_Demo_V3.0.2_Setup_amd64.exe

No complaints during flashing.

 

But, after installing .net sdk and netduino .net sdk, there are still no netduino projectypes (vs2012))?, I have an micro framwork category, but that contains "class library", "console application",  "device emulator" and "windows application"

The explanations of the console and windows applications are better for VB templates than C# templates ;), since these boards are like they are, I don't see the point of confusion with those two types, but that might me be..


--
Asbjrn


#15 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 24 February 2013 - 10:29 PM

Hi neslekkim,

Please upgrade to the Netduino 4.3 SDK (which supports Visual Studio 2012):
http://forums.netdui...mework-v43-sdk/

Does that get the templates installed properly for you?

Chris

#16 neslekkim

neslekkim

    Advanced Member

  • Members
  • PipPipPip
  • 350 posts
  • LocationOslo, Norway

Posted 25 February 2013 - 12:27 AM

Yes, that worked, did not dare to install it earlier, since Go was not mentioned


--
Asbjrn


#17 mcinnes01

mcinnes01

    Advanced Member

  • Members
  • PipPipPip
  • 325 posts
  • LocationManchester UK

Posted 12 March 2013 - 09:58 PM

Does this firmware version now support things like the sparkfun microSD shield on the shield base?

 

Thanks,

 

Andy



#18 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 13 March 2013 - 05:20 AM

Hi Andy,

Does this firmware version now support things like the sparkfun microSD shield on the shield base?

That will require a firmware upgrade for both the mainboard and the Shield Base, since the SD drivers are native (and the Shield Base is running under managed code right now). This is in the roadmap. For Netduino Go, our focus is on shipping the Ethernet modules...which also creates the majority of the code necessary to support this type of scenario. Chris

#19 zemuss

zemuss

    Advanced Member

  • Members
  • PipPipPip
  • 69 posts

Posted 05 May 2013 - 11:10 PM

Hey Chris how far along is the Ethernet Modules?



#20 Green

Green

    New Member

  • Members
  • Pip
  • 1 posts

Posted 08 May 2013 - 09:52 PM

Hi, I am just trying to understand netmf.

DFU file is 426kB, and part of it will be written to flash (for simplicity lets assume whole file).

Processor has 1MB of flash.

Description says: 384KB Flash available for your (C#) code.

Where is the rest (190kB)?

Thanks






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.