aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDavid Vidrie Leon <davidvidrie@geotab.com>2022-04-27 14:45:04 -0400
committerAntonio Borneo <borneo.antonio@gmail.com>2024-01-06 13:54:09 +0000
commita77d280bd07b355b5ec981a91eefa88695081bf1 (patch)
treeea8322ad05c74f825d630f10e49f9ffa89bf61cf /doc
parent0886730f5a003253a517807204a4ab7c4024c459 (diff)
downloadriscv-openocd-a77d280bd07b355b5ec981a91eefa88695081bf1.zip
riscv-openocd-a77d280bd07b355b5ec981a91eefa88695081bf1.tar.gz
riscv-openocd-a77d280bd07b355b5ec981a91eefa88695081bf1.tar.bz2
flash/nor/kinetis: add support for NXP S32K series
S32K General-Purpose Microcontrollers Scalable, low-power Arm® Cortex®-M series-based microcontrollers AEC-Q100 qualified with advanced safety and security and software support for industrial and automotive ASIL B/D applications in body, zone control, and electrification. Change-Id: I4143258535437c18b81802436267bfd561de9d31 Signed-off-by: David Vidrie Leon <davidvidrie@geotab.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8012 Reviewed-by: Tomas Vanek <vanekt@fbl.cz> Tested-by: jenkins
Diffstat (limited to 'doc')
-rw-r--r--doc/openocd.texi16
1 files changed, 12 insertions, 4 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index fb1610d..53730ea 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -6824,16 +6824,23 @@ nor is Chip Erase (only Sector Erase is implemented).}
@deffn {Flash Driver} {kinetis}
@cindex kinetis
-Kx, KLx, KVx and KE1x members of the Kinetis microcontroller family
-from NXP (former Freescale) include
-internal flash and use ARM Cortex-M0+ or M4 cores. The driver automatically
+Several microcontrollers from NXP (former Freescale), including
+Kx, KLx, KVx and KE1x members of the Kinetis family,
+and S32K11x/S32K14x microcontrollers, include
+internal flash and use ARM Cortex-M0+ or M4 cores.
+Kinetis and S32K1 families use incompatible
+identification registers, so the driver assumes Kinetis and requires
+a driver option to indicate S32K1 is to be used.
+Within the familiy, the driver automatically
recognizes flash size and a number of flash banks (1-4) using the chip
identification register, and autoconfigures itself.
Use kinetis_ke driver for KE0x and KEAx devices.
The @var{kinetis} driver defines option:
@itemize
-@item -sim-base @var{addr} ... base of System Integration Module where chip identification resides. Driver tries two known locations if option is omitted.
+@item -s32k select S32K11x/S32K14x microcontroller flash support.
+
+@item -sim-base @var{addr} ... base of System Integration Module where chip identification resides. Driver tries known locations if option is omitted.
@end itemize
@example
@@ -6882,6 +6889,7 @@ command completes.
@deffn {Command} {kinetis nvm_partition}
For FlexNVM devices only (KxxDX and KxxFX).
+Not supported (yet) on S32K1 devices.
Command shows or sets data flash or EEPROM backup size in kilobytes,
sets two EEPROM blocks sizes in bytes and enables/disables loading
of EEPROM contents to FlexRAM during reset.