Hi.
I’m starting to use SPI class but I meet an issue.
Here the source code, really simple, I’m using a simulator which propose to change the input current value.
The purpose of the code is to display the value of the power in CPIO_Pin1. This code works on another computer.
But I have this message in the output:
The debugging target runtime is loading the application assemblies and starting execution.
Assembly: Microsoft.SPOT.Graphics (4.1.2821.0) (392 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
Le programme ‘[7424] Micro Framework application: Managé’ s’est arrêté avec le code 0 (0x0).
ByteCode = 242 bytes
Assembly: Microsoft.SPOT.Hardware (4.1.2821.0) (1756 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
-
*
-
ERROR!!! Firmware version does not match managed code version!!! *
-
*
-
*
-
Invalid native checksum: Microsoft.SPOT.Hardware 0xBAEBBA93!=0x9E2117AF *
-
*
Error: 96000000
I loaded Graphics, Hardware and Native from Microsoft.SPOT. All at the version 4.1.2821.
My project using .NET Framework 4.1 and the emulator is this one:
[em]I’m using ReSharper so there is a few files and directories probably useless for you.
[/em]
Do you have any idea about this error ? If I launch a clean project I have the same problem, and my breakpoint are not used…
Thank you.