Needs assembly 'dotnetwarrior.Gadgeteer.G400HDR' (

I cannot figure out how to get my program to work.
Here’s my code:

using System;
using System.Collections;
using System.Threading;
using Microsoft.SPOT;
using Microsoft.SPOT.Presentation;
using Microsoft.SPOT.Presentation.Controls;
using Microsoft.SPOT.Presentation.Media;
using Microsoft.SPOT.Presentation.Shapes;
using Microsoft.SPOT.Touch;

using Gadgeteer.Networking;
using GT = Gadgeteer;
using GTM = Gadgeteer.Modules;
using Gadgeteer.Modules.GHIElectronics;

namespace DebugTest
    public partial class Program
        // This method is run when the mainboard is powered up or reset.   
        void ProgramStarted()
            Modules added in the Program.gadgeteer designer view are used by typing 
            their name followed by a period, e.g.  button.  or  camera.
            Many modules generate useful events. Type +=<tab><tab> to add a handler to an event, e.g.:
                button.ButtonPressed +=<tab><tab>
            If you want to do something periodically, use a GT.Timer and handle its Tick event, e.g.:
                GT.Timer timer = new GT.Timer(1000); // every second (1000ms)
                timer.Tick +=<tab><tab>

            // Use Debug.Print to show messages in Visual Studio's "Output" window during debugging.
            Debug.Print("Program Started");

Every time I try to debug for my G400HDR I get the following error:

[quote]Found debugger!

Create TS.

Loading start at 202cf300, end 202fe2c8

Assembly: mscorlib ( Assembly: Microsoft.SPOT.Native ( Assembly: Microsoft.SPOT.Security.PKCS11 (4.2
.0.0) Assembly: System.Security ( Assembly: Microsoft.SPOT.Hardware (
Assembly: Microsoft.SPOT.Graphics ( Assembly: Microsoft.SPOT.TinyCore (
Assembly: Microsoft.SPOT.IO ( Assembly: System.IO ( Assembly: Microsoft.SPOT.Hardware.Usb (
Assembly: Microsoft.SPOT.Hardware.SerialPort ( Assembly: Microsoft.SPOT.Touch (
Assembly: Microsoft.SPOT.Ink ( Assembly: Microsoft.SPOT.Hardware.PWM (
Loading Deployment Assemblies.

Attaching deployed file.

Assembly: Gadgeteer ( Attaching deployed file.

Assembly: Gadgeteer.SPI ( Attaching deployed file.

Assembly: Gadgeteer.Serial ( Attaching deployed file.

Assembly: Microsoft.SPOT.Net ( Attaching deployed file.

Assembly: dotnetwarrior.Gadgeteer.G400HDR ( Attaching deployed file.

Assembly: Gadgeteer.DaisyLink ( Attaching deployed file.

Assembly: DebugTest ( Attaching deployed file.

Assembly: GTM.GHIElectronics.Breakout ( Resolving.

Link failure: some assembly references cannot be resolved!!

Assembly: dotnetwarrior.Gadgeteer.G400HDR ( needs assembly ‘GHI.Premium.Hardware’ (

Assembly: dotnetwarrior.Gadgeteer.G400HDR ( needs assembly ‘GHI.Premium.System’ (

Assembly: DebugTest ( needs assembly ‘dotnetwarrior.Gadgeteer.G400HDR’ (

Error: a3000000

Waiting for debug commands…

The program ‘[8] Micro Framework application: Managed’ has exited with code 0 (0x0).[/quote]

I have already completely re installed all of the .NET SDK’s and NETMF stuff. I have no idea what to do.

I should point out that the reason my code is only the starting code is because I am simply trying to get the debugger to work in the first place. All i want to do is be able to debug.

@ Robby - Have you updated the firmware on the G400?

You can check what version of framework is installed on your device with the FEZConfig tool.

Hi Robby, welcome to the forum (if I haven’t mentioned before :slight_smile: )

The problem is that you have the SDK up-to-date, but not the firmware on your device. Please run Fez Config and connect the device, check it’s out-of-date, and then update it. You should then be fine to deploy your app.

5 seconds apart. Snap :slight_smile:

@ Brett
@ taylorza

FEZ Config says that the TinyCLR on the device and on my computer is

@ Robby - Two things.

  1. Can you post a screenshot of FEZConfig
  2. When did you grab the G400HDR code from codeshare? I posted an update last weekend.

@ taylorza - I honestly don’t know when I got the code as I got it from someone else in my programming group. Could you please link it?
Also attached is an image of FEZ Config.

@ Robby - You can get the latest version of the code with the installer from codeshare

If you have any issues or questions, do not hesitate to ask.

@ taylorza - Thank you so much! That solved the problem. Any idea how often I should check that page for updates?

@ Robby - It is a pleasure, I am glad you got it working

I will generally update the code on demand,
[ol] If someone finds an issue with the code
When the firmware changes and requires a new version
If someone has a feature request that I am able to implement[/ol]

The best is to monitor the forums, if I post an update I will also put a message on the forums indicating that there is an update and what that update does.

1 Like