EVK-W16 - User Guide
UBX-15017061 - R02
Advance Information
Factory restore
Page 23 of 38
4
Factory restore
If a unit is not booting properly, the device can be restored to factory settings using the procedure mentioned in
section 4.1. To update the bootloader, contact u-blox support.
4.1
USB Device firmware upgrade
The USB DFU standard allows downloading of the firmware through a standardized protocol over USB. To
reflash the ELIN-W160 with new firmware, you can upgrade the whole system by reflashing the NAND. Reboot
target and break the boot sequence when you see U-Boot.
Retrieve the firmware bundle for the ELIN-W160 and unpack in the firmware folder:
git clone
[email protected]:u-blox/elin-w16-releases.git
In the release repository, you have scripts for automating the firmware download to target.
The script
elin-w16-flashload.sh
depends on dfu-util to be installed on the host.
The scripts are matched to the firmware from u-blox EVK though it can be easily changed to match other
images. Power off the module and connect the board with a USB micro into the USB0 interface on your PC and
the FTDI chip to your PC.
When you see the U-Boot loading, abort the boot sequence. In U-Boot prompt, clear the NAND flash to prepare
for firmware upgrade.
This erases the UBI erase counters and is recommended only during development or when a unit is
bricked.
$
cd utils
$ tar -xjvf elin-w160-evk-v2.0.0.0.tar.bz2
elin-w160-evk-v2.0.0.0/
elin-w160-evk-v2.0.0.0/u-boot-spl.bin
elin-w160-evk-v2.0.0.0/core-image-ublox-dev-elin-w160-evk.manifest
elin-w160-evk-v2.0.0.0/zImage-am335x-elin-w160-evk.dtb
elin-w160-evk-v2.0.0.0/u-boot.img
elin-w160-evk-v2.0.0.0/zImage
elin-w160-evk-v2.0.0.0/core-image-ublox-dev-elin-w160-evk.ubi
elin-w160-evk-v2.0.0.0/MLO
elin-w160-evk-v2.0.0.0/modules-elin-w160-evk.tgz
$ sudo apt-get install dfu-util
/
└──
elin-w16-releases/
├──
elin-w160-evk-v2.0.0.0.tar.bz2
├──
README
└──
utils
└──
elin-w16-flashload.sh