Git Product home page Git Product logo

hex2dfu's Introduction

License #yourfirstpr Build Status Discord

nanoFramework logo


Welcome to the nanoFramework HEX2DFU tool repository!

This repo contains the Hex2Dfu tool. It's a console app to convert and/or pack HEX or BIN files in DFU packages (required to update some target boards). Is part of nanoFramework toolbox, along with other various tools that are required in nanoFramework development, usage or repository management.

Usage

Create a DFU file from a single hex file

To create a DFU package from a single hex file use the following command line:

hex2dfu -h=hex_file_name -o=output_DFU_image_file_name

Create a DFU file from one or more bin files

To create a DFU package from one (or more) bin files use the following command line:

hex2dfu -b=bin_file_name -a=address_to_flash [-b=bin_file_name_N -a=address_to_flash_N] -o=output_DFU_image_file_name

Optional parameters

The following parameters are available and are optional.

Set the VID of target USB device

Allows setting the VID of the USB device. Hexadecimal format. If not specified the STM default will be used. Usually used in conjunction with PID.

hex2dfu -h=hex_file_name -o=output_DFU_image_file_name [-v="0000"]

Set the PID of target USB device

Allows setting the PID of the USB device. Hexadecimal format. If not specified the STM default will be used. Usually used in conjunction with VID.

hex2dfu -h=hex_file_name -o=output_DFU_image_file_name [-p="0000"]

Set the firmware version of the target device

Allows setting the firmware version of the target device. Hexadecimal format. If not specified the STM default will be used. Can be used by the DFU tool to check for a valid device to update.

hex2dfu -h=hex_file_name -o=output_DFU_image_file_name [-f=""0000""]

Feedback and documentation

For documentation, providing feedback, issues and finding out how to contribute please refer to the Home repo.

Join our Discord community here.

Credits

The list of contributors to this project can be found at CONTRIBUTORS.

License

The nanoFramework HEX2DFU tool is licensed under the MIT license.

Code of Conduct

This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community.

hex2dfu's People

Contributors

josesimoes 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.