diff options
author | Cosmin Gorgovan <cosmin@linux-geek.org> | 2013-08-09 17:52:46 +0100 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2013-09-08 15:40:44 +0000 |
commit | e475896eb18185ac6089cfeec45c8bd4dcb73330 (patch) | |
tree | e80fec645ed3246f8f3a4a816e842ba43e29f6d2 /src/flash/nor/Makefile.am | |
parent | 1c41362aeaca98e6a4e25e0f7e9d85c0c3a490aa (diff) | |
download | riscv-openocd-e475896eb18185ac6089cfeec45c8bd4dcb73330.zip riscv-openocd-e475896eb18185ac6089cfeec45c8bd4dcb73330.tar.gz riscv-openocd-e475896eb18185ac6089cfeec45c8bd4dcb73330.tar.bz2 |
mini51: support for Nuvoton NuMicro Mini51 series flash memory
Adds a flash driver for Nuvoton MINI51, MINI52 and MINI54 microcontrollers.
At the moment, it only supports the erase and write operations.
These microcontrollers have a 4 / 8 / 16 KB APROM for application code and a
2 KB LDROM for bootloaders. When the MCU has booted off the APROM, the LDROM
isn't mapped in memory but can be programmed, and the other way around.
This means that the ARM core is typically rebooted for programming. After a
successful write or erase operation, it is rebooted again, using the initial
boot source.
This driver only supports programming the APROM.
This driver is a pure JTAG implementation, it doesn't use any SRAM.
I've tested it on a MINI54ZAN microcontroller using an ST-LINK/V2. With the
microcontroller running at the default clock frequency of 22.1184 MHz, speed
seems to be around 1.1 KB/s.
Change-Id: I180889c55af9fb5614cd99a953b755baba14288a
Signed-off-by: Cosmin Gorgovan <cosmin@linux-geek.org>
Reviewed-on: http://openocd.zylin.com/1546
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'src/flash/nor/Makefile.am')
-rw-r--r-- | src/flash/nor/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/flash/nor/Makefile.am b/src/flash/nor/Makefile.am index 080b847..b5ffc52 100644 --- a/src/flash/nor/Makefile.am +++ b/src/flash/nor/Makefile.am @@ -38,7 +38,8 @@ NOR_DRIVERS = \ virtual.c \ fm3.c \ dsp5680xx_flash.c \ - kinetis.c + kinetis.c \ + mini51.c noinst_HEADERS = \ core.h \ |