Main Site Documentation

Getting LCD running--- needed EMX firmware update


#1

I have the Cobra 7 inch LCD hookod up properly & with verified 6V external power (nice and clean)…I put in the demo code (straight from your website) , but all I get is a non-stop slow sequence of small b/w checkerboard pattern, then solid red, green, blue and white screens…no text messages or anything else…

Nothing happens when I touch the screen either

Here is the output window dump:

Rebooting…

TinyCLR (Build 4.1.2821.0)

Starting…

Found debugger!

Create TS.

Loading start at 80030000, end 80039b4c

Attaching file.

Assembly: mscorlib (4.1.2821.0) (3880 RAM - 33236 ROM - 19134 METADATA)

AssemblyRef = 0 bytes ( 0 elements)

TypeRef = 0 bytes ( 0 elements)

FieldRef = 0 bytes ( 0 elements)

MethodRef = 0 bytes ( 0 elements)

TypeDef = 1112 bytes ( 139 elements)

FieldDef = 272 bytes ( 135 elements)

MethodDef = 1572 bytes ( 786 elements)

Attributes = 0 bytes ( 0 elements)

TypeSpec = 16 bytes ( 4 elements)

Resources = 232 bytes ( 29 elements)

Resources Files = 16 bytes ( 2 elements)

Resources Data = 437 bytes

Strings = 1551 bytes

Signatures = 2126 bytes

ByteCode = 11702 bytes

Attaching file.

Assembly: Microsoft.SPOT.Native (4.1.2821.0) (1144 RAM - 6516 ROM - 4479 METADATA)

AssemblyRef = 4 bytes ( 1 elements)

TypeRef = 80 bytes ( 20 elements)

FieldRef = 0 bytes ( 0 elements)

MethodRef = 60 bytes ( 15 elements)

TypeDef = 336 bytes ( 42 elements)

FieldDef = 192 bytes ( 95 elements)

MethodDef = 224 bytes ( 111 elements)

Attributes = 48 bytes ( 6 elements)

TypeSpec = 0 bytes ( 0 elements)

Resources = 72 bytes ( 9 elements)

Resources Files = 8 bytes ( 1 elements)

Resources Data = 747 bytes

Strings = 648 bytes

Signatures = 595 bytes

ByteCode = 418 bytes

Loading Deployment Assemblies.

Attaching deployed file.

Assembly: Microsoft.SPOT.Graphics (4.1.2821.0) (388 RAM - 2268 ROM - 1357 METADATA)

AssemblyRef = 8 bytes ( 2 elements)

TypeRef = 24 bytes ( 6 elements)

FieldRef = 0 bytes ( 0 elements)

MethodRef = 20 bytes ( 5 elements)

TypeDef = 40 bytes ( 5 elements)

FieldDef = 16 bytes ( 8 elements)

MethodDef = 96 bytes ( 48 elements)

Attributes = 0 bytes ( 0 elements)

TypeSpec = 0 bytes ( 0 elements)

Resources = 0 bytes ( 0 elements)

Resources Files = 0 bytes ( 0 elements)

Resources Data = 0 bytes

Strings = 537 bytes

Signatures = 293 bytes

ByteCode = 242 bytes

Attaching deployed file.

Assembly: GHIElectronics.NETMF.System (4.1.7.0) (488 RAM - 2496 ROM - 1465 METADATA)

AssemblyRef = 12 bytes ( 3 elements)

TypeRef = 48 bytes ( 12 elements)

FieldRef = 0 bytes ( 0 elements)

MethodRef = 56 bytes ( 14 elements)

TypeDef = 80 bytes ( 10 elements)

FieldDef = 28 bytes ( 14 elements)

MethodDef = 84 bytes ( 41 elements)

Attributes = 0 bytes ( 0 elements)

TypeSpec = 0 bytes ( 0 elements)

Resources = 0 bytes ( 0 elements)

Resources Files = 0 bytes ( 0 elements)

Resources Data = 0 bytes

Strings = 549 bytes

Signatures = 213 bytes

ByteCode = 349 bytes

Attaching deployed file.

