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

Unexpected Error when leaving DFU Netduino plus 2


  • Please log in to reply
6 replies to this topic

#1 endo

endo

    Member

  • Members
  • PipPip
  • 14 posts

Posted 22 January 2013 - 04:51 PM

 Hi Support,

 

I have attempted to install the NetduinoPlus2_Firmware_4.2.2.0.dfu firmware release and

am unable to recover after flashing.

 

These are my steps.

1. Using DFU Flasher select protocol and Create Empty. Next I selected Erase and Go

2. In dfuSe Demo v 3.0 I select verify after download and choose the above DFU file

It programs ok and verifies. When I press Leave DFU it gives me an error at 49%

 

->Error Code Unexpected error

Operation: Return

Transfer size: 2048

DFU STate: State DFU_IDLE

DFU Stauts: STatus_OK

Request: Awating UNPLUG EVENT

CurrentNBlock: 0x000

CurrentLength: 0x000

Percent 49%

 

When rebooting the Netduino is not detected. I can only get into DFU mode at this point.

This is happening on both of my new boards. Please advise.

Thanks.

 

endo



#2 Gutworks

Gutworks

    Advanced Member

  • Members
  • PipPipPip
  • 363 posts
  • LocationOttawa, Ontario

Posted 22 January 2013 - 05:28 PM

Hi endo, 

 

To erase your Netduino Plus 2 you need to do the following:

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 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

 

In your description you are using "Create Empty" and it should be "Create from Map".

 

Once the erase procedure has completed close the STDFU Tester applicaiton and open up DfuSe Demonstrator without unplugging your Netduino. Then follow these instructions laid out by Chris:

4. Flash the attached .DFU file using the ST DfuSe Demonstrator 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"

 

This should work smoothly but just make sure you don't quit the DfuSe Demonstrator application until the process is complete.

 

Hope this helps.

 

Steve



#3 endo

endo

    Member

  • Members
  • PipPip
  • 14 posts

Posted 22 January 2013 - 05:56 PM

I selected create from MAP and erased again.

 

Same ERROR after programming with the NetduinoPlus2_Firmware_4.2.2.0.dfu

 

I am using DfuSe_Demo_V3.0_Setup.exe for the programming. Is that correct?



#4 endo

endo

    Member

  • Members
  • PipPip
  • 14 posts

Posted 22 January 2013 - 07:34 PM

I have followed the exact steps several times, is there anything else to get this up and running?

 

Thanks,

endo



#5 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 22 January 2013 - 07:37 PM

Hi endo,

Are you using Dfuse 3.0.2 or 3.0.0? Here's the link to 3.0.2:
http://www.st.com/in...DEMO/um0412.zip

Chris

#6 endo

endo

    Member

  • Members
  • PipPip
  • 14 posts

Posted 22 January 2013 - 07:53 PM

Sweet! working like a champ! Note: DfuSe v3.00 does not work.



#7 howard_li

howard_li

    New Member

  • Members
  • Pip
  • 2 posts

Posted 27 January 2013 - 04:16 PM

Same problem. Thanks all of you.






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.