Hi
I have a Fez Hydra updated with the Build Aug 20-2013 that with VS 2012 putting the T43 and other display modules, continues to give this message and restart the debug
Using mainboard GHI Electronics FEZHydra version 1.2
Updating display configuration. THE MAINBOARD WILL NOW REBOOT.
To continue debugging, you will need to restart debugging manually (Ctrl-Shift-F5)
This is normal behaviour with the latest firmware as the LCD is disabled when you programme it with new firmware.
Once the application is run for the first time, the LCD is configured and will reboot. Just hit CTRL-SHIFT-F5 the first time you see this and then debugging will restart. The future builds will run as normal with this step.
The thread ‘’ (0x2) has exited with code 0 (0x0).
Using mainboard GHI Electronics FEZHydra version 1.2
Updating display configuration. THE MAINBOARD WILL NOW REBOOT.
To continue debugging, you will need to restart debugging manually (Ctrl-Shift-F5)
There are no GHI firmware for any GHI boards that support 4.3 yet. You need a 4.2 project.
Earlier @ Dave pointed out that this displayed message is NORMAL for the first time you deploy and run an app using the 4.3" display. Do you still need assistance getting past this? Ctrl-Shift-F5 worked?
declared with the display debugging does not work and continues to give this message!
Il thread ‘’ (0x2) è terminato con il codice 0 (0x0).
Using mainboard GHI Electronics FEZHydra version 1.2
Updating display configuration. THE MAINBOARD WILL NOW REBOOT.
To continue debugging, you will need to restart debugging manually (Ctrl-Shift-F5)
Post the startup code as a minimum. It will let us see if it’s a code related issue.
Another idea to initialise the board after a firmware update is to create a simple project that adds the LCD to the project and this when run without any other code will programme the CPU with the LCD settings. You can then load and run your own app.
Also, try setting a breakpoint at the first line of code and single step to see what’s happening.
Option Strict Off
Option Explicit On
Imports Gadgeteer
Imports GTM = Gadgeteer.Modules
Namespace GadgeteerApp1
Partial Public Class Program
Inherits Gadgeteer.Program
'''<summary>The Display T43 module using sockets 10, 11, 12 and 13 of the mainboard.</summary>
Private WithEvents display_T43 As Gadgeteer.Modules.GHIElectronics.Display_T43
'''<summary>The Button module using socket 5 of the mainboard.</summary>
Private WithEvents button As Gadgeteer.Modules.GHIElectronics.Button
'''<summary>The LED Strip module using socket 9 of the mainboard.</summary>
Private WithEvents led_Strip As Gadgeteer.Modules.GHIElectronics.LED_Strip
'''<summary>The Barometer module using socket 6 of the mainboard.</summary>
Private WithEvents barometer As Gadgeteer.Modules.Seeed.Barometer
'''<summary>This property provides access to the Mainboard API. This is normally not necessary for an end user program.</summary>
Protected Shadows Shared Property Mainboard() As GHIElectronics.Gadgeteer.FEZHydra
Get
Return CType(Gadgeteer.Program.Mainboard,GHIElectronics.Gadgeteer.FEZHydra)
End Get
Set
Gadgeteer.Program.Mainboard = value
End Set
End Property
'''<summary>This method runs automatically when the device is powered, and calls ProgramStarted.</summary>
Public Shared Sub Main()
'Important to initialize the Mainboard first
Program.Mainboard = New GHIElectronics.Gadgeteer.FEZHydra()
Dim p As Program = New Program()
p.InitializeModules
p.ProgramStarted
'Starts Dispatcher
p.Run
End Sub
Private Sub InitializeModules()
Me.display_T43 = New GTM.GHIElectronics.Display_T43(10, 11, 12, 13)
Me.button = New GTM.GHIElectronics.Button(5)
Me.led_Strip = New GTM.GHIElectronics.LED_Strip(9)
Me.barometer = New GTM.Seeed.Barometer(6)
End Sub
End Class
End Namespace
but the problem will be even with only the references!!
Imports System.Threading
Imports System.Collections
Imports Microsoft.SPOT
Imports Microsoft.SPOT.Presentation
Imports Microsoft.SPOT.Presentation.Controls
Imports Microsoft.SPOT.Presentation.Media
Imports Microsoft.SPOT.Presentation.Shapes
Imports Microsoft.SPOT.Touch
Imports System.Math
'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Imports Gadgeteer.Networking
Imports GT = Gadgeteer
Imports GTM = Gadgeteer.Modules
Imports Gadgeteer.Modules.GHIElectronics
Imports Gadgeteer.Modules.Seeed
Namespace GadgeteerApp1
Partial Public Class Program
Dim Timer As Timer
Dim Pressure As Double
Dim Temperature As Double
Dim bmap As Bitmap
' This is run when the mainboard is powered up or reset.
Public Sub ProgramStarted()
' Use Debug.Print to show messages in Visual Studio's "Output" window during debugging.
Debug.Print("Program Started")
Timer = New Timer(AddressOf Timer_call, Nothing, 20, 10) ' Task 1
Timer = New Timer(AddressOf Timer_call2, Nothing, 20, 2000) ' Task 2
Debug.Print("Timer Started")
'<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
' Barometer
'<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
barometer.ContinuousMeasurementInterval = New TimeSpan(0, 0, 0, 250)
barometer.StartContinuousMeasurements()
led_Strip.TurnLEDOn(1)
' bmap = New Bitmap(CInt(display_T43.Width), CInt(display_T43.Height))
End Sub
Sub Timer_call(ThreadState As Object) ' Task 1
' xxxxxxxxxxxxxxxxxxxxxxxxxxxxx PROGRAMM
End Sub
Sub Timer_call2(ThreadState As Object) ' Task 2
barometer.RequestMeasurement()
Pressure.ToString()
Temperature.ToString()
bmap.Clear()
bmap.DrawText("Barometric = " & Pressure.ToString, Resources.GetFont(Resources.FontResources.NinaB), Color.White, 0, 0)
bmap.DrawText("Temperature = " & Temperature.ToString, Resources.GetFont(Resources.FontResources.NinaB), Color.White, 0, 15)
bmap.Flush()
End Sub
Private Sub button_ButtonPressed(sender As Gadgeteer.Modules.GHIElectronics.Button, state As Gadgeteer.Modules.GHIElectronics.Button.ButtonState) Handles button.ButtonPressed
led_Strip.TurnLEDOff(1)
End Sub
Private Sub barometer_MeasurementComplete(sender As Barometer, sensorData As Barometer.SensorData) Handles barometer.MeasurementComplete
'<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
' Barometer
'<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Temperature = Round(sensorData.Temperature)
Pressure = Round(sensorData.Pressure)
End Sub
End Class
End Namespace