Main Site Documentation

FEZ Spider on TinyCLR OS


#1

I want to use FEZ Spider on Visual Studio 2017, so I installed EMX bootloader, EMX firmware in FEZ Spider, and TinyCLR OS in VS2017.

But when I tried to run basic LED program, debugger returned this error.

Found debugger!

Create TS.

Loading Deployment Assemblies.

Attaching deployed file.

Assembly: mscorlib (1.0.0.0)

Error: the reference mscorlib cannot be used with this version of the firmware.

Firmware checksum 0x47604AAF does not match the assembly checksum 0xB8544950.

Resolving.

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

Cannot find any entrypoint!

Done.

Waiting for debug commands…

How do I do to run program?


#2

From where have you get firmware ? Which version of TinyClr OS do you use ?


#3

I got firmware from official document page :

TinyClr OS version is 1.0.101.


#4

EMX firmware version is 0.12 so you have to use TinyCLR and nuget packages 0.12, not the latest. The is very important especially with all pre production releases

If you need the latest then you can use the sources to build it.


#5

That’s what I have guessed: Firmware version must match TinyClr OS version.
Firmware for legacy boards (Spider is one of them) are not more build and downloadable on GHI website. But you can build yourself as @Gus_Issa said.

If you are not ready to build yourself. Use vsix 0.12 version, Library 0.12 version and so you can use Firmware 0.12.


#6

Thank you for your answer.
I installed TinyCLR OS and nuget 0.12 from https://docs.ghielectronics.com/software/tinyclr/downloads.html,
it seems to connect VS and Spider.

But I received this message from debugger now.

Found debugger!

Create TS.

Loading Deployment Assemblies.

Attaching deployed file.

Assembly: mscorlib (0.12.0.0) Attaching deployed file.

Assembly: GHIElectronics.TinyCLR.Devices (0.12.0.0) Attaching deployed file.

Assembly: TinyCLRApplication2 (1.0.0.0) Attaching deployed file.

Assembly: TinyCLRApplication2 (1.0.0.0) Resolving.

Link failure: some assembly references cannot be resolved!!

Assembly: TinyCLRApplication2 (1.0.0.0) needs assembly ‘mscorlib’ (1.0.0.0)

Assembly: TinyCLRApplication2 (1.0.0.0) needs assembly ‘GHIElectronics.TinyCLR.Devices.Gpio’ (1.0.0.0)

Error: a3000000

Waiting for debug commands…

Do I need another package?


#7

Uninstall the TinyCLR project system and install version 0.12


#9

When I delete old program in Spider, debugger not returned error.
I don’t know how to use TinyCLR OS, so I will ask other thread.

Thank you very much!