Today I got my fez spider starter kit.
after some driver trouble i finally managed to upgrade the firmware.
Next i followed the starter guide to make a first test project but I am unable to deploy it to the device.
The output complains that the Assembly of Microsoft.SPOT.Hardware (4.2.0.0)
doesn’t match the firmware.
message:
ERROR!!! Firmware version does not match managed code version!!! *
I re-updated the firmware, but it makes no difference.
I have another question. If I deploy a project that uses extra modules, do the modules have to be connected when I debug?
I tried with and without the modules attached, doesn’t seem to make a difference though.
@ david: yes i’ve updated the spider firmware 2 times now (using the fezspider firmware updater tool). both times it was successfull
If the firmware is 4.2.x.x then you problably have a reference to a 4.1.x.x in your project.
You should be able to see what dll in the output window when you try to deploy.
This bit of the error worries me * Invalid native checksum: Microsoft.SPOT.Hardware 0x7765AC69!=0xBF718024
Open mfdeploy and go to device/info ( I think that’s where it is) that should show you the firmware versions etc.
When you updated the spider you set the dip switches right? Did you switch them back and then reset the board?
@ gus: I just updated the firmware succesfully (or so the tool said).
I also created a new project (gadgeteer netmf v4.2), redesigned and copied the code.
Same result.
here’s the complete output after debugging:
Create TS.
Did you also install the .netmf 4.2 Sdk as well as the ghi and gadgeteer sdks?
Here is the link from the support page https://netmf.codeplex.com/releases/view/91594
I would be tempted to in install all sdks and re install starting with the .netmf Sdk then run the ghi installer package. Then re flash the spider etc
As mike says, if you have 4.1 installed then the firmware updater can see that as the path for the firmware, make sure the source path is the 4.2 location.
@ gus: I allready started a new project yesterday.
I uninstalled the NETMF version 1 yesterday via the control panel (programs and features).
Then I reinstalled version 4.2 and all the sdk’s.
I checked the installation and the mainboard folder (C:\Program Files (x86)\GHI Electronics\GHI .NET Gadgeteer SDK\Mainboards\FEZSpider) as well as several of the module folders has both the NETMF 4.1 as the NETMF 4.2 folder.
When I use the .Net Gadgeteer Application (NETMF 4.2) project template, It automatically references the gadgeteer 4.1 assembly instead of the 4.2. In the previous projects I deleted those references and pointed them to the 4.2 version.
But which one should I use?
For instance 4.2 mainboard dll (GHIElectronics.Gadgeteer.FEZSpider) can be found in three different locations:
I’ll try to change all the references for the new blank project. If that doesn’t work I think it would be best to uninstall and delete all GHI/gadgeteer/micro framework stuff and reïnstall everything.
again thanks for all the suggestions everyone!!
EDIT: it seems that every time I connect all module in the designer it automatically changes the reference back to the 4.1 assembly. even when I delete the reference and add a new one pointing to the 4.2 version, when it’s added, it still points to the 4.1 assembly.
basically computer says no