Main Site Documentation

Error > Updating display configuration. THE MAINBOARD WILL NOW REBOOT


#1

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)

Since I’m new to this system, what should I do?


#2

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.


#3

but even if you reboot with the same message and does not start to debug?


#4

Ps: I have the 4.3 microframework


#5

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)


#6

the correction 4.3 is currently installed, but the error shall be with 4.2, 4.3 with the new hardware is not accepted!?


#7

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?


#8

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)

without display it all works!


#9

So if you restart debugging (not your app) do you connect to the debugger? Does your app display anything?

Or are you saying that no matter what, you get into an endless reboot loop ???


#10

with the display always requires you to press ctrl + shift + F5
forever!


#11

and debugging never starts!

without the display debugging with barometer, strip_led, button etc. … running correctly


#12

explains better what you want me to send?

if possible so I can send the project directly see?


#13

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.


#14

from where the download?
give me a link,
thanks


#15

these are the main references

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
 

#16

this is the program

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 

#17

this is the result


Found debugger!

Found debugger!

Create TS.

 Loading start at 2018f300, end 201bc644

   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.Graphics (4.2.0.0)     Assembly: Microsoft.SPOT.TinyCore (4.2.0.0)  
   Assembly: Microsoft.SPOT.IO (4.2.0.0)     Assembly: System.IO (4.2.0.0)     Assembly: Microsoft.SPOT.Hardware.Usb (4.2.0.0) 
    Assembly: Microsoft.SPOT.Hardware.SerialPort (4.2.0.0)     Assembly: Microsoft.SPOT.Touch (4.2.0.0)  
   Assembly: Microsoft.SPOT.Ink (4.2.0.0)     Assembly: Microsoft.SPOT.Hardware.PWM (4.2.0.1)  
   Assembly: Microsoft.SPOT.Hardware.OneWire (4.2.0.0)     Assembly: System.Xml (4.2.0.0)  
   Assembly: Microsoft.SPOT.Time (4.2.0.0)     Assembly: Microsoft.SPOT.Net (4.2.0.0)  
   Assembly: System (4.2.0.0)     Assembly: Microsoft.SPOT.Net.Security (4.2.0.0)  
   Assembly: System.Net.Security (4.2.0.0)  Loading Deployment Assemblies.

Attaching deployed file.

   Assembly: Microsoft.VisualBasic (1.0.0.0)  Attaching deployed file.

   Assembly: Gadgeteer (2.42.0.0)  Attaching deployed file.

   Assembly: GHI.OSHW.Hardware (4.2.6.0)  Attaching deployed file.

   Assembly: GHI.OSHW.Native (4.2.6.0)  Attaching deployed file.

   Assembly: GTM.GHIElectronics.Display_T43 (4.2.100.0)  Attaching deployed file.

   Assembly: GadgeteerApp1 (1.0.0.0)  Attaching deployed file.

   Assembly: GTM.GHIElectronics.Button (4.2.100.0)  Attaching deployed file.

   Assembly: GHI.Hardware.FEZHydra (4.2.6.0)  Attaching deployed file.

   Assembly: GTM.Seeed.Barometer (1.6.0.0)  Attaching deployed file.

   Assembly: GHIElectronics.Gadgeteer.FEZHydra (4.2.100.0)  Attaching deployed file.

   Assembly: GTM.GHIElectronics.LED_Strip (4.2.100.0)  Resolving.

GC: 1msec 379296 bytes used, 5911836 bytes available

Type 0F (STRING              ):     24 bytes

Type 15 (FREEBLOCK           ): 5911836 bytes

Type 17 (ASSEMBLY            ):  30228 bytes

Type 1E (BINARY_BLOB_HEAD    ): 348972 bytes

Type 34 (APPDOMAIN_HEAD      ):     72 bytes

GC: performing heap compaction...

The debugging target runtime is loading the application assemblies and starting execution.
Ready.

