All Projects → UmbrelaSmart → android-stm32-dfu-programmer

UmbrelaSmart / android-stm32-dfu-programmer

Licence: Apache-2.0 License
Android application programmer for STM32 microcontrollers using the DFU protocol

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to android-stm32-dfu-programmer

DHT11-DHT22-STM32-HAL
Библиотека для работы с датчиками DHT11/DHT22/AM2302/AM2301 на STM32
Stars: ✭ 26 (-66.23%)
Mutual labels:  stm32, stm32f4
OtterPill
stm32f072 dev board with arduino nano alike pinout
Stars: ✭ 127 (+64.94%)
Mutual labels:  stm32, dfu
STM32 HAL FREEMODBUS RTU
FreeMODBUS RTU port for STM32 HAL library
Stars: ✭ 111 (+44.16%)
Mutual labels:  stm32, stm32f4
STM32 TimerInterrupt
This library enables you to use Interrupt from Hardware Timers on an STM32F/L/H/G/WB/MP1-based board. These STM32F/L/H/G/WB/MP1 Hardware Timers, using Interrupt, still work even if other functions are blocking. Moreover, they are much more precise (certainly depending on clock frequency accuracy) than other software timers using millis() or micr…
Stars: ✭ 27 (-64.94%)
Mutual labels:  stm32, stm32f4
DfuBootloader
STM32 USB device bootloader using DFU class interface
Stars: ✭ 79 (+2.6%)
Mutual labels:  stm32, dfu
Atrial-Fibrillation-Detection-Blood-Pressure-Monitor-Oscillometric-Method-
Atrial Fibrillation Detection Blood Pressure Monitor (Oscillometric Method)
Stars: ✭ 28 (-63.64%)
Mutual labels:  stm32, stm32f4
stm32DevelopmentBoards
Development boards and software templates for STM32 MCU
Stars: ✭ 41 (-46.75%)
Mutual labels:  stm32, stm32f4
PrntrBoardV2
32-bit 3D Printer controller board using STM32F407 and replaceable TMC2660/2209 stepper drivers.
Stars: ✭ 31 (-59.74%)
Mutual labels:  stm32, stm32f4
STM32-base.github.io
Github Pages for the STM32-base project.
Stars: ✭ 27 (-64.94%)
Mutual labels:  stm32, stm32f4
firmware
设备固件库,适用于IntoRobot系列产品
Stars: ✭ 19 (-75.32%)
Mutual labels:  stm32
jackpair
p2p speech encrypting device with analog audio interface suitable for GSM phones
Stars: ✭ 26 (-66.23%)
Mutual labels:  stm32f4
Nodate
A light-weight framework for STM32 and other architectures written in C++.
Stars: ✭ 105 (+36.36%)
Mutual labels:  stm32
toolchain68k
build a toolchain for cross developement. Supports motorola m68k-elf, avr and arm-none-eabi
Stars: ✭ 18 (-76.62%)
Mutual labels:  stm32
kconfig
Kconfig for ARM based MCUs
Stars: ✭ 15 (-80.52%)
Mutual labels:  stm32
CMSIS NN-INTQ
INT-Q Extension of the CMSIS-NN library for ARM Cortex-M target
Stars: ✭ 15 (-80.52%)
Mutual labels:  stm32
STM32-Bare-Metal
STM32F103C8 bare metal template
Stars: ✭ 26 (-66.23%)
Mutual labels:  stm32
STM32F103 MSD BOOTLOADER
STM32F103 Mass Storage Device Bootloader
Stars: ✭ 23 (-70.13%)
Mutual labels:  stm32
terminal
Terminal inside the microcontroller (cli for mcu)
Stars: ✭ 31 (-59.74%)
Mutual labels:  stm32
UA3REO-DDC-Transceiver
DDC/DUC SDR Tranceiver project
Stars: ✭ 93 (+20.78%)
Mutual labels:  stm32
stm32f10x makefile freertos
stm32f10x gcc makefile freertos
Stars: ✭ 28 (-63.64%)
Mutual labels:  stm32

android-stm32-dfu-programmer

Brief Description

This app is able to mass erase a STM32Fx and flash it with firmware from a .dfu file. See the accompanying youtube video for a demonstration

android-stm32-dfu-programmer video

###Notes### The USB_VENDOR_ID and USB_PRODUCT_ID in the MainActivity.java file must match your STM32 device, otherwise the app will not recognize the usb device.

###Instructions###

  1. Create .dfu file with DfuSe by STM with the proper PID, and Version number. Note: Only one image per file is supported.
  2. Copy the file into the Internal Download folder of your Android device.
  3. Hold/Jumper Boot0 button/pin ( and sometimes also reset button) while connecting the usb device to the Android device USING an OTG cable.
  4. (Re)open the app. If device was found, the permission dialog appears. Allow persmission to access USB device.

Once your device info is displayed int the text field, you are ready to perform two actions.

  • Press Mass Erase Button to completely wipe the Flash memory excluding the Option Bytes. This might take 15 seconds depending on the Flash size and app will not respond until its finished.

  • Press Program Button: This will load the .dfu file from Download Folder and sent to attached Device. Once the file is downloaded it will automatically start the new program downloaded. If you want to Mass Erase, reconnect the cable and restart the app.

###Tested on### Nexus 7 (2012) running stock Android API 19 (Kitkat) connected via USB to a STM32-P107 Dev Board by Olimex

###Limitation### Only one .dfu file must be located in the internal Download folder. The .dfu file must be compiled using dfuSE version1 (tested with DFU File Manager 3.0.3) with at most one element file for at most one target. Does only mass erase the complete flash memory. The image file size must not exceed the target device flash memory capacity. Any errors during programming are ignored by clearing the status.

Known Issues

On some STM32F devices, It takes several tries to recognize the USB device.

Contributors

  • Philip Ped
  • Ryan Ramchandar

License

Copyright 2015 Umbrela Smart, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].