User's Manual
WaveFlexPicocellGatewayRadio‐UserManual‐Version1.2
www.Wave‐Flex.com ©Copyright2019WaveFlex,Inc.–AllRightsReserved Page8of17
5. FirmwareInstallationforWaveFlex‐WPGR
ThissectioncoversloadingtheLoRa®PicocellBootloaderandFirmwareintotheWPGR.
5.1 InitialFactoryInstallationofBootloaderintotheWPGR.
(Note:ThesestepsarealreadycompletedintheFactorybeforetheunitisshipped)
1. Pressthe“BOOT0”ButtononthebackoftheWPGRPCBwhilepluggingitintoa
USBPortontheRPi3Unit.
2. OntheRPi3,loadthebinaryimageintotheWPGRPCBbyenteringthefollowing
commandintheDataTerminalviewontheRPi3:
$sudo/usr/local/bin/dfu‐util‐a0‐D~/lora‐net/picoGW_mcu/bin/pgw_fw_usb.dfu
5.2 FieldInstallationoftheBootloaderintotheWPGR.
1. PlugtheWPGRintotheUSBPortontheRPi3Unitthatispowered‐up.
2. GototheDataTerminalviewontheRPi3.
3. EnterthefollowingcommandtoverifyUSBcommunications:$lsusb
4. OneoftheResponseLinesshouldendin:“STMicroelectronicsSTM32F407”is
theRPi3recognizestheWPGR.
5. EnterthefollowingcommandtoidentifywhichCOMSerialPortisused:
$dmesg
6. TheHardwareConfigurationoftheRPi3isdisplayedandinthisyoushouldbe
abletofindthefollowinglinesdisplayed:
usbProduct:SEMTECHCorpVirtualComPort
usbManufacturer:SEMTECH
usbSerialNumber:
cdc_acm:ttyACM0:USBACMdevice(Note:ThismayusettyACM1aswell)
7. IntheDataTerminaltypein:
a.
$ cd ~/lora-net/picoGW_hal/util_boot
b.
$make
c.
$./util_boot–d/dev/ttyACM0(Note:or“ttyACM1”)
d.
$lsusb(Enterthiscommandtocheckthat“STMDeviceisinDFUMode”
e.
EntercommandbelowtoloadthebinaryimageintotheWPGR.
$sudo/usr/local/bin/dfu‐util‐a0‐D~/lora‐net/picoGW_mcu/bin/pgw_fw_usb.dfu
f. ToExitDFU(DeviceFirmwareUpdate)moderemoveandre‐insertWPGRdevice
intotheUSBPortontheRPi3.










