I have replaced KEAZ128 my processor and am stepping more lightly now (as
trying to flash with GDB caused the chip to brick last time).

Should the 'flash banks' command reply accurately?  It replies size=0 but
should be 0x20000

Miller


$ openocd -d2 -f interface/cmsis-dap.cfg -f target/ke0x.cfg -c "init" -c
"reset halt" -c "flash banks"
Open On-Chip Debugger 0.10.0+dev-00173-g496fcfd (2017-09-25-11:01)
Licensed under GNU GPL v2
For bug reports, read
    http://openocd.org/doc/doxygen/bugs.html
debug_level: 2
Info : auto-selecting first available session transport "swd". To override
use 'transport select <transport>'.
Info : add flash_bank kinetis_ke ke.flash
adapter speed: 1000 kHz
none separate
cortex_m reset_config sysresetreq
Info : CMSIS-DAP: SWD  Supported
Info : CMSIS-DAP: JTAG Supported
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : CMSIS-DAP: FW Version = 1.0
Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 1 TDO = 1 nTRST = 0 nRESET = 1
Info : CMSIS-DAP: Interface ready
Info : clock speed 1000 kHz
Info : SWD DPIDR 0x0bc11477
Info : ke.cpu: hardware has 2 breakpoints, 2 watchpoints
Info : MDM: Chip is unsecured. Continuing.
Info : MDM: Chip is unsecured. Continuing.
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0xfffffffe msp: 0xfffffffc
#0 : ke.flash (kinetis_ke) at 0x00000000, size 0x00000000, buswidth 0,
chipwidth 0


On Fri, Sep 22, 2017 at 3:26 PM, gerrit <[email protected]> wrote:

> This is an automated email from Gerrit.
>
> Tomas Vanek ([email protected]) just uploaded a new patch set to Gerrit,
> which you can find at http://openocd.zylin.com/4232
>
> -- gerrit
>
> commit 496fcfd40f5c199932b543a2ea52e706890a26ba
> Author: Tomas Vanek <[email protected]>
> Date:   Sat Sep 23 00:24:19 2017 +0200
>
>     Kinetis_ke: add KEAx family to texi and cfg comment
>
>     Change-Id: Id8f676b027f57fc540473c1a3a01bdd2ec49a200
>     Signed-off-by: Tomas Vanek <[email protected]>
>
> diff --git a/doc/openocd.texi b/doc/openocd.texi
> index 89ee5eb..ca5d1f1 100644
> --- a/doc/openocd.texi
> +++ b/doc/openocd.texi
> @@ -5370,7 +5370,7 @@ from NXP (former Freescale) include
>  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.
> -Use kinetis_ke driver for KE0x devices.
> +Use kinetis_ke driver for KE0x and KEAx devices.
>
>  The @var{kinetis} driver defines option:
>  @itemize
> @@ -5463,7 +5463,7 @@ Command disables watchdog timer.
>
>  @deffn {Flash Driver} kinetis_ke
>  @cindex kinetis_ke
> -KE0x members of the Kinetis microcontroller family from Freescale include
> +KE0x and KEAx members of the Kinetis microcontroller family from NXP
> include
>  internal flash and use ARM Cortex-M0+. The driver automatically recognizes
>  the KE0x sub-family using the chip identification register, and
>  autoconfigures itself.
> diff --git a/tcl/target/ke0x.cfg b/tcl/target/ke0x.cfg
> index 7927e0a..1f1b132 100644
> --- a/tcl/target/ke0x.cfg
> +++ b/tcl/target/ke0x.cfg
> @@ -1,5 +1,5 @@
>  #
> -# Freescale Kinetis KE0x series devices
> +# Freescale Kinetis KE0x and KEAx series devices
>  #
>
>  source [find target/swj-dp.tcl]
>
> --
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> OpenOCD-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openocd-devel
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to