Skip to content
Snippets Groups Projects
Commit b01952d7 authored by Pawel Si's avatar Pawel Si Committed by Paul Fertser
Browse files

mini51: support for Nuvoton NuMicro M051 series flash memory


adds flash support for Nuvoton M052, M054, M058, M0516 microcontrollers
into the mini51 driver, patch also adds support for programing LDROM,
flash data and flash config.

I've tested it on a M0516LBN microcontroller using an ST-LINK/V2:
1. removing security lock:
   openocd -f interface/stlink-v2.cfg  -f target/m051.cfg -c "init ; halt ; mini51 chip_erase; exit"
2. flashing:
   openocd -f interface/stlink-v2.cfg  -f target/m051.cfg -c "program file.hex"

Change-Id: I918bfbb42461279c216fb9c22272d77501a2f202
Signed-off-by: default avatarPawel Si <stawel+openocd@gmail.com>
Reviewed-on: http://openocd.zylin.com/2426


Tested-by: jenkins
Reviewed-by: default avatarNemui Trinomius <nemuisan_kawausogasuki@live.jp>
Reviewed-by: default avatarPaul Fertser <fercerpav@gmail.com>
parent 45a86f8e
Branches
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment