Main Site Documentation

Mfdeploy - deploy issue


#1
  • EMX Board
  • .NET Micro Framework 4.1
  • GHI NETMF 4.1.3

If I deploy my application with VS2010 the app runs without problems on the board, but if I use the mfdeploy tool to generate a deployment file and redeploy it on the device following errors occurs:

[italic]Resolving.
Link failure: some assembly references cannot be resolved!!
Assembly: Microsoft.SPOT.IO (4.1.2821.0) needs assembly ‘Microsoft.SPOT.Hardware’ (4.1.2821.0)
Assembly: GHIElectronics.NETMF.IO (4.1.3.0) needs assembly ‘GHIElectronics.NETMF.System’ (4.1.3.0)
Assembly: ALBA_Handheld (0.6.0.0) needs assembly ‘Microsoft.SPOT.Hardware.SerialPort’ (4.1.2821.0)
Assembly: ALBA_Handheld (0.6.0.0) needs assembly ‘Microsoft.SPOT.Graphics’ (4.1.2821.0)
Assembly: ALBA_Handheld (0.6.0.0) needs assembly ‘GHIElectronics.NETMF.IO’ (4.1.3.0)
Assembly: ALBA_Handheld (0.6.0.0) needs assembly ‘Microsoft.SPOT.Hardware’ (4.1.2821.0)
Assembly: ALBA_Handheld (0.6.0.0) needs assembly ‘GHIElectronics.NETMF.USBClient’ (4.1.3.0)
Assembly: ALBA_Handheld (0.6.0.0) needs assembly ‘Microsoft.SPOT.IO’ (4.1.2821.0)
Assembly: ALBA_Handheld (0.6.0.0) needs assembly ‘System.IO’ (4.1.2821.0)
Assembly: ALBA_Handheld (0.6.0.0) needs assembly ‘GHIElectronics.NETMF.Hardware’ (4.1.3.0)
Assembly: ALBA_Handheld (0.6.0.0) needs assembly ‘System.Xml’ (4.1.2821.0)
Assembly: System.IO (4.1.2821.0) needs assembly ‘Microsoft.SPOT.IO’ (4.1.2821.0)
Assembly: GHIElectronics.NETMF.Hardware (4.1.3.0) needs assembly ‘Microsoft.SPOT.Hardware’ (4.1.2821.0)
Assembly: Microsoft.SPOT.Hardware.SerialPort (4.1.2821.0) needs assembly ‘Microsoft.SPOT.Hardware’ (4.1.2821.0)
Assembly: GHIElectronics.NETMF.System (4.1.3.0) needs assembly ‘Microsoft.SPOT.Hardware’ (4.1.2821.0)
Error: a3000000
Waiting for debug commands…[/italic]

Can anyone please help me with this issue?


#2

This might because of incompatible TinyBooter.
Start fresh. See FEZ Cobra firmware update guide to re-download the firmware.
Make sure to start by erasing using the E command in bootloader.

When done try a deploy a ConsoleApplication first.
Then try your application. If you have problems, please give us the entire debug output.


#3

We do not have the necessary up and down button for TinyBooter update on our own designed device.

Here are some addidional infos:
[italic]DeviceInfo:
HAL build info: 4.1.2821.0, Microsoft Copyright © Microsoft Corporation. All rig
OEM Product codes (vendor, model, SKU): 255, 0, 65535
Serial Numbers (module, system):
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Solution Build Info: 4.1.3.0, GHI Electronics, LLC
AppDomains:
default, id=1
Assemblies:
mscorlib,4.1.2821.0
Microsoft.SPOT.Native,4.1.2821.0
Microsoft.SPOT.IO,4.1.2821.0
GHIElectronics.NETMF.Hardware.EMX,4.1.3.0
GHIElectronics.NETMF.IO,4.1.3.0
Microsoft.SPOT.Hardware.Usb,4.1.2821.0
ALBA_Handheld,0.6.0.0
System.IO,4.1.2821.0
GHIElectronics.NETMF.Hardware,4.1.3.0
Microsoft.SPOT.Hardware.SerialPort,4.1.2821.0
GHIElectronics.NETMF.System,4.1.3.0
[/italic]


#4

[quote]We do not have the necessary up and down button for TinyBooter update on our own designed device.
[/quote]
If you switch to serial debugging and send special character to force the GHI loader by sending special character on power up. From there use E command to erase all and update everything.

…or you can have your hardware guys wire the buttons right to the module

…or use in-field update feature to load tinybooter from software.

You must have a matching version of tinybooter and firmware.


#5

Thank you for your reply. I will use now “in field update” with sd.card as described here: http://www.ghielectronics.com/downloads/NETMF_Beta/Library%20Documentation/html/53c9fe92-8150-bd36-e2de-bf4fc6f13f8f.htm

I’m not sure which files I have to copy to the sd-card? I tried with following files:

  • CLR.hex
  • CLR2.hex
  • Config.hex
  • app.hex
  • managedBootloader.hex
  • TinyBooter.GHI

How can I get the managedBootloader file?


#6

Why are you looking in beta files? Please use official release, for docs and for SDK
http://www.ghielectronics.com/downloads/NETMF/Library%20Documentation/html/53c9fe92-8150-bd36-e2de-bf4fc6f13f8f.htm

That page has a lot of details