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 Plus 1 Firmware v4.2.0 (update 1)


  • Please log in to reply
144 replies to this topic

#61 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 27 December 2012 - 05:27 AM

Hi lardcanoe,

 

Running Windows 8 and updating my Plus from 4.1 to 4.2. I managed to get through all the steps in about 15 minutes. Had MFDeploy showing me the new firmware. I was so happy with myself. I then went to deploy my program from VS to the netduino, and that's when the fun started. The deploy started and then was hanging. To make a long story (2 hours) short, I managed to get at least 75% of the errors in this thread as I went through debugging the problem. I'm finally able to deploy. A few hints... Rebooting my PC between device manager changes made a huge difference. Things that wouldn't work magically did after a reboot (obviously since this is Windows). And when unplugging the netduino and plugging it back in, I found i needed at least a 10s pause, otherwise it would show up as an unrecognized device. This led me to perform all sorts of unneeded steps. So throw in some reboots, and count to 10, slowly.

 

Thank you for your post and your feedback.

 

If you manually switch to the legacy MFUSB drivers, do things work better for you?  The MFUSB drivers seem to work great on most machines...but on the few where the two don't agree, reverting to the legacy drivers tend to make things better.

 

Welcome to the Netduino community,

 

Chris



#62 Toine db

Toine db

    New Member

  • Members
  • Pip
  • 3 posts

Posted 30 December 2012 - 05:13 PM

Hello,

 

I have a N+ and can't find the Netduino during the "http://wiki.netduino...ep-by-step.ashx" after flashing to "Enable Flash access".

 

My Windows 8 Pro installations finds device, but can not find a driver for this. (even after manualy trying to set winusb or mfusb)

I have tried to reinstall all version for 4.1 again but no succes, and even tried the same with 4.2 and again with no succes.

 

At this moment the N+ led stays on, but I can't reach the device to update/flash to any new or old firmware.

 

Any ssuggestions how to fix this?

 



#63 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 31 December 2012 - 12:06 AM

Hi Toine db,
I have a N+ and can't find the Netduino during the "http://wiki.netduino...ep-by-step.ashx" after flashing to "Enable Flash access".
...
At this moment the N+ led stays on, but I can't reach the device to update/flash to any new or old firmware.
After "enabling flash access", do you then flash the TinyBooterloaderDecompressor.bin file? And verify that it was written correctly?

If yes, what does your Netduino appear as in Device Manager?

Chris

#64 Toine db

Toine db

    New Member

  • Members
  • Pip
  • 3 posts

Posted 31 December 2012 - 10:07 AM

Hi Toine db, After "enabling flash access", do you then flash the TinyBooterloaderDecompressor.bin file? And verify that it was written correctly? If yes, what does your Netduino appear as in Device Manager? Chris

 

Tnx for the response.

 

I had selected the TinyBooterloaderDecompressor.bin to Flash and pushed "Execute".

But I have never seen the 'lock region' question.... (waited for 10 minutes)

 

The device is now in the device manager as "unknown device".

But I have tried it with winusb or mfusb and it gave error code 10, could not start device and not visible at MFDeploy and SAMBA.



#65 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 01 January 2013 - 04:54 AM

Hi Toine db,

 

I had selected the TinyBooterloaderDecompressor.bin to Flash and pushed "Execute".

But I have never seen the 'lock region' question.... (waited for 10 minutes)

 

The device is now in the device manager as "unknown device".

But I have tried it with winusb or mfusb and it gave error code 10, could not start device and not visible at MFDeploy and SAMBA.

 

Could you please erase and re-flash the board one more time?  But this time, do a few extra things?

  • After executing "enable flash", execute "erase all flash".  Then "set flash as boot" as before.
  • After starting the firmware flashing, be careful not to switch windows.  It's possible for the status box and questions to appear _behind_ the current window.

BTW, just to verify: are you using the latest SAM-BA (2.12 + patch)?

 

Chris



#66 strent

strent

    Advanced Member

  • Members
  • PipPipPip
  • 34 posts

Posted 03 January 2013 - 02:33 PM

Hi strent, An update with OneWire will be published in mid-December. Hopefully .NET MF 4.3 will be ready to go too. It'll be a big month for firmware updates. Chris

 

Hi Chris,

 

Any update on this?



#67 Toine db

Toine db

    New Member

  • Members
  • Pip
  • 3 posts

Posted 13 January 2013 - 11:31 AM

Hi Toine db,

 

 

Could you please erase and re-flash the board one more time?  But this time, do a few extra things?

  • After executing "enable flash", execute "erase all flash".  Then "set flash as boot" as before.
  • After starting the firmware flashing, be careful not to switch windows.  It's possible for the status box and questions to appear _behind_ the current window.

BTW, just to verify: are you using the latest SAM-BA (2.12 + patch)?

 

Chris

 

Hello Chris,

 

Sorry for the late response and thank you very much for your help.

 

It finaly worked for me, I don't know exactly what went wrong.

 

The only thing I missed was the Patch for sam-ba, after I patched sam-ba all worked fine.

 

Thanks again!



#68 Photon

Photon

    New Member

  • Members
  • Pip
  • 1 posts

Posted 21 January 2013 - 08:43 PM

It looks like I may have bricked the Netduino Plus during the update:

 

1) Erased via the gold contact

