You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that it's possible to combine multiple options if those operations are supported by the platforms, e.g. update the CLR and deploy a managed application in the same execution.
102
+
100
103
## ESP32 usage examples
101
104
102
105
There are multiple ESP32 images available, some are build specifically for a target. Please check out the [list](https://github.com/nanoframework/nf-interpreter#firmware-for-reference-boards). You will need as well to know the COM port used by your device. Find [how to do this here](#finding-the-device-com-port-on-windows). Alternatively, you can as well list the available COM ports. If you list them first without the device to flash and then plugging the device, the additional port which will show up is the one for the device to flash. This method works for all OS:
@@ -301,6 +304,45 @@ This useful to list all Silabs devices that are connected through J-Link.
301
304
nanoff --listjlink
302
305
```
303
306
307
+
## Plain connection usage examples
308
+
309
+
It's possible to update a nano device using the same connection that is used for Visual Studio connection, meaning that no specialized connection is required (like JTAG, or JLink). This is only possible if the device has previously been flashed with a working nanoFramework firmware.
310
+
311
+
### Update the CLR of a nano device
312
+
313
+
To update the CLR of a nano device connected to a serial port to the latest available version.
314
+
This will find the latest available firmware for the connected device and will update the CLR.
315
+
316
+
```console
317
+
nanoff --nanodevice --update --serialport COM9
318
+
```
319
+
320
+
### Deploy a managed application
321
+
322
+
To deploy (or update) a managed application, the path to the managed application has to be provided.
323
+
This example uses the binary format file that is generated by Visual Studio when building any nanoFramework C# application. Because it's possible to retrieve all the required details from the connected device no other configuration is required.
0 commit comments