Sha256: 5eaa5b79dfb182c7afdfad62bf1316e0fd3ac4dd20f0149c2aacf426532fb1ca

Contents?: true

Size: 938 Bytes

Versions: 3

Compression:

Stored size: 938 Bytes

Contents

Pattern.create do
  $dut_swd = $dut

  $dut_swd.reg(:test).write!(0x0000FF01)
  $dut.reg(:test).read(0xAAAAAAAA)
  
  $dut_swd.arm_debug.swj_dp.read_dp(:idcode, 0xba5eba11, mask: 0x00000000)
  $dut_swd.arm_debug.swj_dp.read_dp(:idcode, 0xba5eba11)
  $dut_swd.arm_debug.swj_dp.read_dp(:wcr, 0x00000000)
  $dut_swd.arm_debug.swj_dp.read_dp(:resend, 0x00000000)
  $dut_swd.arm_debug.swj_dp.read_dp(:abort, 0xba5eba11)
  $dut_swd.arm_debug.swj_dp.read_dp(:blah, 0xba5eba11)
  $dut_swd.arm_debug.swj_dp.write_dp(:idcode, 0x5555AAAA)
  $dut_swd.arm_debug.swj_dp.write_dp(:blah, 0xAAAA5555)
  $dut_swd.arm_debug.swj_dp.write_dp(:ctrl_stat, 0x50000000)
  $dut_swd.arm_debug.swj_dp.read_dp(:ctrl_stat, 0xf0000000)
  $dut_swd.arm_debug.swj_dp.read_ap(0x010000FC, 0x00000000, mask: 0x00000000)
  $dut_swd.arm_debug.swj_dp.write_ap(0x01000004, 0x10101010)
  $dut_swd.arm_debug.swj_dp.read_ap(0x01000004, 0x10101010)

  $dut_swd.arm_debug.swd.trn
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
origen_arm_debug-0.10.1 pattern/read_write_reg_swd.rb
origen_arm_debug-0.10.0 pattern/read_write_reg_swd.rb
origen_arm_debug-0.10.0.pre0 pattern/read_write_reg_swd.rb