Main Site Documentation

How to do the deployment by Fez Panda


#1

In order to learn .Net Micro Framework, I bought a Fez Panda recently.
I need a completed test since I bought it from the Internet. But I’m not familiar with it, so I wrote a simple program(Shining LED).

Upgrade the firmware before the deployment

From,
SolutionReleaseInfo.solutionVersion: 4.1.1.0
SolutionReleaseInfo.solutionVendorInfo: GHI Electronics, LLC
SoftwareVersion.BuildDate: Aug 9 2010
SoftwareVersion.CompilerVersion: 310739

To,
SolutionReleaseInfo.solutionVersion: 4.1.3.0
SolutionReleaseInfo.solutionVendorInfo: GHI Electronics, LLC
SoftwareVersion.BuildDate: Oct 15 2010
SoftwareVersion.CompilerVersion: 310739

There is no error in this step.

And the program, so easy.



using System;
using System.Threading;
 
using Microsoft.SPOT;
using Microsoft.SPOT.Hardware;
 
using GHIElectronics.NETMF.FEZ;
 
namespace StartFEZPandaApplication
{
    public class Program
    {
        public static void Main()
        {
            // Blink board LED
 
            bool ledState = false;
 
            OutputPort led = new OutputPort((Cpu.Pin)FEZ_Pin.Digital.LED, ledState);
 
            Int32 num = 100;
 
            while (true)
            {
                // Sleep for 500 milliseconds
                num = (num + 100) % 1000;
 
                Thread.Sleep(num);
 
 
 
                // toggle LED state
                ledState = !ledState;
                Debug.Print(ledState.ToString() + " " + num.ToString());
                led.Write(ledState);
 
 
                Thread.Sleep(num);
 
                ledState = !ledState;
                Debug.Print(ledState.ToString() + " " + num.ToString());
                led.Write(ledState);
 
            }
        }
 
    }
}


It works well.

http://www.mediafire.com/i/?ti0ibh2xyx4lxli

Then, Start".Net Micro Framework Deployment Tool"
Select “USBizi USBizi”

Click “Ping”, going well.

http://www.mediafire.com/i/?pbjhwb17bq2ruev

http://www.mediafire.com/i/?idtbt65zr59018b

And, in “.Net Micro Framework Deployment Tool”, Click “Target”, “Application Deployment”, “Create Application Deployment”

http://www.mediafire.com/i/?9ejd9qd8p0a1vap

http://www.mediafire.com/i/?um9ug6n4s2ngjrn

http://www.mediafire.com/i/?o44nzc555bdglbb
http://www.mediafire.com/i/?z5sje9ugt3xwg8i

There is an error above.
I want to know whether this device can do the deployment?And How to do it?Thank you.

Other Information,


#2

What exactly are you trying to do? Deploying your code to the Panda is done by VS2010.


#3

Like Eric said… Don’t use Microsoft deploy tool

While in VS2010 Select Project/properties…
select .NET Micro Framework
transport = USB

if your panda is connected then Device = USBizi_USBizi

then press run… Simple.

Cheers Ian


#4

I want to know this is normal or Device is broken?Thanks。

I am afraid has damaged ,Because it by mailing.


#5

When you received the Panda, did you plug it into the USB port and see the blinking program running? (This is the default application) If yes, then there is no fault with the panda as you can ping it with deploy tool!

Gus has a very good video to deploy programs to the domino
http://www.youtube.com/watch?v=zeJQpYXIYA4 part 1
http://www.youtube.com/watch?v=DD19WwDDaHw&feature=related part 2
http://www.youtube.com/watch?v=xDi3F-w4gy8&feature=related part 3

Watch them and do the same…

Cheers Ian


#6

Everything seems to be working correctly.
Now this step “Create Application Deployment”, will not work. I am not sure why you are using it… what are you trying to do?


#7

Device works well, Deploying and debugging with VS2010 is also OK.

But I can’t “Create Application Deployment” in “.Net Micro Framework Deployment Tool”

Though it doesn’t matter so much, I still want to know whether it is my personal problem.

@ Mike

I just watched a video, in the video, the man deploy the program again after upgrading firmware.
I wonder that where is the deployment file(HEX) from And I’m afraid that it may be destoried while mailing.


#8

on USBizi (smaller NETMF product), there is no “create application for deployment”. But we provide a way for you in our bootloader to read/deploy your application without MFDeploy. This is explained in USBizi user manual. Typically, this is only needed when you go into production and cannot use visual studio.


#9

@ Mike

Thanks.

I See user manual ,“4.3. Managed (User) Application in Production Stage with Copy
Protection”

I am beginners, thank you for your help!