TinyCLR OS 2.2.0.5 Release

Originally published at: TinyCLR OS 2.2.0.5 Release – GHI Electronics

The release of TinyCLR OS 2.2 has been commercially ROCK SOLID and has been already implemented in numerous industries all over the world.

This latest release brings in only a couple minor improvements. See release notes for full details.

Release Notes
Downloads
1 Like

Any chance on example how to reduce SDCard clock using Marshall class? Or do we need to dig into the datsheet for this.

1 Like

Hi: Can someone point me at instructions for installing the latest update on a SCM20250D Dev board? Currently in VS2022 . I am trying to build the example for this board, and have updated the nuget packages, but get the error which sounds like the error I used to get with NETMF 4.3…

"Severity Code Description Project File Line Suppression State
Error The assembly ‘mscorlib, Version=2.2.0.4200, Culture=neutral, PublicKeyToken=null’ has been referenced multiple times with different versions.
The assembly ‘mscorlib, Version=2.2.0.4200, Culture=neutral, PublicKeyToken=null’ cannot be found.
The assembly ‘mscorlib, Version=2.2.0.4200, Culture=neutral, PublicKeyToken=null’ has been referenced multiple times with different versions.
The assembly ‘mscorlib, Version=2.2.0.4200, Culture=neutral, PublicKeyToken=null’ cannot be found.
The assembly ‘mscorlib, Version=2.2.0.4200, Culture=neutral, PublicKeyToken=null’ has been referenced multiple times with different versions.
The assembly ‘mscorlib, Version=2.2.0.4200, Culture=neutral, PublicKeyToken=null’ cannot be found.
The assembly ‘GHIElectronics.TinyCLR.Devices.Camera, Version=2.2.0.4200, Culture=neutral, PublicKeyToken=null’ cannot be found.
The assembly ‘GHIElectronics.TinyCLR.Devices.Gpio, Version=2.2.0.4200, Culture=neutral, PublicKeyToken=null’ cannot be found.
The assembly ‘GHIElectronics.TinyCLR.Devices.Gpio, Version=2.2.0.5000, Culture=neutral, PublicKeyToken=null’ has been referenced multiple times with different versions.
The assembly ‘GHIElectronics.TinyCLR.Devices.Gpio, Version=2.2.0.5000, Culture=neutral, PublicKeyToken=null’ has been referenced multiple times with different versions.
The assembly ‘GHIElectronics.TinyCLR.Devices.Gpio, Version=2.2.0.5000, Culture=neutral, PublicKeyToken=null’ has been referenced multiple times with different versions.
The assembly ‘GHIElectronics.TinyCLR.Devices.Gpio, Version=2.2.0.5000, Culture=neutral, PublicKeyToken=null’ has been referenced multiple times with different versions.
The assembly ‘GHIElectronics.TinyCLR.Devices.I2c, Version=2.2.0.4200, Culture=neutral, PublicKeyToken=null’ cannot be found.
The assembly ‘GHIElectronics.TinyCLR.Devices.I2c, Version=2.2.0.5000, Culture=neutral, PublicKeyToken=null’ has been referenced multiple times with different versions.
"

  1. Open packages.config file,
    replace all “2.2.0.4200” to “2.2.0.5000”
  2. Open “yourprojct”.csproj
    replace all “2.2.0.4200” to “2.2.0.5000”
  3. Delete packages, bin, obj folders.
  4. clean your prioject, rebuild again.

Thanks for the quick response. Now I get:
Looking for a device on transport ‘USB’.
Found device port ‘USB’ with ID ‘7724a7d2-e1be-4052-9c5c-916769fe1edd’ for transport ‘Usb’.
Starting device deployment.
Attempting to connect to device ‘USB:SC20260’: iteration 0.
Opening port ‘\?\usb#vid_1b9f&pid_5010#6&110f65fc&0&4#{c13bcfe9-5e84-4187-9baa-45597ffcbb6f}’.
Attaching debugger engine.
Debugger engine attached.
Generating device specific assemblies.
- Demos v1.0.0.0 with size 133,280 bytes at ‘K:\GHI2022\TinyCLR Examples\TinyCLR-Samples-master\Official Demos\SCM20260D Dev\bin\Debug\pe\Demos.pe’.
- mscorlib v2.2.0.5000 with size 72,560 bytes at ‘K:\GHI2022\TinyCLR Examples\TinyCLR-Samples-master\Official Demos\SCM20260D Dev\bin\Debug\pe\mscorlib.pe’.
- GHIElectronics.TinyCLR.Cryptography v2.2.0.5000 with size 7,948 bytes at ‘K:\GHI2022\TinyCLR Examples\TinyCLR-Samples-master\Official Demos\SCM20260D Dev\bin\Debug\pe\GHIElectronics.TinyCLR.Cryptography.pe’.
- GHIElectronics.TinyCLR.Devices.Adc v2.2.0.5000 with size 2,612 bytes at ‘K:\GHI2022\TinyCLR Examples\TinyCLR-Samples-master\Official Demos\SCM20260D Dev\bin\Debug\pe\GHIElectronics.TinyCLR.Devices.Adc.pe’.
- GHIElectronics.TinyCLR.Devices.Camera v2.2.0.5000 with size 2,028 bytes at ‘K:\GHI2022\TinyCLR Examples\TinyCLR-Samples-master\Official Demos\SCM20260D Dev\bin\Debug\pe\GHIElectronics.TinyCLR.Devices.Camera.pe’.
- GHIElectronics.TinyCLR.Devices.Can v2.2.0.5000 with size 8,864 bytes at ‘K:\GHI2022\TinyCLR Examples\TinyCLR-Samples-master\Official Demos\SCM20260D Dev\bin\Debug\pe\GHIElectronics.TinyCLR.Devices.Can.pe’.
- GHIElectronics.TinyCLR.Devices.Dac v2.2.0.5000 with size 2,228 bytes at ‘K:\GHI2022\TinyCLR Examples\TinyCLR-Samples-master\Official Demos\SCM20260D Dev\bin\Debug\pe\GHIElectronics.TinyCLR.Devices.Dac.pe’.
- GHIElectronics.TinyCLR.Devices.Display v2.2.0.5000 with size 4,972 bytes at ‘K:\GHI2022\TinyCLR Examples\TinyCLR-Samples-master\Official Demos\SCM20260D Dev\bin\Debug\pe\GHIElectronics.TinyCLR.Devices.Display.pe’.
- GHIElectronics.TinyCLR.Devices.Gpio v2.2.0.5000 with size 4,880 bytes at ‘K:\GHI2022\TinyCLR Examples\TinyCLR-Samples-master\Official Demos\SCM20260D Dev\bin\Debug\pe\GHIElectronics.TinyCLR.Devices.Gpio.pe’.
- GHIElectronics.TinyCLR.Devices.I2c v2.2.0.5000 with size 10,468 bytes at ‘K:\GHI2022\TinyCLR Examples\TinyCLR-Samples-master\Official Demos\SCM20260D Dev\bin\Debug\pe\GHIElectronics.TinyCLR.Devices.I2c.pe’.
- GHIElectronics.TinyCLR.Devices.Network v2.2.0.5000 with size 19,076 bytes at ‘K:\GHI2022\TinyCLR Examples\TinyCLR-Samples-master\Official Demos\SCM20260D Dev\bin\Debug\pe\GHIElectronics.TinyCLR.Devices.Network.pe’.
- GHIElectronics.TinyCLR.Devices.Pwm v2.2.0.5000 with size 3,012 bytes at ‘K:\GHI2022\TinyCLR Examples\TinyCLR-Samples-master\Official Demos\SCM20260D Dev\bin\Debug\pe\GHIElectronics.TinyCLR.Devices.Pwm.pe’.
- GHIElectronics.TinyCLR.Devices.Rtc v2.2.0.5000 with size 3,316 bytes at ‘K:\GHI2022\TinyCLR Examples\TinyCLR-Samples-master\Official Demos\SCM20260D Dev\bin\Debug\pe\GHIElectronics.TinyCLR.Devices.Rtc.pe’.
- GHIElectronics.TinyCLR.Devices.Spi v2.2.0.5000 with size 6,284 bytes at ‘K:\GHI2022\TinyCLR Examples\TinyCLR-Samples-master\Official Demos\SCM20260D Dev\bin\Debug\pe\GHIElectronics.TinyCLR.Devices.Spi.pe’.
- GHIElectronics.TinyCLR.Devices.Storage v2.2.0.5000 with size 3,432 bytes at ‘K:\GHI2022\TinyCLR Examples\TinyCLR-Samples-master\Official Demos\SCM20260D Dev\bin\Debug\pe\GHIElectronics.TinyCLR.Devices.Storage.pe’.
- GHIElectronics.TinyCLR.Devices.Uart v2.2.0.5000 with size 8,012 bytes at ‘K:\GHI2022\TinyCLR Examples\TinyCLR-Samples-master\Official Demos\SCM20260D Dev\bin\Debug\pe\GHIElectronics.TinyCLR.Devices.Uart.pe’.
- GHIElectronics.TinyCLR.Devices.Usb v2.2.0.5000 with size 1,156 bytes at ‘K:\GHI2022\TinyCLR Examples\TinyCLR-Samples-master\Official Demos\SCM20260D Dev\bin\Debug\pe\GHIElectronics.TinyCLR.Devices.Usb.pe’.
- GHIElectronics.TinyCLR.Devices.UsbHost v2.2.0.5000 with size 21,500 bytes at ‘K:\GHI2022\TinyCLR Examples\TinyCLR-Samples-master\Official Demos\SCM20260D Dev\bin\Debug\pe\GHIElectronics.TinyCLR.Devices.UsbHost.pe’.
- GHIElectronics.TinyCLR.Drawing v2.2.0.5000 with size 17,776 bytes at ‘K:\GHI2022\TinyCLR Examples\TinyCLR-Samples-master\Official Demos\SCM20260D Dev\bin\Debug\pe\GHIElectronics.TinyCLR.Drawing.pe’.
- GHIElectronics.TinyCLR.Drivers.FocalTech.FT5xx6 v2.2.0.5000 with size 3,720 bytes at ‘K:\GHI2022\TinyCLR Examples\TinyCLR-Samples-master\Official Demos\SCM20260D Dev\bin\Debug\pe\GHIElectronics.TinyCLR.Drivers.FocalTech.FT5xx6.pe’.
- GHIElectronics.TinyCLR.Drivers.Microchip.Winc15x0 v2.2.0.5000 with size 1,656 bytes at ‘K:\GHI2022\TinyCLR Examples\TinyCLR-Samples-master\Official Demos\SCM20260D Dev\bin\Debug\pe\GHIElectronics.TinyCLR.Drivers.Microchip.Winc15x0.pe’.
- GHIElectronics.TinyCLR.Drivers.Omnivision.Ov9655 v2.2.0.5000 with size 4,420 bytes at ‘K:\GHI2022\TinyCLR Examples\TinyCLR-Samples-master\Official Demos\SCM20260D Dev\bin\Debug\pe\GHIElectronics.TinyCLR.Drivers.Omnivision.Ov9655.pe’.
- GHIElectronics.TinyCLR.IO v2.2.0.5000 with size 21,052 bytes at ‘K:\GHI2022\TinyCLR Examples\TinyCLR-Samples-master\Official Demos\SCM20260D Dev\bin\Debug\pe\GHIElectronics.TinyCLR.IO.pe’.
- GHIElectronics.TinyCLR.Native v2.2.0.5000 with size 6,200 bytes at ‘K:\GHI2022\TinyCLR Examples\TinyCLR-Samples-master\Official Demos\SCM20260D Dev\bin\Debug\pe\GHIElectronics.TinyCLR.Native.pe’.
- GHIElectronics.TinyCLR.Networking v2.2.0.5000 with size 12,600 bytes at ‘K:\GHI2022\TinyCLR Examples\TinyCLR-Samples-master\Official Demos\SCM20260D Dev\bin\Debug\pe\GHIElectronics.TinyCLR.Networking.pe’.
- GHIElectronics.TinyCLR.UI v2.2.0.5000 with size 198,184 bytes at ‘K:\GHI2022\TinyCLR Examples\TinyCLR-Samples-master\Official Demos\SCM20260D Dev\bin\Debug\pe\GHIElectronics.TinyCLR.UI.pe’.
Total deployment size is 581,236 bytes.
Incrementally deploying assemblies to the device:
There were not enough space totaling 0 bytes found for assembly: 581236.
Assemblies not successfully deployed to the device.
Deployment to the device was not successful.

I also note the following about TinyCLR Config with my new Dev board:


witch says Device Version Mismatch

“Device Version Mismatch”

Did you update the firmware on the board to match the version of TinyClr SDK?

No. That is why I tried TinyCLR Config. But the error message implies that perhaps I cannot?? Or that this is the wrong version of TinyCLR?? The About button says 2.2.0.4000? Is there a new version of this tool?

Mike, Dat - thanks for the help. Did not realize that the config tool needed to be updated. All seems to work now.

1 Like

Hello David,
There is a forum post here with a code sample.

2 Likes