Skip to content
Snippets Groups Projects
Select Git revision
  • 7256d6acdf7c0f655d759f414f948fb6018778ab
  • master default protected
  • v0.10.0
  • v0.10.0-rc2
  • v0.10.0-rc1
  • v0.9.0
  • v0.9.0-rc1
  • v0.8.0
  • v0.8.0-rc2
  • v0.8.0-rc1
  • v0.7.0
  • v0.7.0-rc2
  • v0.7.0-rc1
  • v0.6.1
  • v0.6.0
  • v0.6.0-rc2
  • v0.6.0-rc1
  • v0.5.0
  • v0.5.0-rc2
  • v0.5.0-rc1
  • v0.4.0
  • v0.4.0-rc2
22 results

doc

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Paul Fertser authored
    This introduces a new global Tcl procedure that is run just after
    init_targets and before init_boards.
    
    Its default behaviour is to assign gdb-flash-erase-start and
    gdb-flash-write-end to reasonable defaults.
    
    The rationale for doing "reset init" before gdb erases and flashes
    memory is that all flash drivers are written in assumption that they
    can safely be used only after chip reset (plus chip-specific
    configuration in the init handler if any). The need to use "reset
    halt" after flashing is because a user expects running firmware after
    loading to be the same as running it from power-on-reset.
    
    Change-Id: I9ddc4047611904ca4ca779b73376d2739611948a
    Signed-off-by: default avatarPaul Fertser <fercerpav@gmail.com>
    Reviewed-on: http://openocd.zylin.com/2062
    
    
    Tested-by: jenkins
    Reviewed-by: default avatarSpencer Oliver <spen@spen-soft.co.uk>
    207237b9
    History