OpenOCD

From Attie's Wiki
(Difference between revisions)
Jump to: navigation, search
m
m (Usage)
Line 33: Line 33:
  
 
==Usage==
 
==Usage==
 +
{{note|When flashing an image, use the 5v power supply, as USB cannot provide enough current}}
 +
 
{|
 
{|
 
| halt || halt...
 
| halt || halt...

Revision as of 17:25, 27 July 2012

Contents

Download

From git: git://openocd.git.sourceforge.net/gitroot/openocd/openocd
Source: http://sourceforge.net/projects/openocd/files/openocd/

Build

Git

# checkout the latest release tag (it may have changed!)
git co v0.5.0
 
# bootstrap
./bootstrap
 
# configure
./configure --enable-maintainer-mode

Source Package

# configure
./configure

Build

make

Install

sudo make install

Usage

Note: When flashing an image, use the 5v power supply, as USB cannot provide enough current
halt halt...
reset reset...
exit exit...
flash write_image erase <image> <address> put <image> into flash at <address>
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox