Upgrade issue with FEZ Cobra I (v1.3) and TFT Touch 7"

Hi all,

I’ve tried to upgrade my FEZ Cobra from 4.1 to 4.3. The board was upgraded succesfully, but the LCD displays a cycle of fullscreen colors red, green, blue, black, white and than black/white dotted. It seems that the FEZ Cobra doesn’t know that he has a LCD screen attached to it. Before upgrading the board and attached to my computer by USB, it showed the version of the bootloader, IP address and MAC etc.

What do I need to do to get it working again?

Regards,

Wietse Kok
The Netherlands

When you updated the controller firmware, did you also set the LCD settings? The default now is NO LCD and this could the LCD controller doing this itself.

You either need to do this in code (I do this always as it then allows in field updates of the firmware) or you can set this via FezConfig.

@ Dave McLaughlin - Dear Dave,

I already did that. I tried it again today, but with no affect. When I click in the menu on device capabilities it displays the following:

HalSystemInfo.halVersion :4.3.1.0
HalSystemInfo.halVendorInfo :Microsoft Copyright (C) Microsoft Corporation. All rig
ClrInfo.clrVersion :4.3.1.0
ClrInfo.clrVendorInfo :Microsoft Copyright (C) Microsoft Corporation. All rig
ClrInfo.targetFrameworkVersion :4.3.1.0
SolutionReleaseInfo.solutionVersion: 4.3.8.0
SolutionReleaseInfo.solutionVendorInfo: Copyright (C) GHI Electronics, LLC
SoftwareVersion.BuildDate: Dec 23 2015
SoftwareVersion.CompilerVersion: 410713
LCD.Width: 800
LCD.Height: 480
LCD.BitsPerPixel: 16

A reboot displays:

Firmware (TinyCLR) version information:
4.3.8.0 on this computer.
4.3.8.0 on this device.

The Firmware (TinyCLR) is up to date. <<<
Please wait for the device to reboot… Done.

What can do more? I will try to set the settings by code. If that does the trick I will reply today or tomorrow.

Thanks in advance,

Wietse Kok

@ wietsekok -

When I run the following code:

        Display.Populate(Display.GHIDisplay.DisplayCP7);

if (Display.Save())
PowerState.RebootDevice(false);

The Save() method returns false.

@ Dave McLaughlin -

Maybe I’ve got a different display. I have this one: https://www.ghielectronics.com/catalog/product/206

Its product 206 from the GHI electronics website. (./catalog/product/206)

The code doesn’t work, because I don’t have the Microsoft.SPOT, Microsoft.SPOT.Input and GHIElectronics.NETMF.Hardware namespaces (corresponding libraries).

1 Like

That display configuration won’t work for your LCD. I found the code to setup the display but it is for an old SDK but it provided the timing information. Try this.


Display.Width = 800;
Display.Height = 480;
Display.HorizontalSyncPulseWidth = 150;
Display.HorizontalBackPorch = 150;
Display.HorizontalFrontPorch = 150;
Display.VerticalSyncPulseWidth = 2;
Display.VerticalBackPorch = 2;
Display.VerticalFrontPorch = 2;
Display.PixelClockRateKHz = 30000;
Display.OutputEnableIsFixed = false;
Display.OutputEnablePolarity = true;
Display.HorizontalSyncPolarity = false;
Display.VerticalSyncPolarity = false;
Display.PixelPolarity = false;
Display.Type = Display.DisplayType.Lcd;

if (Display.Save())      // Reboot required?
{
        PowerState.RebootDevice(false);
}

You may need to change the PixelClockRateKHz depending on your processor capability and speed.

@ Dave McLaughlin -

Thanks Dave! That workes.

Regards,

Wietse