'Microsoft.SPOT.Debugger.CorDebug.dll' (Gestito): caricato 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.2\Assemblies\le\mscorlib.dll', simboli caricati.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Gestito): caricato 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.2\Assemblies\le\Microsoft.SPOT.Native.dll', simboli caricati.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Gestito): caricato 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.2\Assemblies\le\Microsoft.SPOT.Hardware.dll', simboli caricati.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Gestito): caricato 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.2\Assemblies\le\Microsoft.SPOT.Graphics.dll', simboli caricati.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Gestito): caricato 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.2\Assemblies\le\Microsoft.SPOT.TinyCore.dll', simboli caricati.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Gestito): caricato 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.2\Assemblies\le\Microsoft.SPOT.IO.dll', simboli caricati.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Gestito): caricato 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.2\Assemblies\le\System.IO.dll', simboli caricati.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Gestito): caricato 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.2\Assemblies\le\Microsoft.SPOT.Hardware.Usb.dll', simboli caricati.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Gestito): caricato 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.2\Assemblies\le\Microsoft.SPOT.Hardware.SerialPort.dll', simboli caricati.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Gestito): caricato 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.2\Assemblies\le\Microsoft.SPOT.Touch.dll', simboli caricati.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Gestito): caricato 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.2\Assemblies\le\Microsoft.SPOT.Ink.dll', simboli caricati.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Gestito): caricato 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.2\Assemblies\le\Microsoft.SPOT.Hardware.PWM.dll', simboli caricati.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Gestito): caricato 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.2\Assemblies\le\Microsoft.SPOT.Hardware.OneWire.dll', simboli caricati.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Gestito): caricato 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.2\Assemblies\le\System.Xml.dll', simboli caricati.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Gestito): caricato 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.2\Assemblies\le\Microsoft.SPOT.Time.dll', simboli caricati.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Gestito): caricato 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.2\Assemblies\le\Microsoft.SPOT.Net.dll', simboli caricati.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Gestito): caricato 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.2\Assemblies\le\System.dll', simboli caricati.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Gestito): caricato 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.2\Assemblies\le\Microsoft.SPOT.Net.Security.dll', simboli caricati.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Gestito): caricato 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.2\Assemblies\le\System.Net.Security.dll', simboli caricati.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Gestito): caricato 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.2\Assemblies\le\Microsoft.VisualBasic.dll', simboli caricati.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Gestito): caricato 'C:\Program Files (x86)\Microsoft .NET Gadgeteer\Core\Assemblies\.NET Micro Framework 4.2\le\Gadgeteer.dll', simboli caricati.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Gestito): caricato 'C:\Program Files (x86)\GHI Electronics\GHI OSHW NETMF v4.2 SDK\Assemblies\le\GHI.OSHW.Hardware.dll'
'Microsoft.SPOT.Debugger.CorDebug.dll' (Gestito): caricato 'C:\Program Files (x86)\GHI Electronics\GHI OSHW NETMF v4.2 SDK\Assemblies\le\GHI.OSHW.Native.dll'
'Microsoft.SPOT.Debugger.CorDebug.dll' (Gestito): caricato 'C:\Program Files (x86)\GHI Electronics\GHI .NET Gadgeteer SDK\Modules\Display_T43\NETMF 4.2\le\GTM.GHIElectronics.Display_T43.dll', simboli caricati.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Gestito): caricato 'C:\Program Files (x86)\GHI Electronics\GHI .NET Gadgeteer SDK\Modules\Button\NETMF 4.2\le\GTM.GHIElectronics.Button.dll', simboli caricati.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Gestito): caricato 'C:\Program Files (x86)\GHI Electronics\GHI .NET Gadgeteer SDK\Modules\LED_Strip\NETMF 4.2\le\GTM.GHIElectronics.LED_Strip.dll', simboli caricati.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Gestito): caricato 'C:\Program Files (x86)\Seeed\Seeed .NET Gadgeteer SDK\Modules\Barometer\NETMF 4.2\le\GTM.Seeed.Barometer.dll', simboli caricati.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Gestito): caricato 'C:\Program Files (x86)\GHI Electronics\GHI .NET Gadgeteer SDK\Mainboards\FEZHydra\NETMF 4.2\le\GHIElectronics.Gadgeteer.FEZHydra.dll', simboli caricati.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Gestito): caricato 'C:\Users\ALEX\Documents\Visual Studio 2012\Projects\Progetto LCD T43 + Barometric\GadgeteerApp1\bin\Debug\le\GadgeteerApp1.exe', simboli caricati.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Gestito): caricato 'C:\Program Files (x86)\GHI Electronics\GHI OSHW NETMF v4.2 SDK\Assemblies\le\GHI.Hardware.FEZHydra.dll'
Il thread '<Nessun nome>' (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)



#18

First VB programme for .NET Micro I have seen on here. Any, it should work the same as C#

Put a breakpoint at this line and then single step the code and see how far it gets.


            Program.Mainboard = New GHIElectronics.Gadgeteer.FEZHydra()


#19

[quote]http://ghielectronics.com/downloads/NETMF/GHI_NETMF_Configuration_Toolv003.exe

will be included within the next sdk[/quote]

with the configuration tool instead of the LAN that the correct values​​, the display does not give any value
What should I do?


#20

continues until here:

     p.InitializeModules