Netduino Firmware v4.2.0 RC5 (Netduino + Netduino Plus)
#101
Posted 21 July 2012 - 06:26 PM
#102
Posted 22 July 2012 - 03:14 AM
Hi Novice Alex,
You can safely use the regular Netduino firmware on your Netduino Plus.
To do this you will want to: erase your board by applying 3V3 power to the gold erase pad underneath D0; flash TinyBooter using Atmel SAM-BA; flash the NETMF runtime using MFDeploy.
Full instructions are available on the Wiki.
Once you flash the regular Netduino firmware on your Netduino Plus, you can use the SecretLabs StorageDevice class to ".MountSD" and re-enable SD card access.
Chris
Hi Chris,
Just like to double confirm. I have successfully update the Netduino firmware onto my Neduino+. So when I start a project, do I set it as Netduino/Netduino+ project? Also in my case, do you have any sample code on mounting the SD card.
Also by using Netduino firmware on access SD card, will i be giving up any digital pins access?
Separately, do I need to mount & un-mount the SD card everything I use? Or only for once during system power up?
Thanks in advance.
#103
Posted 22 July 2012 - 05:18 AM
You should create a project as a "Netduino" project when targeting the "regular" Netduino firmware.Just like to double confirm. I have successfully update the Netduino firmware onto my Neduino+. So when I start a project, do I set it as Netduino/Netduino+ project? Also in my case, do you have any sample code on mounting the SD card.
Also by using Netduino firmware on access SD card, will i be giving up any digital pins access?
Separately, do I need to mount & un-mount the SD card everything I use? Or only for once during system power up?
When using the MicroSD card built into Netduino Plus, you will not give up any pins. The digital/analog pins are all separate and distinct microcontroller pins.
Here's some code for mounting the SD card (change the SPI to SPI2 and the pin # to the pin used for MicroSD on Netduino Plus):
StorageDevice.MountSD("SD", SPI_Devices.SPI1, Pins.GPIO_PIN_D10);
If you add the fourth parameter (chip select line) then you'll even get auto-mount/dismount of the SD card.
Chris
#104
Posted 23 July 2012 - 12:11 PM
Let's play "Spot the dumbass" !
Which genius didn't bother to check whether any other devices on his network had 192.168.0.100? Hmmmmm, that would be me.
On the bright side, now we all know that when DNS requests work for about 70 sec and then fail, it's probably an address collision.
Having resolved the address collision everything is now hunky dory.
On another note, Chris, you are a marvel, another 8K makes an unbelievable difference to my little logger.
LOL happened to me on sunday at my father house. So, you're not the only one
#105
Posted 23 July 2012 - 05:27 PM
...now we're just waiting for the next beta (which is waiting on .NET MF 4.2 QFE2).
4.2 QFE2? Where did that come from? I just went on the on the netmf.codeplex.com site and I see a reference to a planned QFE2 release with WinUSB support. What else is in this release? More fixes?
-Valkyrie-MT
#106
Posted 23 July 2012 - 06:09 PM
I believe that is the crux of the QFE as the usb driver issue seems to effect most/all boards using 4.24.2 QFE2? Where did that come from? I just went on the on the netmf.codeplex.com site and I see a reference to a planned QFE2 release with WinUSB support. What else is in this release? More fixes?
-Valkyrie-MT
Nak
#107
Posted 24 July 2012 - 01:48 AM
#108
Posted 24 July 2012 - 07:51 AM
Yes, it also affects our Mountaineer boards.I believe that is the crux of the QFE as the usb driver issue seems to effect most/all boards using 4.2
#109
Posted 24 July 2012 - 09:28 AM
#110
Posted 24 July 2012 - 09:56 AM
Not quite released yet, but announced and it should become available soon.NET MF 4.2 RTM (QFE2) is released, containing a lot of interesting stuff.
#111
Posted 24 July 2012 - 10:13 AM
#112
Posted 31 July 2012 - 05:26 PM
Hey all -6. Click "Browse..." and select the unzipped files from step #1 (ER_CONFIG and ER_FLASH).
7. Press "Deploy". It will take a few minutes to update your Netduino.
8. For Netduino Plus: Select the Target > Configuration > Networking menu. You will need to re-enter your IP address settings and MAC address. We will try to eliminate this step in the future.
New here, but I thought I'd chime in -
So far, upgrading is going fine, but on the link posted later in this thread (http://wiki.netduino...ep-by-step.ashx) it references setting the MAC address BEFORE doing the 'Deploy'. Apparently, you can't do it BEFORE, you have to do it AFTER. (I know, this may be basic (no pun intended) for most of you, but seeing as how updating the firmware was the *second* thing I've done with my new board, I wasn't aware of it..!)
--Mike.
#113
Posted 31 July 2012 - 10:58 PM
Hi all,If you experience bugs with the .NET MF 4.2 RC5 firmware, please post about it in this thread.
I developed a program for Netduino Plus to work (read/write) with Micro SD 4GB.
This program worked perfect with firmware v4.1.1 betta, but after upgrading to firmware v4.2.0 RC4, I got these errors:
A first chance exception of type 'System.NotSupportedException' occurred in Microsoft.SPOT.IO.dll A first chance exception of type 'System.NotSupportedException' occurred in System.IO.dll System.NotSupportedExceptionWould you please help me solve this problem?
Special Thanks,
Mohammad
#114
Posted 31 July 2012 - 11:06 PM
#115
Posted 02 August 2012 - 10:01 AM
Hi all,
I developed a program for Netduino Plus to work (read/write) with Micro SD 4GB.
This program worked perfect with firmware v4.1.1 betta, but after upgrading to firmware v4.2.0 RC4, I got these errors:
4.2 does not YET support 4G uSD
I have been politely pestering Chris for a little while now but he's a bit busy. Your code is fine, you need only be patient. In the meantime, you can develop and test using a 2G uSD card.
#116
Posted 04 August 2012 - 03:51 AM
Was this working for you in .NET MF 4.1?' This line fails on Netduino 4.2 RC5
_listenSocket.SetSocketOption(SocketOptionLevel.IP, SocketOptionName.AddMembership, multicastOpt)
The big update to networking is slated for NETMF 4.3, which should be entering beta soon. There are a large number of networking-related enhancements and a few bugfixes coming with that update.
Chris
#117
Posted 04 August 2012 - 07:08 PM
#118
Posted 06 August 2012 - 12:46 AM
#119
Posted 06 August 2012 - 03:08 AM
Can you post a small repro app for us to look at? Generally speaking, NETMF 4.1 code should run as-is under NETMF 4.2.Any ideas where I should look next? Runs fine on my ND+ under 4.1 (I am sure it is something obvious)
Chris
#120
Posted 06 August 2012 - 12:30 PM
HI AxelG,
Can you post a small repro app for us to look at? Generally speaking, NETMF 4.1 code should run as-is under NETMF 4.2.
Chris
I will try to later this week, but this is part of a larger program and I will need to create a smaller app to reproduce. Basically, I am defining the port, then assigning some interrupts and event handlers, and then opening the port - which is where I get this failure; but only on COM2. COM1 works fine...
I was also dealing with BSODs yesterday and just decided to update all my NDs to 4.2. That helped a lot; but still getting them on reboots.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users