diff --git a/NEWTAPS b/NEWTAPS index 638fa00526ce4a90e2e458d859b4a795e9280bf8..10f300632945428eb72e0afde54f36a73ff43e99 100644 --- a/NEWTAPS +++ b/NEWTAPS @@ -77,7 +77,7 @@ This is always a 32bit hex number. Examples: 0x1f0f0f0f - is an old ARM7TDMI 0x3f0f0f0f - is a newer ARM7TDMI - 0x3ba00477 - is an ARM cortex M3 + 0x3ba00477 - is an ARM Cortex-M3 Some chips have multiple JTAG taps - be sure to list each one individually - ORDER is important! diff --git a/TODO b/TODO index 8aac1575915abf1b8f4164006134c2b5ad88fe97..f50af3ec56c38e536554e987702499b56ebbb55c 100644 --- a/TODO +++ b/TODO @@ -170,9 +170,9 @@ https://lists.berlios.de/pipermail/openocd-development/2009-October/011506.html garabage. - implement missing functionality (grep FNC_INFO_NOTIMPLEMENTED ...) - Thumb2 single stepping: ARM1156T2 needs simulator support -- Cortex A8 support (ML) +- Cortex-A8 support (ML) - add target implementation (ML) -- Cortex M3 support +- Cortex-M3 support - when stepping, only write dirtied registers (be faster) - when connecting to halted core, fetch registers (startup is quirky) - Generic ARM run_algorithm() interface diff --git a/contrib/loaders/flash/cortex-m0.S b/contrib/loaders/flash/cortex-m0.S index a905a36277330c683c19bbee8292906fba19f269..b4416e783c6aa2e41ba5472f7791186ba3f30ac6 100644 --- a/contrib/loaders/flash/cortex-m0.S +++ b/contrib/loaders/flash/cortex-m0.S @@ -27,8 +27,8 @@ /* Written for NRF51822 (src/flash/nor/nrf51.c) however the NRF NVMC is * very generic (CPU blocks during flash writes), so this is actually - * just a generic word-oriented copy routine for cortex-m0 (also - * suitable for cortex m0plus/m3/m4.) + * just a generic word-oriented copy routine for Cortex-M0 (also + * suitable for Cortex-M0+/M3/M4.) * * To assemble: * arm-none-eabi-gcc -c cortex-m0.S diff --git a/doc/openocd.texi b/doc/openocd.texi index 3e249c0734ea27462965627792fe3f48f26e2ad2..ae926970be69a9a5e8edcffad173c85e76c31645 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -995,7 +995,7 @@ For example, there may be configuration files for your JTAG adapter and target chip, but you need a new board-specific config file giving access to your particular flash chips. Or you might need to write another target chip configuration file -for a new chip built around the Cortex M3 core. +for a new chip built around the Cortex-M3 core. @quotation Note When you write new configuration files, please submit @@ -5215,7 +5215,7 @@ The AVR 8-bit microcontrollers from Atmel integrate flash memory. @deffn {Flash Driver} efm32 All members of the EFM32 microcontroller family from Energy Micro include -internal flash and use ARM Cortex M3 cores. The driver automatically recognizes +internal flash and use ARM Cortex-M3 cores. The driver automatically recognizes a number of these chips using the chip identification register, and autoconfigures itself. @example @@ -5235,7 +5235,7 @@ supported.} @deffn {Flash Driver} fm3 All members of the FM3 microcontroller family from Fujitsu -include internal flash and use ARM Cortex M3 cores. +include internal flash and use ARM Cortex-M3 cores. The @var{fm3} driver uses the @var{target} parameter to select the correct bank config, it can currently be one of the following: @code{mb9bfxx1.cpu}, @code{mb9bfxx2.cpu}, @code{mb9bfxx3.cpu}, @@ -5267,7 +5267,7 @@ nor is Chip Erase (only Sector Erase is implemented).} @deffn {Flash Driver} kinetis @cindex kinetis Kx and KLx members of the Kinetis microcontroller family from Freescale include -internal flash and use ARM Cortex M0+ or M4 cores. The driver automatically +internal flash and use ARM Cortex-M0+ or M4 cores. The driver automatically recognizes flash size and a number of flash banks (1-4) using the chip identification register, and autoconfigures itself. @@ -5325,7 +5325,7 @@ Command disables watchdog timer. @deffn {Flash Driver} kinetis_ke @cindex kinetis_ke KE members of the Kinetis microcontroller family from Freescale include -internal flash and use ARM Cortex M0+. The driver automatically recognizes +internal flash and use ARM Cortex-M0+. The driver automatically recognizes the KE family and sub-family using the chip identification register, and autoconfigures itself. @@ -5686,7 +5686,7 @@ This will remove any Code Protection. @deffn {Flash Driver} psoc4 All members of the PSoC 41xx/42xx microcontroller family from Cypress -include internal flash and use ARM Cortex M0 cores. +include internal flash and use ARM Cortex-M0 cores. The driver automatically recognizes a number of these chips using the chip identification register, and autoconfigures itself. @@ -5720,7 +5720,7 @@ The @var{num} parameter is a value shown by @command{flash banks}. @deffn {Flash Driver} sim3x All members of the SiM3 microcontroller family from Silicon Laboratories -include internal flash and use ARM Cortex M3 cores. It supports both JTAG +include internal flash and use ARM Cortex-M3 cores. It supports both JTAG and SWD interface. The @var{sim3x} driver tries to probe the device to auto detect the MCU. If this failes, it will use the @var{size} parameter as the size of flash bank. diff --git a/src/flash/nor/at91sam3.c b/src/flash/nor/at91sam3.c index 9d119bbf588b65052c1da3ff23ae66ee8b82152f..9782fd82fd35c70ae7c8a99b169b06ea0e490f85 100644 --- a/src/flash/nor/at91sam3.c +++ b/src/flash/nor/at91sam3.c @@ -2482,7 +2482,7 @@ static const char *const eproc_names[] = { _unknown, /* 0 */ "arm946es", /* 1 */ "arm7tdmi", /* 2 */ - "cortex-m3", /* 3 */ + "Cortex-M3", /* 3 */ "arm920t", /* 4 */ "arm926ejs", /* 5 */ _unknown, /* 6 */ diff --git a/src/flash/nor/at91sam4.c b/src/flash/nor/at91sam4.c index 88ff6d7aa19b3862312e117f8bb2b59e64f2c1a9..bcaaaa0fd1bff2739393028c52980d74f5317262 100644 --- a/src/flash/nor/at91sam4.c +++ b/src/flash/nor/at91sam4.c @@ -1407,11 +1407,11 @@ static const char *const eproc_names[] = { _unknown, /* 0 */ "arm946es", /* 1 */ "arm7tdmi", /* 2 */ - "cortex-m3", /* 3 */ + "Cortex-M3", /* 3 */ "arm920t", /* 4 */ "arm926ejs", /* 5 */ - "cortex-a5", /* 6 */ - "cortex-m4", /* 7 */ + "Cortex-A5", /* 6 */ + "Cortex-M4", /* 7 */ _unknown, /* 8 */ _unknown, /* 9 */ _unknown, /* 10 */ diff --git a/src/flash/nor/atsamv.c b/src/flash/nor/atsamv.c index 08f8bb8ba7a2b3e60243bc971d61b30076b20554..77fb7e68b86a454eb6f2b4ee36f62c42e60a0900 100644 --- a/src/flash/nor/atsamv.c +++ b/src/flash/nor/atsamv.c @@ -355,7 +355,7 @@ static int samv_probe(struct flash_bank *bank) uint8_t eproc = (device_id >> 5) & 0x7; if (eproc != 0) { - LOG_ERROR("unexpected eproc code: %d was expecting 0 (cortex-m7)", eproc); + LOG_ERROR("unexpected eproc code: %d was expecting 0 (Cortex-M7)", eproc); return ERROR_FAIL; } diff --git a/src/flash/nor/efm32.c b/src/flash/nor/efm32.c index ab543d6111550c0730dfec670859c8d86ae38fa8..5627a6276388b41c5b428df7c375f8899e441ef0 100644 --- a/src/flash/nor/efm32.c +++ b/src/flash/nor/efm32.c @@ -144,11 +144,11 @@ static int efm32x_read_info(struct flash_bank *bank, return ret; if (((cpuid >> 4) & 0xfff) == 0xc23) { - /* Cortex M3 device */ + /* Cortex-M3 device */ } else if (((cpuid >> 4) & 0xfff) == 0xc24) { - /* Cortex M4 device(WONDER GECKO) */ + /* Cortex-M4 device (WONDER GECKO) */ } else if (((cpuid >> 4) & 0xfff) == 0xc60) { - /* Cortex M0plus device */ + /* Cortex-M0+ device */ } else { LOG_ERROR("Target is not Cortex-Mx Device"); return ERROR_FAIL; diff --git a/src/flash/nor/niietcm4.c b/src/flash/nor/niietcm4.c index 9e32c010459cc71e055caf65ddca5e438d582c5f..ff72ea0f9b2ed53bab5d644fd6cd646905913cf1 100644 --- a/src/flash/nor/niietcm4.c +++ b/src/flash/nor/niietcm4.c @@ -1719,7 +1719,7 @@ static int niietcm4_auto_probe(struct flash_bank *bank) static int get_niietcm4_info(struct flash_bank *bank, char *buf, int buf_size) { struct niietcm4_flash_bank *niietcm4_info = bank->driver_priv; - LOG_INFO("\nNIIET Cortex M4F %s\n%s", niietcm4_info->chip_name, niietcm4_info->chip_brief); + LOG_INFO("\nNIIET Cortex-M4F %s\n%s", niietcm4_info->chip_name, niietcm4_info->chip_brief); snprintf(buf, buf_size, " "); return ERROR_OK; diff --git a/src/flash/nor/sim3x.c b/src/flash/nor/sim3x.c index df4e19c297863683f6546abfe0668f76a95ced94..bb1743e42f769e2d3e467373d1188711dc29c448 100644 --- a/src/flash/nor/sim3x.c +++ b/src/flash/nor/sim3x.c @@ -748,7 +748,7 @@ static int sim3x_read_info(struct flash_bank *bank) } if (((cpuid >> 4) & 0xfff) != 0xc23) { - LOG_ERROR("Target is not CortexM3"); + LOG_ERROR("Target is not Cortex-M3"); return ERROR_FAIL; } @@ -1009,7 +1009,7 @@ COMMAND_HANDLER(sim3x_lock) return ret; if ((val & CPUID_CHECK_VALUE_MASK) != CPUID_CHECK_VALUE) { - LOG_ERROR("Target is not ARM CortexM3 or is already locked"); + LOG_ERROR("Target is not ARM Cortex-M3 or is already locked"); return ERROR_FAIL; } } else { diff --git a/src/jtag/drivers/openjtag.c b/src/jtag/drivers/openjtag.c index 904ab40d9ea752b0a984c27fdad50f84f855708f..3d14f6d8003531a5a87f6a8893ec5862dc52311b 100644 --- a/src/jtag/drivers/openjtag.c +++ b/src/jtag/drivers/openjtag.c @@ -32,7 +32,7 @@ ***************************************************************************/ /*************************************************************************** - * Version 1.0 Tested on a MCBSTM32 board using a Cortex M3 (stm32f103x), * + * Version 1.0 Tested on a MCBSTM32 board using a Cortex-M3 (stm32f103x), * * GDB and Eclipse under Linux (Ubuntu 10.04) * * * ***************************************************************************/ diff --git a/src/jtag/drivers/stlink_usb.c b/src/jtag/drivers/stlink_usb.c index 649368d09faddb9870010fc4e32c5e99b852012f..bbd31d878dd05000e5752a471b28f81e50ceccd3 100644 --- a/src/jtag/drivers/stlink_usb.c +++ b/src/jtag/drivers/stlink_usb.c @@ -1164,7 +1164,7 @@ static int stlink_usb_step(void *handle) if (h->jtag_api == STLINK_JTAG_API_V2) { /* TODO: this emulates the v1 api, it should really use a similar auto mask isr - * that the cortex-m3 currently does. */ + * that the Cortex-M3 currently does. */ stlink_usb_write_debug_reg(handle, DCB_DHCSR, DBGKEY|C_HALT|C_MASKINTS|C_DEBUGEN); stlink_usb_write_debug_reg(handle, DCB_DHCSR, DBGKEY|C_STEP|C_MASKINTS|C_DEBUGEN); return stlink_usb_write_debug_reg(handle, DCB_DHCSR, DBGKEY|C_HALT|C_DEBUGEN); diff --git a/src/rtos/ChibiOS.c b/src/rtos/ChibiOS.c index 84393860c1d758ae04c61ff2b21d004dbbceeeca..be91be5f637ddb52242cbc0c454492d90ef07ae4 100644 --- a/src/rtos/ChibiOS.c +++ b/src/rtos/ChibiOS.c @@ -226,7 +226,7 @@ static int ChibiOS_update_stacking(struct rtos *rtos) /* Sometimes the stacking can not be determined only by looking at the * target name but only a runtime. * - * For example, this is the case for cortex-m4 targets and ChibiOS which + * For example, this is the case for Cortex-M4 targets and ChibiOS which * only stack the FPU registers if it is enabled during ChibiOS build. * * Terminating which stacking is used is target depending. @@ -248,7 +248,7 @@ static int ChibiOS_update_stacking(struct rtos *rtos) struct ChibiOS_params *param; param = (struct ChibiOS_params *) rtos->rtos_specific_params; - /* Check for armv7m with *enabled* FPU, i.e. a Cortex M4 */ + /* Check for armv7m with *enabled* FPU, i.e. a Cortex-M4 */ struct armv7m_common *armv7m_target = target_to_armv7m(rtos->target); if (is_armv7m(armv7m_target)) { if (armv7m_target->fp_feature == FPv4_SP) { diff --git a/src/rtos/FreeRTOS.c b/src/rtos/FreeRTOS.c index 93137733cb8010e7349d9e4a95814dd7a76facaf..a58eed1371f058cdf77c4bfdb0924b3120ba6aa4 100644 --- a/src/rtos/FreeRTOS.c +++ b/src/rtos/FreeRTOS.c @@ -430,7 +430,7 @@ static int FreeRTOS_get_thread_reg_list(struct rtos *rtos, int64_t thread_id, ch thread_id + param->thread_stack_offset, stack_ptr); - /* Check for armv7m with *enabled* FPU, i.e. a Cortex M4F */ + /* Check for armv7m with *enabled* FPU, i.e. a Cortex-M4F */ int cm4_fpu_enabled = 0; struct armv7m_common *armv7m_target = target_to_armv7m(rtos->target); if (is_armv7m(armv7m_target)) { diff --git a/src/rtos/mqx.c b/src/rtos/mqx.c index 272658c8a53e265707d9894e7752995ad0670d04..f0f419c61f856722e237a2af5ff597adef2d2eaf 100644 --- a/src/rtos/mqx.c +++ b/src/rtos/mqx.c @@ -109,7 +109,7 @@ static int mqx_valid_address_check( enum mqx_arch arch_type = ((struct mqx_params *)rtos->rtos_specific_params)->target_arch; const char * targetname = ((struct mqx_params *)rtos->rtos_specific_params)->target_name; - /* Cortex M address range */ + /* Cortex-M address range */ if (arch_type == mqx_arch_cortexm) { if ( /* code and sram area */ diff --git a/src/rtos/rtos_standard_stackings.c b/src/rtos/rtos_standard_stackings.c index 7d72b4e280b5741779f8b88fb6cbd35cbdfe733b..32f82a91fec051d7422b382ad9570795f6828168 100644 --- a/src/rtos/rtos_standard_stackings.c +++ b/src/rtos/rtos_standard_stackings.c @@ -182,7 +182,7 @@ int64_t rtos_generic_stack_align8(struct target *target, stacking, stack_ptr, 8); } -/* The Cortex M3 will indicate that an alignment adjustment +/* The Cortex-M3 will indicate that an alignment adjustment * has been done on the stack by setting bit 9 of the stacked xPSR * register. In this case, we can just add an extra 4 bytes to get * to the program stack. Note that some places in the ARM documentation diff --git a/src/target/armv7a.c b/src/target/armv7a.c index b9320d14371eb5867e841b132c5401b13029451e..6dbe10d74139dceff9a2d17606cbd97c1fc1e850 100644 --- a/src/target/armv7a.c +++ b/src/target/armv7a.c @@ -177,7 +177,7 @@ done: return retval; } -/* method adapted to cortex A : reused arm v4 v5 method*/ +/* method adapted to Cortex-A : reused ARM v4 v5 method */ int armv7a_mmu_translate_va(struct target *target, uint32_t va, uint32_t *val) { uint32_t first_lvl_descriptor = 0x0; diff --git a/src/target/cortex_a.c b/src/target/cortex_a.c index a97e594e4d4d8e94722ed7d9b53e3ed1545dc39b..b345dfc0169170ed57a3db54b852caaa295b7328 100644 --- a/src/target/cortex_a.c +++ b/src/target/cortex_a.c @@ -18,7 +18,7 @@ * michel.jaouen@stericsson.com : smp minimum support * * * * Copyright (C) Broadcom 2012 * - * ehunter@broadcom.com : Cortex R4 support * + * ehunter@broadcom.com : Cortex-R4 support * * * * Copyright (C) 2013 Kamal Dasu * * kdasu.kdev@gmail.com * @@ -2664,7 +2664,7 @@ out: /* * Cortex-A Memory access * - * This is same Cortex M3 but we must also use the correct + * This is same Cortex-M3 but we must also use the correct * ap number for every access. */ diff --git a/src/target/cortex_m.c b/src/target/cortex_m.c index 32b46d34abb7fb61d053a8366cca9f0f70d19e70..29f0cdd0bc3bf89fc24c5cba312d813af9300c48 100644 --- a/src/target/cortex_m.c +++ b/src/target/cortex_m.c @@ -1932,7 +1932,7 @@ int cortex_m_examine(struct target *target) } LOG_DEBUG("cpuid: 0x%8.8" PRIx32 "", cpuid); - /* test for floating point feature on cortex-m4 */ + /* test for floating point feature on Cortex-M4 */ if (i == 4) { target_read_u32(target, MVFR0, &mvfr0); target_read_u32(target, MVFR1, &mvfr1); diff --git a/tcl/target/altera_fpgasoc.cfg b/tcl/target/altera_fpgasoc.cfg index fccf8c51ea4cfd2e1be34672103931d8b8a97526..25fe1f49329c4bd0376d62bd6e38ad8b480b8ed1 100644 --- a/tcl/target/altera_fpgasoc.cfg +++ b/tcl/target/altera_fpgasoc.cfg @@ -27,7 +27,7 @@ jtag newtap $_CHIPNAME.fpga tap -irlen 10 -ircapture 0x01 -irmask 0x3 -expected- # -# Cortex A9 target +# Cortex-A9 target # # GDB target: Cortex-A9, using DAP, configuring only one core @@ -59,6 +59,6 @@ $_TARGETNAME1 configure -event gdb-attach { halt } #$_TARGETNAME2 configure -event gdb-attach { halt } proc cycv_dbginit {target} { - # General Cortex A8/A9 debug initialisation + # General Cortex-A8/A9 debug initialisation cortex_a dbginit } diff --git a/tcl/target/am335x.cfg b/tcl/target/am335x.cfg index ce7cfb6d6802cad4cf0d7eee17c1e78eb8737320..74096151e660aa27604557e07d1c7689b4e1d101 100644 --- a/tcl/target/am335x.cfg +++ b/tcl/target/am335x.cfg @@ -63,13 +63,13 @@ proc enable_default_taps { taps } { } # -# Cortex M3 target +# Cortex-M3 target # set _TARGETNAME_2 $_CHIPNAME.m3 target create $_TARGETNAME_2 cortex_m -chain-position $_CHIPNAME.m3_dap # -# Cortex A8 target +# Cortex-A8 target # set _TARGETNAME $_CHIPNAME.cpu target create $_TARGETNAME cortex_a -chain-position $_CHIPNAME.dap -dbgbase 0x80001000 diff --git a/tcl/target/am437x.cfg b/tcl/target/am437x.cfg index 4f97f812e54ccf01018bdfb44c57eef16dd3c1e1..fe0ffff292a46d8ce65e2d5ff8642476a93ca5f1 100644 --- a/tcl/target/am437x.cfg +++ b/tcl/target/am437x.cfg @@ -484,7 +484,7 @@ jtag configure $JRC_NAME -event setup "jtag tapenable $DEBUGSS_NAME" jtag configure $JRC_NAME -event post-reset "runtest 100" # -# Cortex A9 target +# Cortex-A9 target # target create $_TARGETNAME cortex_a -chain-position $DEBUGSS_NAME -coreid 0 -dbgbase 0x80000000 diff --git a/tcl/target/amdm37x.cfg b/tcl/target/amdm37x.cfg index 59fbbf01cd7cd929151d56f9831648b625976172..c00dae921c49d79054691fede6f4d7450823e4e6 100644 --- a/tcl/target/amdm37x.cfg +++ b/tcl/target/amdm37x.cfg @@ -199,7 +199,7 @@ $_TARGETNAME configure -event gdb-attach { # Run this to enable invasive debugging. This is run automatically in the # reset sequence. proc amdm37x_dbginit {target} { - # General Cortex A8 debug initialisation + # General Cortex-A8 debug initialisation cortex_a dbginit # Enable DBGEN signal. This signal is described in the ARM v7 TRM, but diff --git a/tcl/target/at91sam3XXX.cfg b/tcl/target/at91sam3XXX.cfg index 6af1f5cc2aac4c33e30c27616c3e514698254f7a..fca655d2cbf90f2a2c7a723757197dedfd9dbeec 100644 --- a/tcl/target/at91sam3XXX.cfg +++ b/tcl/target/at91sam3XXX.cfg @@ -1,4 +1,4 @@ -# script for ATMEL sam3, a CORTEX-M3 chip +# script for ATMEL sam3, a Cortex-M3 chip # # at91sam3u4e # at91sam3u2e diff --git a/tcl/target/at91sam3ax_xx.cfg b/tcl/target/at91sam3ax_xx.cfg index 8e6bc337e61354e9ea1e85393554c127d927afb8..e561771222b272a8ff681f6bc30533781eeed82f 100644 --- a/tcl/target/at91sam3ax_xx.cfg +++ b/tcl/target/at91sam3ax_xx.cfg @@ -1,4 +1,4 @@ -# script for ATMEL sam3, a CORTEX-M3 chip +# script for ATMEL sam3, a Cortex-M3 chip # # at91sam3A4C # at91sam3A8C diff --git a/tcl/target/at91sam3sXX.cfg b/tcl/target/at91sam3sXX.cfg index ca7092b7ab10e46523a958bc7d1d77973f3f5293..09146bd0feda2fc5fec2ec502c6148b5f59a681c 100644 --- a/tcl/target/at91sam3sXX.cfg +++ b/tcl/target/at91sam3sXX.cfg @@ -1,4 +1,4 @@ -# script for ATMEL sam3, a CORTEX-M3 chip +# script for ATMEL sam3, a Cortex-M3 chip # # at91sam3s4c # at91sam3s4b diff --git a/tcl/target/at91sam3uxx.cfg b/tcl/target/at91sam3uxx.cfg index a11afc0b73442cfefef4fc7c16a481adbbc739c8..b42ae19cf3be07a42d5f10be31209939dee9c867 100644 --- a/tcl/target/at91sam3uxx.cfg +++ b/tcl/target/at91sam3uxx.cfg @@ -1,4 +1,4 @@ -# script for ATMEL sam3, a CORTEX-M3 chip +# script for ATMEL sam3, a Cortex-M3 chip # # at91sam3u4e # at91sam3u2e diff --git a/tcl/target/at91sam4XXX.cfg b/tcl/target/at91sam4XXX.cfg index 8f32ca0bfd926330e3e581a0650aaabd07def70b..ca801431af1797f04ca07b2725645caa6fc71a7d 100644 --- a/tcl/target/at91sam4XXX.cfg +++ b/tcl/target/at91sam4XXX.cfg @@ -1,5 +1,5 @@ # -# script for ATMEL sam4, a CORTEX-M4 chip +# script for ATMEL sam4, a Cortex-M4 chip # # diff --git a/tcl/target/at91sam4lXX.cfg b/tcl/target/at91sam4lXX.cfg index 46c38aef2dd998d566a8a8f86e6f1cc7c5d843ec..4aee7d08145f7f290ae58467495eb4d708f3a46d 100644 --- a/tcl/target/at91sam4lXX.cfg +++ b/tcl/target/at91sam4lXX.cfg @@ -1,4 +1,4 @@ -# script for ATMEL sam4l, a CORTEX-M4 chip +# script for ATMEL sam4l, a Cortex-M4 chip # source [find target/at91sam4XXX.cfg] diff --git a/tcl/target/at91sam4sXX.cfg b/tcl/target/at91sam4sXX.cfg index 3de4aa850ad36aac8b85ff62e4cfce634a74b87d..8883e23ca584f404e1c4a8cb589da914b4291536 100644 --- a/tcl/target/at91sam4sXX.cfg +++ b/tcl/target/at91sam4sXX.cfg @@ -1,4 +1,4 @@ -# script for ATMEL sam4, a CORTEX-M4 chip +# script for ATMEL sam4, a Cortex-M4 chip # source [find target/at91sam4XXX.cfg] diff --git a/tcl/target/at91sam4sd32x.cfg b/tcl/target/at91sam4sd32x.cfg index e44db66e0d7f1c1299b3517ee572b86f56015b44..077b1f51f57e1f35e519dc3fbc5cc1e3f9906d31 100644 --- a/tcl/target/at91sam4sd32x.cfg +++ b/tcl/target/at91sam4sd32x.cfg @@ -1,4 +1,4 @@ -# script for ATMEL sam4sd32, a CORTEX-M4 chip +# script for ATMEL sam4sd32, a Cortex-M4 chip # source [find target/at91sam4XXX.cfg] diff --git a/tcl/target/at91samdXX.cfg b/tcl/target/at91samdXX.cfg index 50d93f59035a367a7f8275d83e020443bac760ca..47b4f5f161cf5ef71c44cd1ab06d416f37de431f 100644 --- a/tcl/target/at91samdXX.cfg +++ b/tcl/target/at91samdXX.cfg @@ -1,5 +1,5 @@ # -# script for Atmel SAMD, SAMR, SAML or SAMC, a CORTEX-M0 chip +# script for Atmel SAMD, SAMR, SAML or SAMC, a Cortex-M0 chip # # diff --git a/tcl/target/at91samg5x.cfg b/tcl/target/at91samg5x.cfg index d26455b0909bd10bffb3210933cac941b844e8f8..57274c0c577acf3f3761430d0c40899b90dea921 100644 --- a/tcl/target/at91samg5x.cfg +++ b/tcl/target/at91samg5x.cfg @@ -1,4 +1,4 @@ -# script for the ATMEL samg5x CORTEX-M4F chip family +# script for the ATMEL samg5x Cortex-M4F chip family # source [find target/at91sam4XXX.cfg] diff --git a/tcl/target/bcm281xx.cfg b/tcl/target/bcm281xx.cfg index c05682f8795e446dd104c8bd6b35899a5481a1c2..224af793333be0c97d4b89f1aa69a8b13f9da804 100644 --- a/tcl/target/bcm281xx.cfg +++ b/tcl/target/bcm281xx.cfg @@ -17,7 +17,7 @@ if { [info exists DAP_TAPID] } { jtag newtap $_CHIPNAME dap -expected-id $_DAP_TAPID -irlen 4 -# Dual Cortex A9s +# Dual Cortex-A9 set _TARGETNAME0 $_CHIPNAME.cpu0 set _TARGETNAME1 $_CHIPNAME.cpu1 diff --git a/tcl/target/cc26xx.cfg b/tcl/target/cc26xx.cfg index 0fa460035144945a04e5cba8ce6ddd370947b90c..1492e6a220089dff8a56b3dade75522053f8ab31 100755 --- a/tcl/target/cc26xx.cfg +++ b/tcl/target/cc26xx.cfg @@ -37,7 +37,7 @@ jtag configure $_CHIPNAME.jrc -event setup "jtag tapenable $_CHIPNAME.dap" jtag configure $_CHIPNAME.jrc -event post-reset "ti_cjtag_to_4pin_jtag $_CHIPNAME.jrc" # -# Cortex M3 target +# Cortex-M3 target # set _TARGETNAME $_CHIPNAME.cpu target create $_TARGETNAME cortex_m -chain-position $_CHIPNAME.dap diff --git a/tcl/target/cc32xx.cfg b/tcl/target/cc32xx.cfg index ff654502455d3540b858727f64775ac0ee358629..154bf9106be839fc8a320e9c8baafbf35d15dedf 100755 --- a/tcl/target/cc32xx.cfg +++ b/tcl/target/cc32xx.cfg @@ -47,7 +47,7 @@ if {[using_jtag]} { } # -# Cortex M3 target +# Cortex-M3 target # set _TARGETNAME $_CHIPNAME.cpu target create $_TARGETNAME cortex_m -chain-position $_CHIPNAME.dap diff --git a/tcl/target/fm3.cfg b/tcl/target/fm3.cfg index e2d78d1e5563b84e4090c54b7f87daa8864c2e0a..78bbc945cea63967e767307fda1c6947214de638 100644 --- a/tcl/target/fm3.cfg +++ b/tcl/target/fm3.cfg @@ -27,7 +27,7 @@ if {[using_jtag]} { jtag_ntrst_delay 100 } -# Fujitsu cortex-M3 reset configuration +# Fujitsu Cortex-M3 reset configuration reset_config trst_only swj_newdap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID diff --git a/tcl/target/imx51.cfg b/tcl/target/imx51.cfg index 15d5c048f2216ccc9eed63f57cce1384c940c192..b143aad2585c701e8a2f8468db49ebceab563932 100644 --- a/tcl/target/imx51.cfg +++ b/tcl/target/imx51.cfg @@ -40,7 +40,7 @@ jtag configure $_CHIPNAME.SJC -event post-reset "runtest 100" jtag configure $_CHIPNAME.SJC -event setup "jtag tapenable $_CHIPNAME.DAP" proc imx51_dbginit {target} { - # General Cortex A8 debug initialisation + # General Cortex-A8 debug initialisation cortex_a dbginit } diff --git a/tcl/target/imx53.cfg b/tcl/target/imx53.cfg index e77bc340d0aaf3332c45ff68ce39be2997d93116..87a3008e4de0c5bd94a45c9f276177361fcc16d5 100644 --- a/tcl/target/imx53.cfg +++ b/tcl/target/imx53.cfg @@ -40,7 +40,7 @@ jtag configure $_CHIPNAME.SJC -event post-reset "runtest 100" jtag configure $_CHIPNAME.SJC -event setup "jtag tapenable $_CHIPNAME.DAP" proc imx53_dbginit {target} { - # General Cortex A8 debug initialisation + # General Cortex-A8 debug initialisation cortex_a dbginit } diff --git a/tcl/target/imx6.cfg b/tcl/target/imx6.cfg index 11c2134cd8a1d7e947c8c37c1e714fd24c0c09d5..4f7e98afd033e82b7649af714e80c23b48f70d8b 100644 --- a/tcl/target/imx6.cfg +++ b/tcl/target/imx6.cfg @@ -47,7 +47,7 @@ target create $_TARGETNAME cortex_a -chain-position $_CHIPNAME.dap \ jtag configure $_CHIPNAME.sjc -event post-reset "runtest 100" proc imx6_dbginit {target} { - # General Cortex A8/A9 debug initialisation + # General Cortex-A8/A9 debug initialisation cortex_a dbginit } diff --git a/tcl/target/lpc1xxx.cfg b/tcl/target/lpc1xxx.cfg index 226425d41f3cf1225d7f496cdc2ea87619fa17b1..9c10e9f933a3bc1633e22e611d7dfa08a86131ca 100644 --- a/tcl/target/lpc1xxx.cfg +++ b/tcl/target/lpc1xxx.cfg @@ -56,7 +56,7 @@ if { [info exists CPUTAPID] } { # Allow user override set _CPUTAPID $CPUTAPID } else { - # LPC8xx/LPC11xx/LPC12xx use a Cortex M0/M0+ core, LPC13xx/LPC17xx use a Cortex M3 core,LPC40xx use a Cortex-M4F core. + # LPC8xx/LPC11xx/LPC12xx use a Cortex-M0/M0+ core, LPC13xx/LPC17xx use a Cortex-M3 core, LPC40xx use a Cortex-M4F core. if { $_CHIPSERIES == "lpc800" || $_CHIPSERIES == "lpc1100" || $_CHIPSERIES == "lpc1200" } { set _CPUTAPID 0x0bb11477 } elseif { $_CHIPSERIES == "lpc1300" || $_CHIPSERIES == "lpc1700" || $_CHIPSERIES == "lpc4000" } { @@ -148,10 +148,10 @@ if {[using_jtag]} { jtag_ntrst_delay 200 } -# LPC8xx (Cortex M0+ core) support SYSRESETREQ -# LPC11xx/LPC12xx (Cortex M0 core) support SYSRESETREQ -# LPC13xx/LPC17xx (Cortex M3 core) support SYSRESETREQ -# LPC40xx (Cortex M4F core) support SYSRESETREQ +# LPC8xx (Cortex-M0+ core) support SYSRESETREQ +# LPC11xx/LPC12xx (Cortex-M0 core) support SYSRESETREQ +# LPC13xx/LPC17xx (Cortex-M3 core) support SYSRESETREQ +# LPC40xx (Cortex-M4F core) support SYSRESETREQ if {![using_hla]} { # if srst is not fitted use SYSRESETREQ to # perform a soft reset diff --git a/tcl/target/nrf51.cfg b/tcl/target/nrf51.cfg index 076812069057ce0236be04e8026e12eaee43e2cc..280dd4ff365609d56cddc62a82d565bf817f1e8f 100644 --- a/tcl/target/nrf51.cfg +++ b/tcl/target/nrf51.cfg @@ -1,5 +1,5 @@ # -# script for Nordic nRF51 series, a CORTEX-M0 chip +# script for Nordic nRF51 series, a Cortex-M0 chip # source [find target/swj-dp.tcl] diff --git a/tcl/target/omap3530.cfg b/tcl/target/omap3530.cfg index f9dcf7cbfe8a6fd47a03bdb0cc72823f1d9ce59c..c2929d1c4079ba8e7cb7a213514baa7f1e55ff7e 100644 --- a/tcl/target/omap3530.cfg +++ b/tcl/target/omap3530.cfg @@ -53,7 +53,7 @@ jtag configure $_CHIPNAME.jrc -event post-reset "runtest 100" jtag configure $_CHIPNAME.jrc -event setup "jtag tapenable $_CHIPNAME.dap" proc omap3_dbginit {target} { - # General Cortex A8 debug initialisation + # General Cortex-A8 debug initialisation cortex_a dbginit # Enable DBGU signal for OMAP353x $target mww phys 0x5401d030 0x00002000 diff --git a/tcl/target/stm32w108xx.cfg b/tcl/target/stm32w108xx.cfg index 1a1913541401791e3e2ae04357393da17d787ea2..d07afc414f526c2327c346f1cecc17c96a874b2c 100644 --- a/tcl/target/stm32w108xx.cfg +++ b/tcl/target/stm32w108xx.cfg @@ -1,7 +1,7 @@ # # Target configuration for the ST STM32W108xx chips # -# Processor: ARM Cortex M3 +# Processor: ARM Cortex-M3 # Date: 2013-06-09 # Author: Giuseppe Barba <giuseppe.barba@gmail.com> diff --git a/tcl/target/ti_tms570.cfg b/tcl/target/ti_tms570.cfg index 582a4bfa27efbcfaee60d47fef76c11bdc83c697..21da6c017a0a8f32e9eb7cf9b261a457ecce1b6a 100644 --- a/tcl/target/ti_tms570.cfg +++ b/tcl/target/ti_tms570.cfg @@ -53,7 +53,7 @@ jtag newtap $_CHIPNAME jrc -irlen 6 -ircapture 0x1 -irmask 0x3f \ jtag configure $_CHIPNAME.jrc -event setup "jtag tapenable $_CHIPNAME.dap" jtag configure $_CHIPNAME.jrc -event post-reset "runtest 100" -# Cortex R4 target +# Cortex-R4 target set _TARGETNAME $_CHIPNAME.cpu target create $_TARGETNAME cortex_r4 -endian $_ENDIAN \ -chain-position $_CHIPNAME.dap -coreid 0 -dbgbase 0x00001003