2) Using SAM-BA I deployed new bootloader

3) Using MFDeploy I uploaded new FW - all was fine, all the pings were OK

4) I tried to this step: b. Select the Target > Configuration > Networking menu. Re-enter your IP address settings and MAC address.

---

it ended with an error and after power cycle, blue LED wouldn't come on, now I have no ping from device, I can still erase and use SAM-BA just fine to upload new bootloader, but after a power cycle, no ping in MFDeploy. Erase all flash does not help me. Blue LED is on.

 

Is it possible that corrupted network settings persist and prevent the device from functioning properly? It still identifies as Netduino in device manager, but that's about it. I can't upload FW to it. Is there something I can do to make it work again? I'm pretty sad now.

 

Thanks



#69 njctechno

njctechno

    New Member

  • Members
  • Pip
  • 1 posts

Posted 21 January 2013 - 10:14 PM

Hi, I followed the procedure to load the latest bootloader into my netduino plus 1 using sam ba. but when i run mfdeploy and select USB i don't see the netduino in the select box. It used to come up when it was a 4.1. Any ideas?



#70 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 21 January 2013 - 10:59 PM

Hi Photon,
4) I tried to this step: b. Select the Target > Configuration > Networking menu. Re-enter your IP address settings and MAC address.
With .NET MF 4.2, you need to put the board into TinyBooter mode to change the network settings. To do this, press and hold the pushbutton while plugging in the Netduino Plus to your PC. Then release the pushbutton and change the network settings. In TinyBooter mode, you can also re-deploy the ER_CONFIG and ER_FLASH files (which should get your board booting again). Does that help? Chris

#71 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 21 January 2013 - 11:00 PM

Hi njctechno,
Hi, I followed the procedure to load the latest bootloader into my netduino plus 1 using sam ba. but when i run mfdeploy and select USB i don't see the netduino in the select box. It used to come up when it was a 4.1. Any ideas?
Did you install the latest Netduino 4.2.2 SDK? The Netduino 4.2 firmware uses WinUSB instead of MFUSB drivers by default. These drivers are included in the 4.2.1+ SDKs. You will also need to make sure you're running the NETMF 4.2 QFE2 SDK or newer. If in doubt, uninstall both SDKs and then re-install them from the links on the Downloads page. Does that help? Chris

#72 hanzibal

hanzibal

    Advanced Member

  • Members
  • PipPipPip
  • 1287 posts
  • LocationSweden

Posted 02 February 2013 - 09:34 PM

Could anyone please tell me how to disable networking on an  N+ using the  v4.2.0.1 firmware?

 

Please don't ask my why I want to do that, just gimme da friggin info  :D

 

Thanks!



#73 hanzibal

hanzibal

    Advanced Member

  • Members
  • PipPipPip
  • 1287 posts
  • LocationSweden

Posted 02 February 2013 - 10:05 PM

It just occurred to me that I would simply flash fw of the regular Netduino so I'll go ahead and do that :-)

#74 hanzibal

hanzibal

    Advanced Member

  • Members
  • PipPipPip
  • 1287 posts
  • LocationSweden

Posted 03 February 2013 - 12:29 AM

It worked but naturally, I lost the SD card too so I guess there's a better way after all.

 

Does anybody know how to disable networking on the Netuino 1 plus?



#75 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 03 February 2013 - 01:49 AM

It worked but naturally, I lost the SD card too so I guess there's a better way after all.   Does anybody know how to disable networking on the Netuino 1 plus?

You can add back in the SD support using the SecretLabs.NETMF.IO assembly. Call StorageDevice.MountSD and be sure to pass in the "card inserted" pin. That should put you on par with Netduino Plus 1--minus networking :) Chris

#76 hanzibal

hanzibal

    Advanced Member

  • Members
  • PipPipPip
  • 1287 posts
  • LocationSweden

Posted 03 February 2013 - 02:37 AM

Hmm...thought I tried mounting, must have made a mistake so I'll try again.

 

Passing in the card detect pin in the chip select parameter very was clever, because that's what you meant right?

 

EDIT: 

BTW, could you please tell me the N+ SPI clock speed used for on-board uSD?



#77 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 03 February 2013 - 02:54 AM

Passing in the card detect pin in the chip select parameter very was clever, because that's what you meant right?

Yes. That should give you identical behavior to what Netduino Plus 1 does by default..

BTW, could you please tell me the N+ SPI clock speed used for on-board uSD?

10000 (10 mbit/sec). Chris

#78 hanzibal

hanzibal

    Advanced Member

  • Members
  • PipPipPip
  • 1287 posts
  • LocationSweden

Posted 03 February 2013 - 04:27 AM

Ok, thanks!

#79 endo

endo

    Member

  • Members
  • PipPip
  • 14 posts

Posted 07 February 2013 - 03:23 PM

Hi Support,

 

Do we have the Netduino Plus 4.2.0 update 1 source code available to build custom firmware with the QFE2 PK?

 

Thanks,

endo

 



#80 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 07 February 2013 - 04:29 PM

Hi endo,

Do we have the Netduino Plus 4.2.0 update 1 source code available to build custom firmware with the QFE2 PK?

Yes, just grab the "Netduino 1 Firmware v4.2 Source" at the following link:
http://www.netduino.com/downloads/

Chris




1 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users


    Google (1)
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.