Hello to all,
Some lines to present myself:
I'm new to netduino but I'm an experienced full .net and Compact Framework developer from Italy, used to work with API from .net (so using much "low level" programming, if we may call "low level" something inside .net code )
I've developed my first, production program for netduino 2, updated with 4.3.1 firmware using 4.3 QFE2 MF SDK.
Very flawless experience, I could get it done in a workday!
My program is a digital I/O remoter: I'll connect netduino 2 to a Panel PC's RS232 (using netduino COM4, to not eat two digital I/O) and I'll read and write I/O from the panel PC, using a simple and documented protocol I've created (in the same workday).
I've even created a watchdog thread on my netduino program that will reset device if the main thread is locked (not the perfect solution but as we can't use the real watchdog it's better than nothing)
All is managed with interrupts and spontaneous sends on RS232 so that from the panel pc software I don't have to poll for input pin changes.
This is working VERY NICELY, and I'm astonished I could do it in a workday!
Now to the point:
using Visual Studio I can deploy without problems, press F5 and there we are. Now I have to pass the software to our company people that will prepare 20 netduino2 for a customer, so I was guessing to use MFDeploy for that. I've correctly created the .hex file so to pass the hex file to the people who will prepare the boards, they'll have only to deploy the .hex file to the 20 netduino2.
But I cannoy get MFDeploy to deploy anything! I correctly see netduino, I can ping it (reply is from TinyCLR) but pressing the Deploy button an error stating "Error: No response from device" is shown.
(see attached screenshot)
I'm I missing something? Should I deploy all 20 boards with Visual Studio "F5"...? Is there some incompatibilities with 4.3.1 firmware? Please help me...
EDIT: Using MFDeploy from 4.2 SDK I'll go a step further but then MFDeploy is complaining about .sig file. Please check attached file:
EDIT 2: Searching and searching anywhere about it I've found an old Chris reply about ignoring signature chack failing, unplug and replug the device that it should work ok. I did it and... that's true!
RESUME TO GET A WORKING SOLUTION:
If you have 4.3.1 firmware on the N2 and 4.3.x SDK installed MFDeploy will not work. You have to install MFDeploy from 4.2 SDK (personally I've installed the old SDK on a colleague PC to not mess my SDK and copied only the folder C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.2\Tools (C:\Program Files\Microsoft .NET Micro Framework\v4.2\Tools on 32bit machines) from the PC where I've installed the 4.2 SDK to mine. You'll find that folder as already existant, that's ok but don't overwrite existing files.
Now you have MFDeploy 4.3 in the 4.3\Tools folder and MFDeploy 4.2 in the 4.2\Tools folder. Use 4.2 MFDeploy to create and deploy the .hex file and when it's complaining about .sig file just ignore the message, in reality all was correctly done. Just unplug the device (to turn it off) and replug it. Your program will start.
Thank you in advance,
Henrik Sozzi