TinyCLR OS 2.2.0.5 Release

Originally published at: https://www.ghielectronics.com/2022/09/15/tinyclr-os-2-2-0-5-release/

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.

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