Well I’m much closer but not quite there yet. The problem might be very simple and is probably related to my not understanding how to set up a Visual Studio project for the Mountaineer. I got the Mountaineer into TinyBooter and used MFDeploy as you described. It all seemed to work OK with one small difference. When I pinged, the response was
Pinging…TinyBooter
and that was all, nothing about Bootloader build info like you suggested.
At this point, the Mountaineer board seems to register as a USB device on my PC correctly when I push the Mountaineer reset button, at least I don’t get any error messages and the PC Device Manager shows a “Mountaineer USB” under USB controllers without the little yellow warning triangle it used to have. I’m pretty sure I’m doing something dumb (or not doing something basic) in my code. My Visual Studio program compiles and downloads but I get the following message in the VS output window
[em]Found debugger!
Create TS.
Loading start at 8045758, end 80589dc
Assembly: mscorlib (4.2.0.0) Assembly: Microsoft.SPOT.Native (4.2.0.0) Assembly: Microsoft.SPOT.Hardware (4.2.0.0)
Assembly: Microsoft.SPOT.Hardware.SerialPort (4.2.0.0) Assembly: Microsoft.SPOT.Hardware.Usb (4.2.0.0)
Assembly: Microsoft.SPOT.Hardware.PWM (4.2.0.1) Assembly: System.Xml (4.2.0.0)
Loading Deployment Assemblies.
Attaching deployed file.
Assembly: AnalogOutput (4.2.0.0) Attaching deployed file.
Assembly: MountaineerDigitalIO (1.0.0.0) Attaching deployed file.
Assembly: Mountaineer.Gadgeteer.MountaineerUsb (4.2.0.0) Resolving.
Link failure: some assembly references cannot be resolved!!
Assembly: Mountaineer.Gadgeteer.MountaineerUsb (4.2.0.0) needs assembly ‘Gadgeteer’ (2.42.0.0)
Error: a3000000
Waiting for debug commands…
The program ‘[3] Micro Framework application: Managed’ has exited with code 0 (0x0). [/em]
In my VS project, I have references to Microsoft.SPOT.Hardware, Microsoft.SPOT.Native, Mountaineer.Gadgeteer.Mountaineer.Usb and mscorlib. I’ve included a “using Mountaineer.Gadgeteer” in my code.
I’ve included the little test program I’m using to blink and LED for my initial test. It is a basic .NETMF project not a Gadgeteer project. By the way, can you confirm (Cpu.Pin)75 is the LED on the Mountaineer USB?
using System;
using System.Threading;
using Microsoft.SPOT;
using Microsoft.SPOT.Hardware;
using Mountaineer.Gadgeteer;
namespace MFConsoleApplication1
{
public class Program
{
public static void Main()
{
Debug.Print("\r\nStarting Program ... \r\n");
OutputPort LED;
while (true)
{
LED = new OutputPort((Cpu.Pin)75, true);
Thread.Sleep(200);
LED = new OutputPort((Cpu.Pin)75, false);
}
}
}
}
Many thanks for all the help.