Netduino home hardware projects downloads community

Jump to content


Photo

Netduino Plus 2 Firmware v4.2.2 (update 2)


  • Please log in to reply
115 replies to this topic

#101 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 13 May 2014 - 04:12 AM

Hi Mirael,

If both of the LEDs light up when you power up the board, it's not booting. That usually means that it didn't get flashed properly. Can you please erase your board and re-flash it one more time?

If that fails, please try flashing it with the 4.3.1 firmware (using NetduinoUpdate). That is a more robust reflashing tool.

Chris

#102 eschneider

eschneider

    Member

  • Members
  • PipPip
  • 16 posts

Posted 13 May 2014 - 05:02 PM

Where do I find NetduinoUpdate ?



#103 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 13 May 2014 - 05:50 PM

Hi eschneider,

Where do I find NetduinoUpdate ?


Here you go.

The latest firmware releases include the NetduinoUpdate tool:
http://forums.netdui...-firmware-v431/

Chris

#104 coleg12

coleg12

    New Member

  • Validating
  • Pip
  • 4 posts

Posted 07 July 2014 - 03:29 AM

Hi,

After working with Netduino Plius 2 board (Firmware v4.2.2 as per my memory, can't read device settings now) for few months and learning a lot from these forums I'm really stuck this time. Problem appeared with regular VS2010 project deploy with error: 'An error has occurred: please check your hardware.' I has such error in the past and learned from forums about MFDeploy tool and basic troubleshooting. That time I had to remove and re-insert SD card to fix connection problem (worked on SD related project). This time however (was working on webserver and threading project if this matter) that trick don't helps.

 

MFDeploy can't ping it (Error: No response from device) and I tried to flash firmware as per this sticky post http://forums.netdui...-v422-update-2/      

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

After pressing Go nothing happend on the screen. By the way, under Devices there is nothing to select as per screenshot below:

 

 

I proceed to step 4 anyway:

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"

 

After step 4 c. Upgrade button is greyed out, pressing on it do nothing of course. Here is another screenshot:

 

 

What I'm missing here?

 

I considered to upgrade to SDK 4.3, but  really need to work with VS2010 that is not supported there as I understood and need to fix/learn what's wrong here.

 

Please help!

oleg

 



#105 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 07 July 2014 - 09:16 PM

Hi coleg12,

It sounds like your Netduino Plus 2 isn't in bootloader mode. Power it down, press and hold the pushbutton and then plug it into your PC via USB. Check Device Manager and make sure that it's enumerating as "ST Device in DFU Mode" or something to that effect. Then run the ST DFU tools.

If it doesn't show up in Device Manager, make sure that the drivers are installed. [If it's in bootloader mode, both the white and blue LEDs should remain turned on solid).

Chris

#106 coleg12

coleg12

    New Member

  • Validating
  • Pip
  • 4 posts

Posted 08 July 2014 - 03:48 AM

Hi Chris,

Thanks for quick reply!

I powered down the my NP2 board, pressed onboard button and connected to USB (I did it before my original post, just to clarify). I see in device manager under Other Devices node 'STM32 BOOTLOADER' entry, but with yellow exclamation sign. So I read through documentation and manually added correct driver for it and was able to see "ST Device in DFU Mode".

 

After that was resolved, I successfully went through flashing process and was able to debug one of my projects! :lol:

Then, out of curiosity I tried to debug last project before problem happened. It's HttpServer.sln sample project that comes with Microsoft .NET Micro Framework 4.2 install (I suppose) and is located at:

C:\Users\...\Documents\Microsoft .NET Micro Framework 4.2\Samples\HttpServer

I attached .rar file for that project as well.

 

I put breakpoint on the first line in Main(), clicked F5 and I've got my original problem right away, i.e. (Error: No response from device) in VS2010 and not able to ping it from MFDeploy.

 

This time however I was able to reflush it again and use board with my other projects!! :P

 

So, this is not holding me anymore, just curious why that sample project causes such misbehaviour on the board.

 

Many thanks, Chris!

oleg



#107 daverathbone

daverathbone

    New Member

  • Members
  • Pip
  • 3 posts

Posted 17 August 2014 - 07:14 PM

Chris

Have a look at ST's DFU tester then write your re- flash program!!!!

 

THANKS FOR NOTHING!



#108 markdotnet

markdotnet

    New Member

  • Members
  • Pip
  • 3 posts

Posted 06 September 2014 - 05:27 AM

Hi Chris,

Thanks for quick reply!

I powered down the my NP2 board, pressed onboard button and connected to USB (I did it before my original post, just to clarify). I see in device manager under Other Devices node 'STM32 BOOTLOADER' entry, but with yellow exclamation sign. So I read through documentation and manually added correct driver for it and was able to see "ST Device in DFU Mode".

 

After that was resolved, I successfully went through flashing process and was able to debug one of my projects! :lol:

Then, out of curiosity I tried to debug last project before problem happened. It's HttpServer.sln sample project that comes with Microsoft .NET Micro Framework 4.2 install (I suppose) and is located at:

C:\Users\...\Documents\Microsoft .NET Micro Framework 4.2\Samples\HttpServer

I attached .rar file for that project as well.

 

I put breakpoint on the first line in Main(), clicked F5 and I've got my original problem right away, i.e. (Error: No response from device) in VS2010 and not able to ping it from MFDeploy.

 

This time however I was able to reflush it again and use board with my other projects!! :P

 

So, this is not holding me anymore, just curious why that sample project causes such misbehaviour on the board.

 

Many thanks, Chris!

oleg

 

Very interesting.  I was working on a Websocket project when my board died.  It appears to have failed exactly like yours.  Under Device Manager, it's reporting "STM32 BOOTLOADER" with the yellow exclamation point.  Where do I get the driver for it?



