riscv-openocd/contrib
Jeff Ciesielski 33b048d456 flash: New driver for XMC4xxx microcontroller family
This is a complete flash driver for the Infineon XMC4xxx family of
microcontrollers, based on the TMS570 driver by Andrey Yurovsky.
The driver attempts to discover the particular variant of MCU via a
combination of the SCU register (to determine if this is indeed an
XMC4xxx part) and the FLASH0_ID register (to determine the variant).
If this fails, the driver will not load.
The driver has been added to the README and documentation.

Tests:
* Hardware: XMC4500 (XMC4500_relax), XMC4200 (XMC4200 enterprise)
* SWD + JTAG
* Binary: 144k, 1M

Note:
* Flash protect only partly tested. These parts only allow the flash
  protection registers (UCB) to be written 4 times total, and my devkits
  have run out of uses (more on the way)

Future Work:
* User 1/2(permalock) locking support via custom command
* In-memory flash loader bootstrap (flashing is rather slow...)

Change-Id: I1d3345d5255d8de8dc4175cf987eb4a037a8cf7f
Signed-off-by: Jeff Ciesielski <jeffciesielski@gmail.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-on: http://openocd.zylin.com/2488
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
2015-11-11 12:08:35 +00:00
..
libdcc update files to correct FSF address 2013-06-05 19:52:42 +00:00
loaders flash: New driver for XMC4xxx microcontroller family 2015-11-11 12:08:35 +00:00
remote_bitbang Move xsvf_tools and remote_bitbang to contrib/ 2014-03-29 07:55:43 +00:00
rpc_examples contrib/rpc_examples: add example for python3 2014-04-14 18:14:22 +00:00
rtos-helpers rtos: add instructions and helper code to make FreeRTOS work again 2015-04-16 20:23:46 +01:00
xsvf_tools Move xsvf_tools and remote_bitbang to contrib/ 2014-03-29 07:55:43 +00:00
99-openocd.rules udev: Add J-Link on-board nRF51-DK 2015-08-06 13:08:10 +01:00
coresight-trace.txt present CM3 Trace agenda 2011-01-09 21:14:57 +01:00
cross-build.sh cmsis-dap: add initial cmsis-dap support 2014-01-09 15:20:51 +00:00
gen-stellaris-part-header.pl flash: declare fixed arrays const 2014-02-06 22:17:51 +00:00
itmdump.c contrib/itmdump: add a hack to allow direct dumping of specific SWIT, fix timestamp 2015-04-16 20:25:30 +01:00