Last active
April 8, 2017 22:23
-
-
Save yifanlu/65c4fdceb3429dfcf98f222380c65ec6 to your computer and use it in GitHub Desktop.
Jetson TX1 BPMP-Lite JTAG attach for Lauterbach
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; get to a determinstic state | |
SYSTEM.RESET | |
; set up JTAG | |
SYSTEM.CPU ARM7TDMI | |
; ARM 14-pin cable does not have RTCK | |
; If you have a newer cable you can use | |
; SYSTEM.JtagClock Rtck | |
SYSTEM.JtagClock 12.15MHz | |
; Similarly the old cable does not have DBGAUTH/DBGACK | |
SYSTEM.Option.DBGACK OFF | |
; Jetson TX1 uses TRST differently, we ignore it | |
SYSTEM.Option.TRST OFF | |
; Jetson TX1 settings for ARM7 | |
SYSTEM.Config.IRPRE 4 | |
SYSTEM.Config.IRPOST 0 | |
SYSTEM.Config.DRPRE 1 | |
SYSTEM.Config.DRPOST 0 | |
; DAP settings | |
SYSTEM.Config.DAPIRPOST 4 | |
SYSTEM.Config.DAPDRPOST 1 | |
SYSTEM.Config.DAPIRPRE 0 | |
SYSTEM.Config.DAPDRPRE 0 | |
; Debug regs found on APB bus | |
SYSTEM.Config.APBACCESSPORT 0 | |
SYSTEM.Config.DEBUGACCESSPORT 0 | |
; System mem found on AXI bus | |
SYSTEM.Config.AXIACCESSPORT 1 | |
SYSTEM.Config.MEMORYACCESSPORT 1 | |
SYSTEM.MemAccess DAP | |
; Reset and hook | |
; you can only use SYSTEM.Up on a non JTAG_DISABLE blown unit! | |
; SYSTEM.Up | |
SYSTEM.Attach |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; get to a determinstic state | |
SYSTEM.RESET | |
; set up JTAG | |
SYSTEM.CPU CORTEXA9 | |
; ARM 14-pin cable does not have RTCK | |
; If you have a newer cable you can use | |
; SYSTEM.JtagClock Rtck | |
SYSTEM.JtagClock 12.15MHz | |
; Similarly the old cable does not have DBGAUTH/DBGACK | |
SYSTEM.Option.DBGACK OFF | |
; Jetson TX1 uses TRST differently, we ignore it | |
SYSTEM.Option.TRST OFF | |
; DAP settings | |
SYSTEM.Config.DAPIRPOST 4 | |
SYSTEM.Config.DAPDRPOST 1 | |
SYSTEM.Config.DAPIRPRE 0 | |
SYSTEM.Config.DAPDRPRE 0 | |
; Debug regs found on APB bus | |
SYSTEM.Config.APBACCESSPORT 0 | |
SYSTEM.Config.DEBUGACCESSPORT 0 | |
; System mem found on AXI bus | |
SYSTEM.Config.AXIACCESSPORT 1 | |
SYSTEM.Config.MEMORYACCESSPORT 1 | |
SYSTEM.MemAccess DAP | |
; select Cortex A9 | |
SYSTEM.Config.COREBASE 0x80A10000 | |
SYSTEM.Attach |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment