riscv-openocd/src
Jonas Norling 6d390e1b2a efm32: Refactor EFM32 chip family data, add more chips
Add support for more EFM32/EFR32 Series 1 families. The family IDs
come from the DEVICE_FAMILY list in the EFM32GG11 reference manual,
which is the most up to date source I could find. Register locations
have been checked against SiLab's header files.

No datasheets or headers were available for EFR32MG2, EFR32xG14 and
EFM32TG11B, so they are just assumed to follow the pattern. EFM32GG11B
has the MSC registers on a different address compared to other chips.

This commit attempts not to change current behavior when detecting
chips. One detail that has changed is that PAGE_SIZE is read before
applying the workaround for old Giant and Leopard Gecko revisions, but
this is believed to be OK because the register exists but just has an
invalid value in it.

The manuals disagree on which of 120 and 121 is WG, so this commit
leaves it as is.

Change-Id: Ia152b0b9e323defc5158cb02d9a6b04a27008f2a
Signed-off-by: Jonas Norling <jonas.norling@cyanconnode.com>
Reviewed-on: http://openocd.zylin.com/4263
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-by: Fredrik Hederstierna <fredrik@hederstierna.com>
2018-02-14 08:27:57 +00:00
..
flash efm32: Refactor EFM32 chip family data, add more chips 2018-02-14 08:27:57 +00:00
helper Handle improperly build image files gracefully 2018-02-14 08:27:01 +00:00
jtag jtag: drivers: stlink: ignore write verify error 2018-02-03 15:33:56 +00:00
pld Convert to non-recursive make 2016-12-08 16:23:10 +00:00
rtos rtos: Use 'bool' as return type for detect_rtos() 2017-12-06 21:01:12 +00:00
server server: add safeguards against printing bogus port number 2018-01-25 07:22:16 +00:00
svf Fix GCC7 warnings about switch-case fallthroughs 2017-10-23 10:54:16 +01:00
target Handle improperly build image files gracefully 2018-02-14 08:27:01 +00:00
transport Convert to non-recursive make 2016-12-08 16:23:10 +00:00
xsvf Convert to non-recursive make 2016-12-08 16:23:10 +00:00
Makefile.am Convert to non-recursive make 2016-12-08 16:23:10 +00:00
hello.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
hello.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
main.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
openocd.c Fix Jim interpreter memory leak 2018-01-17 07:52:35 +00:00
openocd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00