Skip to content

oh4va/srf-osp-utility

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

ospupdfw

ospupdfw is an utility written in Python which downloads and updates firmware of a SharkRF openSPOT device.

Usage:

Update SharkRF openSPOT firmware

optional arguments:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  -d [DEVICE], --device [DEVICE]
                        serial device port where the openSPOT is connected to
                        (default: /dev/ttyACM0)
  -i, --info            print openSPOT info and exit (default: False)
  -t {beta,stable}, --type {beta,stable}
                        firmware type (default: stable)
  -fw FW_VERSION, --firmware FW_VERSION
                        firmware version to download and install (default:
                        0131)
  -hw HW_VERSION, --hardware HW_VERSION
                        hardware version (see the sticker at bottom of your
                        openSPOT) (default: 1.1)

Example output:

veijo@kirsikka:~/srf-osp-utility$ ./ospupdfw -t beta -fw 0132 
Downloading the firmware:
  https://x.sharkrf.com/fw-beta/osp/srf-osp-1.1-0132.bin
Opening serial device /dev/ttyACM0

SharkRF openSPOT device information (/dev/ttyACM0):
inf
sercon: inf: SharkRF openSPOT (openspot2)
  SRF-OSP-1.1-433 eu v0131 0A236A54 up 278
  diag 0,0000008a,000000a1,00000058,00000057,00000037,00000088
ready.
 

Do you want to continue (Y/N)?
y
Rebooting SharkRF openSPOT device to bootloader
Waiting the bootloader directory /media/veijo/BOOTLOADER/ to show up
Copying srf-osp-1.1-0132.bin to /media/veijo/BOOTLOADER/
Please, wait a couple of minutes

Please, stand by one more minute, the openSPOT is starting up!
veijo@kirsikka:~/srf-osp-utility$ 

About

Utility applications for SharkRF openSPOT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages