Problem with TFT 4.5" (EMX 4.1.5.0 update)

Hello, I am using a Fez Cobra with TFT 4.5". After update (with MFDleploy) EMX from 4.1.3 to 4.1.5, TinyBooter (4.1.3) report LCD= 320x240. How can I set correctly 480x272 system metrics???.

Thanks in advance
Robert

you have to go through the one-off configuration change. If you have the 4.3" LCD from GHI, you can see the configuration code on the DOWNLOADS section of [url]http://www.ghielectronics.com/catalog/product/241[/url], which then ends up at [url]http://www.ghielectronics.com/downloads/FEZ/Cobra/LCD_Example_4_3_Inch.cs[/url]

Thank you very much Brett !!!. Running the example the LCD size is OK.

Finally, I modify the project GHIGraphicalDemo (Program.cs) to adjust (very basic) the calibration:

// Enable touch
Touch.Initialize(program);

        // Add Set touch calibration data.
        const int CAL_POINTS = 5;
        short[] sx = new short[CAL_POINTS] { 240, 48, 48, 432, 432 };
        short[] sy = new short[CAL_POINTS] { 136, 26, 246, 246, 26 };
        short[] cx = new short[CAL_POINTS] { 478, 189, 169, 781, 790 };
        short[] cy = new short[CAL_POINTS] { 481, 238, 741, 767, 231 };
        Microsoft.SPOT.Touch.Touch.ActiveTouchPanel.SetCalibration(CAL_POINTS, sx, sy, cx, cy);
        // End Add

TouchCollectorConfiguration.CollectionMethod = CollectionMethod.Native;

Hi,

I have FEZ Cobra with TFT 4.3". I got error message when I try to configure TFT screen using mentioned calibration C# program:

Invalid native checksum: GHIElectronics.NETMF.Hardware 0x9C770BE2!=0xA1518A4B

Resolving.

Link failure: some assembly references cannot be resolved!!

Assembly: FEZCobra_GHIElectronics.NETMF.FEZ (4.1.5.0) needs assembly ‘Microsoft.SPOT.Hardware’ (4.1.2821.0)

Error: a3000000.

My system configuration:
Micro Framework 4.1 (v4.1.28) I downloaded the sdk today from Microsoft web page,

MFDeploy displays:
Pinging… TinyCLR
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.Graphics,4.1.2821.0
MFWindowApplication1,1.0.0.0
FEZCobra_GHIElectronics.NETMF.FEZ,4.1.5.0
GHIElectronics.NETMF.Hardware.EMX,4.1.5.0

[quote]Invalid native checksum: GHIElectronics.NETMF.Hardware 0x9C770BE2!=0xA1518A4B
[/quote]

The classic problem, update your firmware :slight_smile: Please see the red note on this page http://www.tinyclr.com/dl/

Thanks :slight_smile: