Skip to content

Instantly share code, notes, and snippets.

@yifanlu
Last active April 8, 2017 22:23
Show Gist options
  • Select an option

  • Save yifanlu/65c4fdceb3429dfcf98f222380c65ec6 to your computer and use it in GitHub Desktop.

Select an option

Save yifanlu/65c4fdceb3429dfcf98f222380c65ec6 to your computer and use it in GitHub Desktop.
Jetson TX1 BPMP-Lite JTAG attach for Lauterbach
; 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 10MHz
; 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
; Reset and hook
; you can only use SYSTEM.Up on a non JTAG_DISABLE blown unit!
; SYSTEM.Up
SYSTEM.Attach
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment