Problem with FEZ Panda 2 after firmware update

Hello

I re-installed my windows so I had to re-install my Visual Studio too. After installing VS and .NET micro freamwork 4.2, GHI NETMF v4.2 and .NET Gadgeteer Package and GHI NETMF v4.1 and .NET Gadgeteer Package I faced with this problem: “Error 1 Cannot deploy the base assembly ‘mscorlib’, or any of his satellite assemblies, to device - USB:USBizi twice. Assembly ‘mscorlib’ on the device has version 4.1.2821.0, while the program is trying to deploy version 4.2.0.0”

I updated the firmware with USBizi Updater. But I still had the problem after that I found this: http://www.tinyclr.com/forum/topic?id=4437 This solved the problem and I can run the code but nothing happens. I don’t get any error message just simply nothing happens, evene this code is not working

Debug.Print("test");

http://screencast.com/t/dPFtqsQ7UHLK

What can I do?

Thank you
Adam

Hello mda747. Welcome to community.

FEZ Panda don’t support .NET Micro Framework 4.2.

You need to change target framework to .NET Micro Framework 4.1. This is done in Visual Studio, right click on project name and select “Properties” and find dropdown “Target framework” combo in “Application tab”.

Hello jernejk,

It was wrtiten here: http://www.tinyclr.com/forum/topic?id=4437 I did it. Still not working.

The “funny” part is that now I don’t get back any error message.

mda747

This should help GHI Electronics – Where Hardware Meets Software

Hello Gus,

If I use .Net micro Freamwork 4.2 than I’m not capable to run my code and I get the following error:

Error	1	Cannot deploy the base assembly 'mscorlib', or any of his satellite assemblies, to device - USB:USBizi twice. Assembly 'mscorlib' on the device has version 4.1.2821.0, while the program is trying to deploy version 4.2.0.0

Now, I’m using 4.1 but the IDE says this: http://screencast.com/t/dPFtqsQ7UHLK and nothing happens.

mda747

@ mda747 - You cannot run 4.2 on the Panda - it must be 4.1

@ Justin Now, I’m using 4.1 but when I try to run a code the panda2 is rebooting and nothig else happens. That’s my problem.

Show your code please.

@ mda747 - Let me apologize for asking the obvious, but when you installed tinyCLR firmware on the panda, did you make sure to use the 4.1 version. Some times the obvious gets over looked ( at least by me)

Tried a powered hub?

@ Architect

using System;
using Microsoft.SPOT;
using System.Threading;
using Microsoft.SPOT.Hardware;
using GHIElectronics.NETMF.Hardware;

namespace MFConsoleApplication1
{
    public class Program
    {
        public static void Main()
        {
            Debug.Print("test");
            OutputPort LED;
            LED = new OutputPort((Cpu.Pin)EMX.Pin.IO47, true);
            Thread.Sleep(Timeout.Infinite);

        
            
        }
    }
}

But I have also tried with only Debug.Print(“test”);

@ Dave
I used USBiziUpdater.exe (C:\Program Files\GHI Electronics\GHI NETMF v4.1 SDK\Firmware Update)

@ Yes, of course

@ mda747 - tried a different USB cable and port?

@ Justin

Of course. I tried it with 2 PCs, 6 USB ports and 3 cables.

@ mda747 - well that certainly crosses that off the list…
So is it still waiting for reboot?

Try to reapply the firmware using MFDeploy. Then view the “Device Capabilities” in MFDeploy and show us the results. What do you get when you ping from MFDeploy?

@ Justin

I press F5 then the IDE provides me informations eg.: building, rebooting… The reboot process finishes (I can hear the windows sound, reconnected) and then after that nothing happens. The LED on the Panda is on.

@ ianlee74

The ping is in the first line, It’s good.

http://screencast.com/t/aOeIWEzd

@ mda747 - so the led turns on or are you saying the power led?

@ Justin

Sorry I was not detailed enought, my mistake.

The Configurable LED, LED D4, turns on after I connect the Panda to the PC.

@ mda747 - unless I am missing the obvious isn’t that what you have told it to do?

@ Justin

unfortunately not. I tried a lot of codes and none of them worked. (even the Debug.Print(“test”):wink:

I worked with this Panda 2 before. So I know how it should work. That’s why I totally don’t understand what can be the problem.