origen_arm_debug 0.7.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 528eb3303524b33d1916c73c72a003e9ab5b2880
4
- data.tar.gz: fb08b4c3360b61dc8732ad9bcf6065896fc638c3
3
+ metadata.gz: 7a971ee291955da63aad29feded042b58cc95a3b
4
+ data.tar.gz: 1f85f6436f5ebb91afc63ce5807ac4618378cfbf
5
5
  SHA512:
6
- metadata.gz: 19abcb44c8b1fed4d00f1cab8828dccd640b2ee2bdf0f903867fd179e720e5d1ada1fcaf57691735238e606eac71237ee0cbc0f0991840b533e82433b4005345
7
- data.tar.gz: a8daf8a46d1d3f2c9c68bc66a1ab94aa828c074e24e7d05e26749cd774bca47a30b8fc57bda31b08614a05e05925b2639efb080408fb8afa02c7c90b5f304d1b
6
+ metadata.gz: 7068b2563708fbf0f5d653e1930c2f32bdb75beff76d96838e57e7a96f2e4bf6b4b593ae166e98aef45c4779669ab9612b83f81fe457101e351a797b3ec340a7
7
+ data.tar.gz: 178ab04e89d5b436f826d1f31d13083a3465ed72717bd0dc6dfdf01924d78d31e6ab374963e6e35d0df7d03913ab05d25d28621e250a1fffb4fdf180c2c491e5
data/config/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module OrigenARMDebug
2
2
  MAJOR = 0
3
- MINOR = 7
3
+ MINOR = 8
4
4
  BUGFIX = 0
5
5
  DEV = nil
6
6
 
@@ -307,6 +307,7 @@ module OrigenARMDebug
307
307
  set_apselect(@current_apaddr & 0xFFFFFFFE, options)
308
308
  end
309
309
  set_ir(name) if @imp == :jtag
310
+ options = { name: name }.merge(options)
310
311
  acc_access(addr, rwb, 0, wdata, options)
311
312
  end
312
313
 
@@ -324,6 +325,7 @@ module OrigenARMDebug
324
325
  else
325
326
  set_ir('APACC')
326
327
  end
328
+ options = { name: 'APACC' }.merge(options)
327
329
  acc_access((addr & 0xC), rwb, 1, wdata, options)
328
330
  end
329
331
 
@@ -350,6 +352,7 @@ module OrigenARMDebug
350
352
  # @param [Integer] wdata Value of data to be written
351
353
  # @param [Hash] options Options to customize the operation
352
354
  def acc_access_swd(addr, rwb, ap_dp, wdata, options = {})
355
+ _name = options.delete(:name)
353
356
  if (rwb == 1)
354
357
  if options[:reg].nil?
355
358
  swd.read(ap_dp, addr, options)
@@ -373,6 +376,7 @@ module OrigenARMDebug
373
376
  # @param [Integer] wdata Value of data to be written
374
377
  # @param [Hash] options Options to customize the operation
375
378
  def acc_access_jtag(addr, rwb, ap_dp, wdata, options = {})
379
+ _name = options.delete(:name)
376
380
  if !options[:r_attempts].nil?
377
381
  attempts = options[:r_attempts]
378
382
  elsif !options[:r_attempts].nil?
@@ -382,7 +386,7 @@ module OrigenARMDebug
382
386
  end
383
387
 
384
388
  attempts.times do
385
- if rwb == 1
389
+ if _name == 'RBUFF'
386
390
  if options[:reg].nil?
387
391
  r = $dut.reg(:dap)
388
392
  if options[:r_mask] == 'store'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: origen_arm_debug
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ronnie Lajaunie
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-06 00:00:00.000000000 Z
11
+ date: 2015-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: origen