Modifications

Sauter à la navigation Sauter à la recherche
1 482 octets ajoutés ,  19 novembre 2016 à 21:38
Page créée avec « {{WIPY-NAV}} {{traduction}} Cette partie du tutoriel explique comment faire une '''Mise-à-jour du firmware "Over The Air"''' (via la connexion WiFi). OTA software updat... »
{{WIPY-NAV}}

{{traduction}}
Cette partie du tutoriel explique comment faire une '''Mise-à-jour du firmware "Over The Air"''' (via la connexion WiFi).

OTA software updates can be performed through the FTP server. Upload the {{fname|mcuimg.bin}} file to: {{fname|/flash/sys/mcuimg.bin}} it will take around 6s. You won’t see the file being stored inside /flash/sys/ because it’s actually saved bypassing the user file system, so it ends up inside the internal '''hidden''' file system, but rest assured that it was successfully transferred, and it has been signed with a MD5 checksum to verify its integrity. Now, reset the WiPy by pressing the switch on the board, or by typing:

<syntaxhighlight lang="python">
>>> import machine
>>> machine.reset()
</syntaxhighlight>

Software updates can be found in: [https://github.com/wipy/wipy/releases https://github.com/wipy/wipy/releases] ('''Binaries.zip'''). It’s always recommended to update to the latest software, but make sure to read the release notes before.

{{ambox|text=The {{fname|bootloader.bin}} found inside {{fname|Binaries.zip}} is there only for reference, it’s not needed for the Over The Air update.}}

In order to check your software version, do:

<syntaxhighlight lang="python">
>>> import os
>>> os.uname().release
</syntaxhighlight>

If the version number is lower than the latest release found in [https://github.com/wipy/wipy/releases the releases], go ahead and update your WiPy!

{{WIPY-TRAILER}}
29 917

modifications

Menu de navigation