Hello,
I am working on a project currently which involves a G120. I am using VS2019 with tinyCLR OS 1.0. on a windows 10x64 machine.
I am having issues with deploying to the G120. After I do a clean install of VS2019, I can deploy my project without any issues. But sometimes, after a while, for instance the next day when I want to continue, I am no longer able to deploy the project, the following happens:
Looking for a device on transport ‘USB’.
Found device port ‘USB’ with ID ‘fa02637a-5671-459b-8012-ce25db06d305’ for transport ‘Usb’.
Starting device deployment.
Attempting to connect to device ‘USB:G120’: iteration 0.
Opening port ‘\?\usb#vid_1b9f&pid_5007#6&30c8ca5f&0&6#{c13bcfe9-5e84-4187-9baa-45597ffcbb6f}’.
Attaching debugger engine.
Debugger engine attached.
Generating device specific assemblies.
- ReglerNextGen.Controller v1.0.0.0 with size 17.228 bytes at ‘C:\Software\TinyCLR\SCU_v1.0\ReglerNextGen\ReglerNextGen\bin\Debug\pe\ReglerNextGen.Controller.pe’.
- mscorlib v1.0.0.0 with size 72.284 bytes at ‘C:\Software\TinyCLR\SCU_v1.0\ReglerNextGen\ReglerNextGen\bin\Debug\pe\mscorlib.pe’.
- GHIElectronics.TinyCLR.Devices.Adc v1.0.0.0 with size 2.396 bytes at ‘C:\Software\TinyCLR\SCU_v1.0\ReglerNextGen\ReglerNextGen\bin\Debug\pe\GHIElectronics.TinyCLR.Devices.Adc.pe’.
- GHIElectronics.TinyCLR.Devices.Can v1.0.0.0 with size 7.804 bytes at ‘C:\Software\TinyCLR\SCU_v1.0\ReglerNextGen\ReglerNextGen\bin\Debug\pe\GHIElectronics.TinyCLR.Devices.Can.pe’.
- GHIElectronics.TinyCLR.Devices.Gpio v1.0.0.0 with size 4.808 bytes at ‘C:\Software\TinyCLR\SCU_v1.0\ReglerNextGen\ReglerNextGen\bin\Debug\pe\GHIElectronics.TinyCLR.Devices.Gpio.pe’.
- GHIElectronics.TinyCLR.Devices.Pwm v1.0.0.0 with size 2.812 bytes at ‘C:\Software\TinyCLR\SCU_v1.0\ReglerNextGen\ReglerNextGen\bin\Debug\pe\GHIElectronics.TinyCLR.Devices.Pwm.pe’.
- GHIElectronics.TinyCLR.Devices.Storage v1.0.0.0 with size 2.868 bytes at ‘C:\Software\TinyCLR\SCU_v1.0\ReglerNextGen\ReglerNextGen\bin\Debug\pe\GHIElectronics.TinyCLR.Devices.Storage.pe’.
- GHIElectronics.TinyCLR.IO v1.0.0.0 with size 20.904 bytes at ‘C:\Software\TinyCLR\SCU_v1.0\ReglerNextGen\ReglerNextGen\bin\Debug\pe\GHIElectronics.TinyCLR.IO.pe’.
- GHIElectronics.TinyCLR.Native v1.0.0.0 with size 4.220 bytes at ‘C:\Software\TinyCLR\SCU_v1.0\ReglerNextGen\ReglerNextGen\bin\Debug\pe\GHIElectronics.TinyCLR.Native.pe’.
Total deployment size is 135.324 bytes.
Incrementally deploying assemblies to the device:
There were not enough space totaling 0 bytes found for assembly: 135324.
Assemblies not successfully deployed to the device.
Deployment to the device was not successful.
The day before it did write the changed code no problem and suddenly the next day it refuses to upload the code…
I have tried to erase the app, reload firmware etc., nothing helps unless I do a fresh install of VS2019…but this is very time consuming and this is the third time already.
What is wrong? This is starting to drive me insane…
Hopefully someone can help.
kind regards,
Remco