]> git.gag.com Git - fw/openocd/commit
target/stm32h7x: Use AP2 to access DBGMCU when non HLA adapter is used
authorChristopher Head <chead@zaber.com>
Sun, 28 Oct 2018 22:27:59 +0000 (15:27 -0700)
committerTomas Vanek <vanekt@fbl.cz>
Wed, 27 Nov 2019 16:08:46 +0000 (16:08 +0000)
commit20a310deb70f1d05994dc26039098af67c69faf6
tree48458debe798fbea5752e4c7c918159a2dc414fc
parent9c196b0b2b6f3ef28a646b1f17411a36ed9643a5
target/stm32h7x: Use AP2 to access DBGMCU when non HLA adapter is used

The STM32H7 has three access ports. The DBGMCU component is available
through AP0 at 0x5C001000 and through AP2 at 0xE00E1000. Using the
latter is preferable for early configuration because it works in all
power states and while SRST is asserted, whereas the former does not.

Change-Id: Iaf8f01d769efb6655040060a8e1e951e1f7e50ab
Signed-off-by: Christopher Head <chead@zaber.com>
Signed-off-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
Reviewed-on: http://openocd.zylin.com/4742
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
tcl/target/stm32h7x.cfg