Sha256: 7f415139d205a541d766032b610e98633234ae14fef00b11fd9660a6ff866ecb

Contents?: true

Size: 794 Bytes

Versions: 4

Compression:

Stored size: 794 Bytes

Contents

Pattern.create do
  $dut_jtag = $dut
  $dut_jtag.arm_debug.swj_dp.read_dp(:idcode, 0xba5eba11, mask: 0x00000000)
  $dut_jtag.arm_debug.abs_if.read_dp(:idcode, 0xba5eba11)
  $dut_jtag.arm_debug.dpapi.write_dp(:ctrl_stat, 0x50000000)
  $dut_jtag.arm_debug.swj_dp.read_dp(:ctrl_stat, 0xf0000000)
  $dut_jtag.arm_debug.apapi.read_ap(0x010000FC, 0x00000000, mask: 0x00000000)
  $dut_jtag.arm_debug.swj_dp.write_ap(0x01000004, 0x10101010)
  $dut_jtag.arm_debug.swj_dp.read_ap(0x01000004, 0x10101010)

  # Some deprecated methods
  $dut_jtag.arm_debug.swj_dp.read_expect_ap(0x01000004, edata: 0x10101010)
  $dut_jtag.arm_debug.swj_dp.write_read_ap(0x01000004, 0x01010101)
  $dut_jtag.arm_debug.swj_dp.write_read_ap(0x01000004, 0x10101010, edata: 0x10100000)
  
  $dut_jtag.arm_debug.jtag.ir_value
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
origen_arm_debug-0.10.1 pattern/read_write_reg_jtag.rb
origen_arm_debug-0.10.0 pattern/read_write_reg_jtag.rb
origen_arm_debug-0.10.0.pre0 pattern/read_write_reg_jtag.rb
origen_arm_debug-0.9.0 pattern/read_write_reg_jtag.rb