#109 lennygran

lennygran

    New Member

  • Members
  • Pip
  • 2 posts

Posted 28 September 2014 - 05:11 PM

The  ST DfuSe Demonstrator v3.0.2 crashes in the middle of Update process. Please help.



#110 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 02 October 2014 - 06:20 PM

Hi lennygran,

The  ST DfuSe Demonstrator v3.0.2 crashes in the middle of Update process. Please help.

Did you select "verify" in DFUSE? If so, try redoing the update without the verify option. There is a bug in DFUSE which can crash during the verify operation.

Netduino Update doesn't have this issue (in case you want to move to the 4.3.1 firmware...that's a good option :) ).

Chris

#111 bradygaster

bradygaster

    Member

  • Members
  • PipPip
  • 15 posts

Posted 06 December 2014 - 05:44 AM

3. Erase the firmware on your Netduino using the STDFU Tester v3.0.1 application

 

I downloaded the files, installed the app, and tried to use it, but the STDFU app won't ever open. It gives me a hard error each time. I'm using Win 8.1, just as an FYI. Not sure what's up, but I can't connect to either of my Netduino 2 devices (not plusses) after installing a rogue prototype  app on them that's causing non-responsiveness. MFDeploy can't connect either, so I'm totally DOA right now. Any ideas on how to unblock?



#112 bradygaster

bradygaster

    Member

  • Members
  • PipPip
  • 15 posts

Posted 06 December 2014 - 06:28 AM

I was able to fix this. Not sure if this was buried in the forums but if not, here's the link to the newest one. Once I installed this everything worked. 

 

http://www.st.com/st...sw-stm32080.zip



#113 ukkiwisurfer

ukkiwisurfer

    Advanced Member

  • Members
  • PipPipPip
  • 32 posts
  • LocationLondon

Posted 15 October 2015 - 03:36 PM

Hi,

 

I've noticed an interesting issue with the latest version of the firmware. I upgraded my Netduino Plus 2 to run 4.3.2.2 and the following fails on this version of the firmware.

 

public DateTime GetNetworkTime(string hostName = "time-a.nist.gov")

{

            var hostEntry = Dns.GetHostEntry(hostName);

.....

}

 

Rolling back to 4.3.2.1 of the firmware and the same code executes fine with no changes.

 

I'm pretty sure there is a firmware issue as I received my Netduino 3 (Ethernet) board today and deployed my application to the new board (it is running 4.3.2.2 out of the box). It fails on the same line of code.

 

An unhandled exception of type 'System.Exception' occurred in Netduino.IP.LinkLayers.AX88796C

 

Any suggestions?

 

Thanks.



#114 ukkiwisurfer

ukkiwisurfer

    Advanced Member

  • Members
  • PipPipPip
  • 32 posts
  • LocationLondon

Posted 15 October 2015 - 07:06 PM

Hi Bradygaster,

 

I had a similar type of issue (non responsive board) with a Netduino Plus 2. I used the latest application for updating the Netduino firmware (NetduinoUpdate.exe) to wipe my problematic application from the board.

 

Thanks,

Jason.



#115 ukkiwisurfer

ukkiwisurfer

    Advanced Member

  • Members
  • PipPipPip
  • 32 posts
  • LocationLondon

Posted 15 October 2015 - 07:14 PM

Hi Chris,

 

Following on from my comment to Bradygaster I discovered that the issue I was having was related to calling File.Delete(filePath). At this point the board became unresponsive and I had to wipe the application from the board (Netduino Plus 2).

 

The code had worked for some time without an issues and then started having these freezes (reproducible every time). In the end I had to reformat the SD card and since then it seems to have been working ok.

 

My only guess is that buried down in the NETMF code it got stuck trying to access the SD filesystem and couldn't break out of either a resource contention or attempted to access the required resources without any sort of timeout.

 

Thanks,

Jason.



#116 TechnoGuy

TechnoGuy

    Advanced Member

  • Members
  • PipPipPip
  • 51 posts
  • LocationCanada

Posted 15 October 2015 - 07:57 PM

Hi,

 

I've noticed an interesting issue with the latest version of the firmware. I upgraded my Netduino Plus 2 to run 4.3.2.2 and the following fails on this version of the firmware.

 

public DateTime GetNetworkTime(string hostName = "time-a.nist.gov")

{

            var hostEntry = Dns.GetHostEntry(hostName);

.....

}

 

Rolling back to 4.3.2.1 of the firmware and the same code executes fine with no changes.

 

I'm pretty sure there is a firmware issue as I received my Netduino 3 (Ethernet) board today and deployed my application to the new board (it is running 4.3.2.2 out of the box). It fails on the same line of code.

 

An unhandled exception of type 'System.Exception' occurred in Netduino.IP.LinkLayers.AX88796C

 

Any suggestions?

 

Thanks.

 

Hi,

 

You've posted comments about version 4.3.2.x of the Netduino Plus 2 firmware in a 2-year old thread which is concerned with an earlier version of the firmware (4.2.2.x).

 

I think it would be better for you to start a new thread.

 

What I will tell you here is that, although there is a downloadable file called Netduino Firmware 4.3.2.3 (September 2015) currently posted as being available, it actually contains multiple individual firmware updates that are targeted at 6 different Netduino variants.  The firmware version for the Netduino Plus 2 is only at 4.3.2.1 within that file.

 

If you'd care to start a new thread I'd be happy to continue the discussion with you there about what I think the problem is.


- Ian

 

My Current Dev Boards:

  • 3 x Netduino Plus 2
  • 1 x Netduino 3 WiFi




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.