GithubHelp home page GithubHelp logo

dfuse-commandline's Introduction

DFU Commandline

DFU Commandline allows the stm32 developers to program the device without using a JTAG/SWD ST-Link programmer devices.

Description

"DFU Commandline Master" project is intended to be used by stm32 programmers.

ST released a modified version of DFU called DFUSE, it allows to program the STM32 through it's USB port

DfuFileMgr.exe converts a .hex file to a .dfu file following the DFUSE specification.

DfuSeCommand.exe then uploads the code into the target.

A tutorial and example is available in the archive.

How To Use

1- First, Install the DFU driver located in the Driver folder.

2- Plug in your DFU device, make sure it's in DFU mode. If your driver is installed and the device connected, you should see a DFU device in your device manager.

3- Your device is ready, now setup the IDE to load automatically the program. You just need to adjust your compiler to execute the "load.bat" file after its compilation process is done. Be sure the output HEX file name shall not have any spaces.

5- Congratulations Your IDE is now ready! Build your program and if the device is plugged in the DFU mode, the loader will find and program it. Otherwise, it will do nothing.

Calling the STM32 SystemMemory Bootloader from the user application firmware

To do this please refer to the following video from ST. Also you can use the "Blinky Sample" included in the project and "CD00167594.pdf" file as a reference.

Calling the STM32 SystemMemory Bootloader from your application

Calling the STM32 SystemMemory Bootloader from the application firmware

dfuse-commandline's People

Contributors

robokamran avatar brieucdm 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.