Hardware/ARMEBS/4/DFU

From UIT
(Difference between revisions)
Jump to: navigation, search
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
 
{{public}}
 
{{public}}
 
{{TOC right}}
 
{{TOC right}}
 
FIXME finish this page
 
  
 
The USB specification defines a mode for updating USB device called DFU (Device Firmware Update), see [http://www.usb.org/developers/docs/devclass_docs/DFU_1.1.pdf|DFU 1.1 specification].
 
The USB specification defines a mode for updating USB device called DFU (Device Firmware Update), see [http://www.usb.org/developers/docs/devclass_docs/DFU_1.1.pdf|DFU 1.1 specification].
  
The microcontroler on the ARMEBS4 board supports this protocol.
+
== DFU on the ARMEBS4 ==
 +
# The DFU mode can be activated by moving the "boot0" jumper, near the reset button.
 +
{|class=wikitable
 +
|-
 +
| boot0 Jumper || Effect
 +
|-
 +
||
 +
Not soldered
 +
 
 +
Not connected
 +
 
 +
Left
 +
|| Normal mode
 +
|-
 +
||
 +
Right
 +
|| DFU mode
 +
|}
 +
 
 +
# Then press the reset button
  
 
== dfu-util ==
 
== dfu-util ==
Line 17: Line 34:
  
 
=== <code>.bin </code> file generation ===
 
=== <code>.bin </code> file generation ===
 +
FIXME

Latest revision as of 11:43, 18 September 2014

Contents

The USB specification defines a mode for updating USB device called DFU (Device Firmware Update), see 1.1 specification.

DFU on the ARMEBS4

  1. The DFU mode can be activated by moving the "boot0" jumper, near the reset button.
boot0 Jumper Effect

Not soldered

Not connected

Left

Normal mode

Right

DFU mode
  1. Then press the reset button

dfu-util

This command :


dfu-util -a 0 -d 0483:df11 -s 0x08000000:leave -D leds.bin

Will flash the leds.bin on the ARMEBS4 then run the code.

.bin file generation

FIXME

Personal tools
Namespaces
Variants
Actions
Navigation
Browse
Toolbox