mirror of
git://git.code.sf.net/p/openocd/code
synced 2025-07-19 10:08:37 +10:00
Add a NOR flash mechanism where erase_address ranges can be padded out to sector boundaries, triggering a diagnostic: > flash erase_address 0x0001f980 16 address range 0x0001f980 .. 0x0001f98f is not sector-aligned Command handler execution failed in procedure 'flash' called at file "command.c", line 647 called at file "command.c", line 361 > > flash erase_address pad 0x0001f980 16 Adding extra erase range, 0x0001f800 to 0x0001f97f Adding extra erase range, 0x0001f990 to 0x0001fbff erased address 0x0001f980 (length 16) in 0.095975s (0.163 kb/s) > This addresses what would otherwise be something of a functional regression. An earlier version of the interface had a dangerous problem: it would silently erase data outside the range it was told to erase. Fixing that bug turned up some folk who relied on that unsafe behavior. (The classic problem with interface bugs!) Now they can get that behavior again. If they really need it, just specify "pad". Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
92 lines
3.2 KiB
Plaintext
92 lines
3.2 KiB
Plaintext
This file includes highlights of the changes made in the
|
|
OpenOCD 0.4.0 source archive release. See the repository
|
|
history for details about what changed, including bugfixes
|
|
and other issues not mentioned here.
|
|
|
|
JTAG Layer:
|
|
Support KT-Link JTAG adapter.
|
|
Support USB-JTAG, Altera USB-Blaster and compatibles.
|
|
|
|
Boundary Scan:
|
|
|
|
Target Layer:
|
|
General
|
|
- new "reset-assert" event, for systems without SRST
|
|
ARM
|
|
- renamed "armv4_5" command prefix as "arm"
|
|
- recognize TrustZone "Secure Monitor" mode
|
|
- "arm regs" command output changed
|
|
- register names use "sp" not "r13"
|
|
- add top-level "mcr" and "mrc" commands, replacing
|
|
various core-specific operations
|
|
- basic semihosting support
|
|
ARM11
|
|
- Preliminary ETM and ETB hookup
|
|
- accelerated "flash erase_check"
|
|
- accelerated GDB memory checksum
|
|
- support "arm regs" command
|
|
- can access all core modes and registers
|
|
- watchpoint support
|
|
Cortex-A8
|
|
- support "arm regs" command
|
|
- can access all core modes and registers
|
|
- supports "reset-assert" event (used on OMAP3530)
|
|
- watchpoint support
|
|
Cortex-M3
|
|
- Exposed DWT registers like cycle counter
|
|
- vector_catch settings not clobbered by resets
|
|
- no longer interferes with firmware's fault handling
|
|
ETM, ETB
|
|
- "trigger_percent" command moved ETM --> ETB
|
|
- "etm trigger_debug" command added
|
|
MIPS
|
|
- use fastdata writes
|
|
Freescale DSP563xx cores (partial support)
|
|
|
|
Flash Layer:
|
|
'flash bank' and 'nand device' take <bank_name> as first argument.
|
|
With this, flash/NAND commands allow referencing banks by name:
|
|
- <bank_name>: reference the bank with its defined name
|
|
- <driver_name>[.N]: reference the driver's Nth bank
|
|
New 'nand verify' command to check bank against an image file.
|
|
The "flash erase_address" command now rejects partial sectors;
|
|
previously it would silently erase extra data. If you
|
|
want to erase the rest of the first and/or last sectors
|
|
instead of failing, you must pass an explicit "pad" flag.
|
|
New at91sam9 NAND controller driver.
|
|
|
|
Board, Target, and Interface Configuration Scripts:
|
|
ARM9
|
|
- ETM and ETB hookup for iMX2* targets
|
|
Add $HOME/.openocd to the search path.
|
|
Handle Rev C of LM3S811 eval boards.
|
|
- use "luminary-lm3s811.cfg" for older boards
|
|
- use "luminary.cfg" for RevC and newer
|
|
|
|
Core Jim/TCL Scripting:
|
|
New 'usage' command to provide terse command help.
|
|
Improved command 'help' command output (sorted and indented).
|
|
Improved command handling:
|
|
- Most boolean settings now accept any of the following:
|
|
on/off, enable/disable, true/false, yes/no, 1/0
|
|
- More error checking and reporting.
|
|
|
|
Documentation:
|
|
New built-in command development documentation and primer.
|
|
|
|
Build and Release:
|
|
Use --enable-doxygen-pdf to build PDF developer documentation.
|
|
Consider upgrading to libftdi 0.17 if you use that library; it
|
|
includes bugfixes which improve FT2232H support.
|
|
|
|
For more details about what has changed since the last release,
|
|
see the git repository history. With gitweb, you can browse that
|
|
in various levels of detail.
|
|
|
|
For older NEWS, see the NEWS files associated with each release
|
|
(i.e. NEWS-<version>).
|
|
|
|
For more information about contributing test reports, bug fixes, or new
|
|
features and device support, please read the new Developer Manual (or
|
|
the BUGS and PATCHES.txt files in the source archive).
|