Assembly: Microsoft.SPOT.TinyCore (4.1.2821.0) (5048 RAM - 61120 ROM - 23305 METADATA)

AssemblyRef = 16 bytes ( 4 elements)

TypeRef = 220 bytes ( 55 elements)

FieldRef = 52 bytes ( 13 elements)

MethodRef = 456 bytes ( 114 elements)

TypeDef = 1096 bytes ( 137 elements)

FieldDef = 720 bytes ( 360 elements)

MethodDef = 1568 bytes ( 784 elements)

Attributes = 0 bytes ( 0 elements)

TypeSpec = 4 bytes ( 1 elements)

Resources = 0 bytes ( 0 elements)

Resources Files = 0 bytes ( 0 elements)

Resources Data = 0 bytes

Strings = 12896 bytes

Signatures = 3085 bytes

ByteCode = 24789 bytes

Attaching deployed file.

Assembly: Microsoft.SPOT.Hardware (4.1.2821.0) (1752 RAM - 11440 ROM - 7371 METADATA)

AssemblyRef = 8 bytes ( 2 elements)

TypeRef = 124 bytes ( 31 elements)

FieldRef = 24 bytes ( 6 elements)

MethodRef = 120 bytes ( 30 elements)

TypeDef = 496 bytes ( 62 elements)

FieldDef = 176 bytes ( 88 elements)

MethodDef = 444 bytes ( 222 elements)

Attributes = 0 bytes ( 0 elements)

TypeSpec = 0 bytes ( 0 elements)

Resources = 0 bytes ( 0 elements)

Resources Files = 0 bytes ( 0 elements)

Resources Data = 0 bytes

Strings = 1329 bytes

Signatures = 1067 bytes

ByteCode = 2611 bytes

Attaching deployed file.

Assembly: Microsoft.SPOT.Touch (4.1.2821.0) (408 RAM - 2332 ROM - 1176 METADATA)

AssemblyRef = 16 bytes ( 4 elements)

TypeRef = 44 bytes ( 11 elements)

FieldRef = 4 bytes ( 1 elements)

MethodRef = 16 bytes ( 4 elements)

TypeDef = 72 bytes ( 9 elements)

FieldDef = 24 bytes ( 12 elements)

MethodDef = 64 bytes ( 32 elements)

Attributes = 0 bytes ( 0 elements)

TypeSpec = 0 bytes ( 0 elements)

Resources = 0 bytes ( 0 elements)

Resources Files = 0 bytes ( 0 elements)

Resources Data = 0 bytes

Strings = 747 bytes

Signatures = 176 bytes

ByteCode = 283 bytes

Attaching deployed file.

Assembly: GHIElectronics.NETMF.Hardware (4.1.7.0) (1268 RAM - 8732 ROM - 5109 METADATA)

AssemblyRef = 12 bytes ( 3 elements)

TypeRef = 100 bytes ( 25 elements)

FieldRef = 0 bytes ( 0 elements)

MethodRef = 104 bytes ( 26 elements)

TypeDef = 320 bytes ( 40 elements)

FieldDef = 128 bytes ( 64 elements)

MethodDef = 312 bytes ( 156 elements)

Attributes = 0 bytes ( 0 elements)

TypeSpec = 0 bytes ( 0 elements)

Resources = 0 bytes ( 0 elements)

Resources Files = 0 bytes ( 0 elements)

Resources Data = 0 bytes

Strings = 2190 bytes

Signatures = 697 bytes

ByteCode = 1301 bytes

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

Resolving.

Total: (11076 RAM - 119408 ROM - 58287 METADATA)

AssemblyRef = 64 bytes ( 16 elements)

TypeRef = 540 bytes ( 135 elements)

FieldRef = 80 bytes ( 20 elements)

MethodRef = 728 bytes ( 182 elements)

TypeDef = 3232 bytes ( 404 elements)

FieldDef = 1428 bytes ( 712 elements)

MethodDef = 4052 bytes ( 2024 elements)

DebuggingInfo = 2032 bytes

Attributes = 48 bytes ( 6 elements)

TypeSpec = 20 bytes ( 5 elements)

Resources Files = 72 bytes ( 3 elements)

Resources = 304 bytes ( 38 elements)

Resources Data = 1184 bytes

Strings = 18257 bytes

Signatures = 7555 bytes

ByteCode = 40394 bytes

GC: 1msec 18648 bytes used, 13612188 bytes available

Type 0F (STRING ): 24 bytes

Type 15 (FREEBLOCK ): 13612188 bytes

Type 17 (ASSEMBLY ): 14412 bytes

Type 18 (WEAKCLASS ): 96 bytes

Type 1E (BINARY_BLOB_HEAD ): 4044 bytes

Type 34 (APPDOMAIN_HEAD ): 72 bytes

Total: (11076 RAM - 119408 ROM - 58287 METADATA)

AssemblyRef = 64 bytes ( 16 elements)

TypeRef = 540 bytes ( 135 elements)

FieldRef = 80 bytes ( 20 elements)

MethodRef = 728 bytes ( 182 elements)

TypeDef = 3232 bytes ( 404 elements)

FieldDef = 1428 bytes ( 712 elements)

MethodDef = 4052 bytes ( 2024 elements)

DebuggingInfo = 2032 bytes

Attributes = 48 bytes ( 6 elements)

TypeSpec = 20 bytes ( 5 elements)

Resources Files = 72 bytes ( 3 elements)

Resources = 304 bytes ( 38 elements)

Resources Data = 1184 bytes

Strings = 18257 bytes

Signatures = 7555 bytes

ByteCode = 40394 bytes

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

Cannot find any entrypoint!

Done.

Waiting for debug commands…

‘Microsoft.SPOT.Debugger.CorDebug.dll’ (Managed): Loaded ‘C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.1\Assemblies\le\mscorlib.dll’, Symbols loaded.
‘Microsoft.SPOT.Debugger.CorDebug.dll’ (Managed): Loaded ‘C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.1\Assemblies\le\Microsoft.SPOT.Native.dll’, Symbols loaded.
‘Microsoft.SPOT.Debugger.CorDebug.dll’ (Managed): Loaded ‘C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.1\Assemblies\le\Microsoft.SPOT.Hardware.dll’, Symbols loaded.
‘Microsoft.SPOT.Debugger.CorDebug.dll’ (Managed): Loaded ‘C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.1\Assemblies\le\Microsoft.SPOT.Graphics.dll’, Symbols loaded.
‘Microsoft.SPOT.Debugger.CorDebug.dll’ (Managed): Loaded ‘C:\Program Files (x86)\GHI Electronics\GHI NETMF v4.1 SDK\Assemblies\le\GHIElectronics.NETMF.System.dll’
‘Microsoft.SPOT.Debugger.CorDebug.dll’ (Managed): Loaded ‘C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.1\Assemblies\le\Microsoft.SPOT.TinyCore.dll’, Symbols loaded.
‘Microsoft.SPOT.Debugger.CorDebug.dll’ (Managed): Loaded ‘C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.1\Assemblies\le\Microsoft.SPOT.Touch.dll’, Symbols loaded.
The program ‘[2] Micro Framework application: Managed’ has exited with code 0 (0x0).


#2

Hi mate, just a quick check - have you ever done anything with the Cobra before you connected this screen? Flash a LED, do anything that you’ve debugged and stepped into? And also have you checked the firmware version is the same as the SDK you have installed?


#3

GOT IT WORKING!!!

Yes, I had already gone through basic tutorials, blinking led, read switches, etc. Even though this board is just a few weeks old & the SDK was just downloaded, I decided to go through the hassle of EMX firmware upgrade…had to down load tera terminal, install drivers, etc,etc…but then it all came up working with that wonderful microscopic LCD font!

I guess when in doubt, upgrade the firmware…I’m surprised it would already be that out of date where a basic demo would not run.


#4

not really sure why you’d make that assumption but glad to hear you have it resolved. :slight_smile: There’s a reason it’s the “#1 mistake” listed on the thread/post submission screen that says “Before you submit, please read the following” :wink:
:wink: