Welcome to the next release of TinyCLR OS 2.2. We are sharing the preview today with RC and RTW coming in the few weeks after.
Added Features Include:
USB Client Mass Storage for QSPI, SD, and USB thumb drive. Now you can connect your SC20xxx SITCore device to your computer and swap files like you would any other mass storage client.
CPU usage statistics have been added and can measures between 0 and 100%.
SITCore now supports I2C slaves.
Gauge and chart have been added to the UI library, thanks to user “mifmasterz”!
See release notes for full details on all the new features and bug fixes.
I would suggest USB-Client and USB-Host have separate entries in the Tutorials menu list. Currently, it appears the only way to get to those is thru the inline links on the USB menu.
The PHY we are using doesn’t have any register to read cable status directly. We are using bit 0 (Link status) of status register. As few tests with hub, direct pc… this bit takes ~1.5 second to be valid after a reset.
We think the proper way is, we will reduce from 4 seconds to 2 seconds (for safe, instead of 1.5 seconds)
Adding one more field cost a lot of work for now. Timeout ~2 is not bad if the cable is not connected.
|Error|CS0246|The type or namespace name ‘StreamWriter’ could not be found (are you missing a using directive or an assembly reference?)|Variables|C:\tinyclr\Port\Variables\Variables.cs|141|Active|
We are seeing some deployment issues with this new firmware.
After upgrading to the new firmware, we sometimes need to try deploying the software 2 or 3 times with power cycles in between because the SC20 crashes.
It seems to be more or less gone after the first deployment of 2.2 software.