Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openocd
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • card10
  • openocd
  • Repository
Switch branch/tag
  • openocd
  • src
  • target
  • adi_v5_swd.c
Find file BlameHistoryPermalink
  • Antonio Borneo's avatar
    target/adi_v5_swd: update cached value on write to DP_SELECT · 420a692e
    Antonio Borneo authored Feb 28, 2019
    
    
    When the register DP_SELECT is written directly, e.g. with command
    	<dap> dpreg 8 <value>
    the cached value in OpenOCD is not completely updated with the new
    value, thus creating issues in the following AP and DP read/write
    that rely on the cached value.
    
    Update the cached value while writing to DP_SELECT.
    
    Change-Id: I8221b10cd6fc1fbe73e6b834b68820b43480e1a2
    Signed-off-by: default avatarAntonio Borneo <borneo.antonio@gmail.com>
    Reviewed-on: http://openocd.zylin.com/4979
    
    
    Tested-by: jenkins
    Reviewed-by: default avatarTomas Vanek <vanekt@fbl.cz>
    420a692e