forked from auracaster/openocd
flash: EFM32 flash implementation
Limited (no page unprotect, no block writes) implementation of EFM32 flash support. Verified with EFM32 development kit and STLink V2 adapter using SWD. Change-Id: I3db2054d9aa628a1fe4814430425db3c9959c71c Signed-off-by: Roman D <me@iamroman.org> Reviewed-on: http://openocd.zylin.com/1106 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
This commit is contained in:
@@ -155,13 +155,13 @@ OpenOCD internally. @xref{Debug Adapter Hardware}.
|
||||
|
||||
@b{GDB Debug:} It allows ARM7 (ARM7TDMI and ARM720t), ARM9 (ARM920T,
|
||||
ARM922T, ARM926EJ--S, ARM966E--S), XScale (PXA25x, IXP42x) and
|
||||
Cortex-M3 (Stellaris LM3 and ST STM32) based cores to be
|
||||
Cortex-M3 (Stellaris LM3, ST STM32 and Energy Micro EFM32) based cores to be
|
||||
debugged via the GDB protocol.
|
||||
|
||||
@b{Flash Programing:} Flash writing is supported for external CFI
|
||||
compatible NOR flashes (Intel and AMD/Spansion command set) and several
|
||||
internal flashes (LPC1700, LPC2000, AT91SAM7, AT91SAM3U, STR7x, STR9x, LM3, and
|
||||
STM32x). Preliminary support for various NAND flash controllers
|
||||
internal flashes (LPC1700, LPC2000, AT91SAM7, AT91SAM3U, STR7x, STR9x, LM3,
|
||||
STM32x and EFM32). Preliminary support for various NAND flash controllers
|
||||
(LPC3180, Orion, S3C24xx, more) controller is included.
|
||||
|
||||
@section OpenOCD Web Site
|
||||
@@ -4980,6 +4980,18 @@ The AVR 8-bit microcontrollers from Atmel integrate flash memory.
|
||||
@comment - defines mass_erase ... pointless given flash_erase_address
|
||||
@end deffn
|
||||
|
||||
@deffn {Flash Driver} efm32
|
||||
All members of the EFM32 microcontroller family from Energy Micro include
|
||||
internal flash and use ARM Cortex M3 cores. The driver automatically recognizes
|
||||
a number of these chips using the chip identification register, and
|
||||
autoconfigures itself.
|
||||
@example
|
||||
flash bank $_FLASHNAME efm32 0 0 0 0 $_TARGETNAME
|
||||
@end example
|
||||
@emph{The current implementation is incomplete. Unprotecting flash pages is not
|
||||
supported.}
|
||||
@end deffn
|
||||
|
||||
@deffn {Flash Driver} lpc2000
|
||||
Most members of the LPC1700 and LPC2000 microcontroller families from NXP
|
||||
include internal flash and use Cortex-M3 (LPC1700) or ARM7TDMI (LPC2000) cores.
|
||||
|
||||
Reference in New Issue
Block a user