Coder Social home page Coder Social logo

firmwareuploader's Introduction

Do not use.

This is here only temporarily. The fwuploader is under refactoring. This repo is only a backup version and will be removed in the future. Please use https://github.com/arduino/arduino-fwuploader

Firmware/Certificates updater for WINC and NINA Wifi module

Use this tool to update the firmware and/or add SSL certificates for any WINC, NINA or SARA module.

Install

You can download the Firmware/Certificates updater here:

https://github.com/arduino/FirmwareUploader/releases/latest

Usage

Extract the zip file and run (for example, NINA -> WiFi1010)

./FirmwareUploader -flasher firmwares/NINA/FirmwareUpdater.mkrwifi1010.ino.bin -firmware firmwares/NINA/1.2.1/NINA_W102.bin -port /dev/ttyACM0 -address arduino.cc:443 -restore_binary /tmp/arduino_build_619137/WiFiSSLClient.ino.bin -programmer {runtime.tools.bossac}/bossac

To flash a MKR1000:

./FirmwareUploader -flasher firmwares/WINC1500/FirmwareUpdater.mkr1000.ino.bin -firmware firmwares/WINC1500/19.5.4/m2m_aio_3a0.bin -port /dev/ttyACM0 -address arduino.cc:443 -restore_binary /tmp/arduino_build_619137/WiFiSSLClient.ino.bin -programmer {runtime.tools.bossac}/bossac

To update a MKRNB1500:

./FirmwareUploader -flasher firmwares/SARA/SerialSARAPassthrough.ino.bin -firmware firmwares/SARA/5.6A2.00-to-5.6A2.01.pkg -port /dev/ttyACM0 -restore_binary firmwares/SARA/SerialSARAPassthrough.ino.bin -programmer {runtime.tools.bossac}/bossac

Command line options

The full list of command line options can be obtained with the -h option: ./FirmwareUploader -h

Usage of ./FirmwareUploader:
  -address value
      address (host:port) to fetch and flash root certificate for, multiple values allowed
  -certs string
      root certificate directory
  -firmware string
      firmware file to flash
  -flasher string
      firmware upload binary (precompiled for the right target)
  -get_available_for string
      Ask for available firmwares matching a given board
  -model string
      module model (winc, nina or sara)
  -port string
      serial port to use for flashing
  -programmer string
      path of programmer in use (avrdude/bossac)
  -read
      read all firmware and output to stdout
  -restore_binary string
      firmware upload binary (precompiled for the right target)

How to build the tools from source file

To build we use task for simplicity. From the sources root directory run:

task dist:<OS>_<ARCH>

Where could be one of: macOS,Windows,Linux. And : 32bit, 64bit, ARM or ARM64

This will create the FirmwareUploader executable.

Security

If you think you found a vulnerability or other security-related bug in this project, please read our security policy and report the bug to our Security Team ๐Ÿ›ก๏ธ Thank you!

e-mail contact: [email protected]

License

Copyright (c) 2015-2021 Arduino LLC. All right reserved.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

firmwareuploader's People

Contributors

cmaglie avatar facchinm avatar fede85 avatar per1234 avatar sandeepmistry avatar silvanocerza avatar umbynos avatar vipau avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.