Andreas
September 17, 2012, 9:47am
#1
Hello,
i downloaded the following files:
GHI NETMF v4.2 and .NET Gadgeteer Package (RC2 8-24-2012)
MicroFrameworkSDK.MSI (4.2)
After updating the firmware (FEZHydraMainboardUpdater.exe), the hydra shows a white screen.
In Device Manager the Hydra is shown as “GHI. NET Micro Framework USB Debugging Interface”.
Best regards
Andreas
Mike
September 17, 2012, 9:54am
#2
Try building a new default Gadgeteer project with aLCD and deploy it. The LCD is not enabled by default. Running a Gadgeteer project with a LCD will enable the display.
I had the same issue, use the 4.2 updater to go back to 4.1.3.1 and redo the update, from what I remember the tinybooter didn’t update right!
Hope this was what I did, will try to remember better if it doesn’t help
EDIT: don’t forget to put it into COM-Mode(or what its called;) ) by placing a wire(or any other thin metal) between pin 8 & 10 of socket 3 or 4
Andreas
September 17, 2012, 10:10am
#5
Yes, the results …
Ping:
Connecting… TinyBooter
Bootloader build info: Copyright © GHI Electronics, LLC
Get TinyBooter version:
Please wait while rebooting in TinyBooter mode…
TinyBooter Version: 4.2.3.0
Get Firmware Version:
-> No Response
Andreas
September 17, 2012, 10:11am
#6
Deploy a Gadgeteer App with LCD fails …
Andreas:
Yes, the results …
Ping:
Connecting… TinyBooter
Bootloader build info: Copyright © GHI Electronics, LLC
Get TinyBooter version:
Please wait while rebooting in TinyBooter mode…
TinyBooter Version: 4.2.3.0
Get Firmware Version:
-> No Response
Or other way around, one or the other didnt update right
Andreas
September 17, 2012, 10:13am
#8
Executing the Hydra Updater shows an error:
On startup:
************** Ausnahmetext **************
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei Hydra.HydraUpdater.ReadSDKPathInReg()
bei Hydra.HydraUpdater.Deploy_Load(Object sender, EventArgs e)
bei System.Windows.Forms.Form.OnLoad(EventArgs e)
bei System.Windows.Forms.Form.OnCreateControl()
bei System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
bei System.Windows.Forms.Control.CreateControl()
bei System.Windows.Forms.Control.WmShowWindow(Message& m)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
bei System.Windows.Forms.Form.WmShowWindow(Message& m)
bei System.Windows.Forms.Form.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Geladene Assemblys **************
mscorlib
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.269 (RTMGDR.030319-2600).
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll.
----------------------------------------
HydraUpdaterV109
Assembly-Version: 1.0.9.0.
Win32-Version: 1.0.9.0.
CodeBase: file:///C:/Program%20Files%20(x86)/GHI%20Electronics/GHI%20OSHW%20NETMF%20v4.2%20SDK/Firmware%20Update/FEZHydraMainboardUpdater.exe.
----------------------------------------
System.Windows.Forms
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.278 built by: RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
----------------------------------------
System.Drawing
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.282 built by: RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
System
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.269 built by: RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll.
----------------------------------------
System.Configuration
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.1 (RTMRel.030319-0100).
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.
----------------------------------------
System.Xml
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.233 built by: RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
System.Management
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.1 (RTMRel.030319-0100).
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll.
----------------------------------------
mscorlib.resources
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.235 (RTMGDR.030319-2300).
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_de_b77a5c561934e089/mscorlib.resources.dll.
----------------------------------------
System.Windows.Forms.resources
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.1 built by: RTMRel.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
During update:
************** Ausnahmetext **************
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei Hydra.HydraUpdater.ShowIndicator()
bei Hydra.HydraUpdater.buttonUpdate_Click(Object sender, EventArgs e)
bei System.Windows.Forms.Control.OnClick(EventArgs e)
bei System.Windows.Forms.Button.OnClick(EventArgs e)
bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.ButtonBase.WndProc(Message& m)
bei System.Windows.Forms.Button.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Geladene Assemblys **************
mscorlib
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.269 (RTMGDR.030319-2600).
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll.
----------------------------------------
HydraUpdaterV109
Assembly-Version: 1.0.9.0.
Win32-Version: 1.0.9.0.
CodeBase: file:///C:/Program%20Files%20(x86)/GHI%20Electronics/GHI%20OSHW%20NETMF%20v4.2%20SDK/Firmware%20Update/FEZHydraMainboardUpdater.exe.
----------------------------------------
System.Windows.Forms
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.278 built by: RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
----------------------------------------
System.Drawing
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.282 built by: RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
System
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.269 built by: RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll.
----------------------------------------
System.Configuration
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.1 (RTMRel.030319-0100).
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.
----------------------------------------
System.Xml
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.233 built by: RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
System.Management
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.1 (RTMRel.030319-0100).
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll.
----------------------------------------
mscorlib.resources
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.235 (RTMGDR.030319-2300).
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_de_b77a5c561934e089/mscorlib.resources.dll.
----------------------------------------
System.Windows.Forms.resources
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.1 built by: RTMRel.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------
System.Core
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.233 built by: RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll.
Here is my thread about this/or similar problem: http://www.tinyclr.com/forum/topic?id=8543
Dat_Tran
September 17, 2012, 10:20am
#10
I guess that you didn’t use external power supply while using Hydra Updater, so your device is in TinyBooter mode. There are 3 ways to do:
Use MFDelpy, then deploy these files:
C:\Program Files (x86)\GHI Electronics\GHI OSHW NETMF v4.2 SDK\FEZ Hydra\Firmware\Firmware\Non Ethernet\Config.hex
C:\Program Files (x86)\GHI Electronics\GHI OSHW NETMF v4.2 SDK\FEZ Hydra\Firmware\Firmware\Non Ethernet\Config.sig
C:\Program Files (x86)\GHI Electronics\GHI OSHW NETMF v4.2 SDK\FEZ Hydra\Firmware\Firmware\Non Ethernet\Firmware.hex
C:\Program Files (x86)\GHI Electronics\GHI OSHW NETMF v4.2 SDK\FEZ Hydra\Firmware\Firmware\Non Ethernet\Firmware.sig
Then use Hydra Updater again!
Erase flash by placing a wire(or any other thin metal) between pin 8 & 10 of socket 3, then use Hydra Updater again! (click “For additional help”) on the main window of this application
If you are going to use Hydra Updater, you should use external power supply.
Andreas
September 18, 2012, 3:45am
#11
All 3 ways failed. I used usb and / or external power.
The first MFDeploy was successfully, but now i can’t connect to the device.
Place a wire has no effect
Manually Update has no effect
In Device Manager the Hydra is shown as “GHI. NET Micro Framework USB Debugging Interface” but there is no com Port to connect to the device.
Did you place the wire when the device is off, then start it with the wire placed and remove it after 3-5 seconds(not more)?
Keep an eye on the device-manager while doing this
1 Like
Andreas
September 18, 2012, 4:11am
#13
You are right! Now i see the Hydra as “GPS Camera Detect (Com4)”
Now i tried to Update with "FEZHydraMainboardUpdater.exe"
But it shows an error:
– Log –
Connecting to device…
Hydra found at Port#: COM4
Device will be updated automatically! DO NOT disconnect or turn off the device!
TinyBooterLoader.tcl was not found. Please re-install GHI NETMF SDK. Aborting…
Cannot update TinyBooter. Aborting…
Andreas
September 18, 2012, 4:36am
#14
IT WORK’S
Thanks to Weeman13 , Dat and Mike !!!
My Steps:
Place a wire on Socket 3 between Pin 8 and 10, Connect Hydra, replace the wire after 5 secs -> In DeviceManager the Hydra is shown as “GPS Camera Detect (Com4)”
Start C:\Program Files (x86)\GHI Electronics\GHI OSHW NETMF v4.2 SDK\FEZ Hydra\Firmware\FEZ Hydra TinyBooter Updater\CommandPrompt.bat as Admin
Start TinyBooter update with “UpdateFEZHydra.bat com4”
Place a Button on Socket 14 -> Press Button and Restart Hydra
Use MFDeploy to deploy C:\Program Files (x86)\GHI Electronics\GHI OSHW NETMF v4.2 SDK\FEZ Hydra\Firmware\Firmware\Ethernet Config.hex and Firmware.hex
Run a App with LCD ( The LCD is not enabled by default )
Hydra works with 4.2