Firmware update
#1
Posted 14 March 2012 - 09:26 PM
#2
Posted 14 March 2012 - 09:39 PM
It looks like you're still deploying some 4.1 assemblies with your application. Did you change the target framework from .NET MF 4.1 to .NET MF 4.2 in the project properties?SecretLabs.NETMF.Hardware.NetduinoPlus,4.1.0.0
SecretLabs.NETMF.Hardware,4.1.0.0
You might want to manually replace the few assemblies in your project references which are targeting the old version. That shouldn't happen--but it appears that there's a mismatch somehow.
Did you uninstall the .NET MF 4.1 and Netduino 4.1 SDKs...and install the .NET MF 4.2 QFE1 SDK and Netduino 4.2 Beta SDK?
Chris
#3
Posted 15 March 2012 - 01:51 PM
Hi Wim,
It looks like you're still deploying some 4.1 assemblies with your application. Did you change the target framework from .NET MF 4.1 to .NET MF 4.2 in the project properties?
You might want to manually replace the few assemblies in your project references which are targeting the old version. That shouldn't happen--but it appears that there's a mismatch somehow.
Did you uninstall the .NET MF 4.1 and Netduino 4.1 SDKs...and install the .NET MF 4.2 QFE1 SDK and Netduino 4.2 Beta SDK?
Chris
I changed the target framework in the project to MF 4.2, since a warning message tells you to do so if it is configured wrongly.
I did not uninstall MF 4.1, nor Netduino 4.1 SDK, because I thought they can live next to each other.
I understand it's better to remove them first and just install 4.2 for both? Can I still switch to 4.1 for the second Netduino I own? It's not realy important, because as soon as 4.2 works I will upgrade the other board aswell.
Thnx in advance,
Wim Roeling
#4
Posted 15 March 2012 - 02:16 PM
Hi Wim,I did not uninstall MF 4.1, nor Netduino 4.1 SDK, because I thought they can live next to each other.
I understand it's better to remove them first and just install 4.2 for both? Can I still switch to 4.1 for the second Netduino I own? It's not realy important, because as soon as 4.2 works I will upgrade the other board aswell.
If you remove 4.1 and install 4.2, you can still develop projects in 4.0, 4.1 and 4.2. It has downwards compatibility.
Hopefully that'll answer your question! Please let us know if you need any help.
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
#5
Posted 15 March 2012 - 08:08 PM
I removed 4.1 and reinstalled 4.2. The test program (blinking LED) is working properly now on the updated Netduino, but all other apps that I made (needing network support and an LCD display) fail to run.Hi Wim,
If you remove 4.1 and install 4.2, you can still develop projects in 4.0, 4.1 and 4.2. It has downwards compatibility.
Hopefully that'll answer your question! Please let us know if you need any help.
MFDeploy device info shows the info below now. I'm worried about "SecretLabs.NETMF.IO,4.1.0.0". Still version 4.1 apparently.
DeviceInfo:
HAL build info: 4.2.0.0, Netduino Plus (v4.2.0.0 RC4) by Secret Labs LLC
OEM Product codes (vendor, model, SKU): 255, 255, 65535
Serial Numbers (module, system):
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Solution Build Info: 4.2.0.0, Netduino Plus (v4.2.0.0 RC4) by Secret Labs LLC
AppDomains:
default, id=1
Assemblies:
mscorlib,4.2.0.0
Microsoft.SPOT.Native,4.2.0.0
Microsoft.SPOT.Hardware,4.2.0.0
Microsoft.SPOT.Net,4.2.0.0
System,4.2.0.0
Microsoft.SPOT.Hardware.SerialPort,4.2.0.0
Microsoft.SPOT.IO,4.2.0.0
System.IO,4.2.0.0
Microsoft.SPOT.Hardware.PWM,4.2.0.0
Microsoft.SPOT.Hardware.Usb,4.2.0.0
SecretLabs.NETMF.Hardware,4.2.0.0
SecretLabs.NETMF.Diagnostics,4.2.0.0
SecretLabs.NETMF.IO,4.1.0.0
Kobush.NETMF.Hardware.LCD,1.0.0.0
SecretLabs.NETMF.Hardware.NetduinoPlus,4.2.0.0
NetduinoPlusApplication4,1.0.0.0
#6
Posted 15 March 2012 - 08:10 PM
#7
Posted 15 March 2012 - 10:15 PM
I didn't need that assembly after all, so I organized my usings and deleted it.Hi Wim,
Remove that assembly from your project references, and then add this one in instead:
C:\Program Files (x86)\Secret Labs\Netduino SDK\Assemblies\v4.2\SecretLabs.NETMF.IO.dll
Chris
But still the 4.2 Netduino is refusing to work properly. Very small projects (like a blinking LED and that sort of stuff) work fine, but more complex projects all fail. Even stranger: A complex project that I almost completely stripped while leaving the unused methods in the project also fails. (Size of assemblies 16752 bytes). It doesn't even get into the first instruction in the debugger. I'm really puzzled now. The network seems to be ok (I can ping the device) but that's all the life I can see. My LCD display does nothing, etc..
My other Netduino with firmware 4.1 runs all those same projects OK.
------------------------------------------------------------------------------
FORGET ALL THE ABOVE - It's working fine now!!! I forgot to deploy a sub project to the 4.2 target framework. The compiler does not give a warning for this, like it does for the main project. Thanks for your patience anyway!
#8
Posted 15 March 2012 - 10:19 PM
#9
Posted 15 March 2012 - 10:23 PM
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
#10
Posted 16 March 2012 - 09:05 AM
Chris,Hi Wim,
Very strange. There's a lot of new code in .NET MF 4.2 beta, but we're having pretty good luck around here with RC4.
If you can boil down a repro case to a few dozen lines of code...I'd love to test it and help get to the root of the issue.
Chris
I goto it to work yesterday, as you can see from my previous reply. Thanks anyway!
#11
Posted 16 March 2012 - 09:06 AM
Yes, I am from the NL, Vlaardingen.Wim, if it may help, do you live nearby Breda? You're from the NL right? If so, I would love to help out?
And as you can see I finally did a successful update to 4.2 after all.
#12
Posted 16 March 2012 - 09:52 AM
Oh awesome, so no trip to Vlaardingen this weekend, darn. I love the harbors thereYes, I am from the NL, Vlaardingen.
And as you can see I finally did a successful update to 4.2 after all.
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users