19. Firmware Update
There are multiples way to update the firmware of a Yoctopuce module..
19.1. The VirtualHub or the YoctoHub
It is possible to update the firmware directly from the web interface of the VirtualHub or the
YoctoHub. The configuration panel of the module has an "upgrade" button to start a wizard that will
guide you through the firmware update procedure.
In case the firmware update fails for any reason, and the module does no start anymore, simply
unplug the module then plug it back while maintaining the
Yocto-button
down. The module will boot
in "firmware update" mode and will appear in the VirtualHub interface below the module list.
19.2. The command line library
All the command line tools can update Yoctopuce modules thanks to the
downloadAndUpdate
command. The module selection mechanism works like for a traditional command. The [target] is the
name of the module that you want to update. You can also use the "any" or "all" aliases, or even a
name list, where the names are separated by commas, without spaces.
C:\>
Executable
[options]
[target]
command
[parameters]
The following example updates all the Yoctopuce modules connected by USB.
C:\>
YModule
all
downloadAndUpdate
ok: Yocto-PowerRelay RELAYHI1-266C8
(
rev=15430
)
is up to date.
ok: 0 / 0 hubs in 0.000000s.
ok: 0 / 0 shields in 0.000000s.
ok: 1 / 1 devices in 0.130000s 0.130000s per device.
ok: All devices are now up to date.
C:\>
19.3. The Android application Yocto-Firmware
You can update your module firmware from your Android phone or tablet with the
Yocto-Firmware
application. This application lists all the Yoctopuce modules connected by USB and checks if a more
recent firmware is available on www.yoctopuce.com. If a more recent firmware is available, you can
www.yoctopuce.com
125
Содержание Yocto-RangeFinder
Страница 1: ...Yocto RangeFinder User s guide...
Страница 2: ......
Страница 18: ...12 www yoctopuce com...
Страница 26: ...20 www yoctopuce com...
Страница 42: ...36 www yoctopuce com...
Страница 70: ...gcc lyocto lm lpthread lusb 1 0 lstdc 10 Using Yocto RangeFinder with C 64 www yoctopuce com...
Страница 90: ...84 www yoctopuce com...
Страница 120: ...114 www yoctopuce com...
Страница 130: ...124 www yoctopuce com...
Страница 158: ...21 High level API Reference On failure throws an exception or returns a negative error code 152 www yoctopuce com...
Страница 484: ...478 www yoctopuce com...
Страница 488: ...482 www yoctopuce com...
Страница 490: ...23 Characteristics 484 www yoctopuce com...
Страница 491: ......
Страница 492: ......