]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - sitara-dss-files/am43xx-dss-files.git/commit
Automatically use DAP_M3 or DAP_DebugSS
authorBrad Griffis <bgriffis@ti.com>
Wed, 4 Jul 2018 14:15:55 +0000 (09:15 -0500)
committerBrad Griffis <bgriffis@ti.com>
Wed, 4 Jul 2018 14:15:55 +0000 (09:15 -0500)
commitdec2c621e0e48e668f1601490883fb5c6a302583
tree5af40a035c1ddee2703c701d7d95d184d6759c4d
parent9cf4306f10503ffebcce9e28de8ff6c234daf773
Automatically use DAP_M3 or DAP_DebugSS

For low power modes the DAP_M3 is needed to connect.  However, in
cases where the M3 has not been loaded and configured, then using
the M3 will actually result in getting bogus data (all zeros).

This patch starts with the DAP_M3, checks a register that is known
to be non-zero, and switches to DAP_DebugSS if needed.
am43xx-ctt.dss