origen_debuggers 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 316e1fff3e0b232218989db707a3abaf54e7b896
4
- data.tar.gz: e788a582944ef7adba01076863360b5679007327
2
+ SHA256:
3
+ metadata.gz: dd058d31cebe82c4883ca74e1193960138fd4446e840b03c2d8e199e89751a68
4
+ data.tar.gz: 91a20efabe7e71b9874783ada17ac25a38c54f26cb8b0bb753ccfc649cc2b6f0
5
5
  SHA512:
6
- metadata.gz: 4f9d2236c2ed8820c478ebaf1477923932c83c994fcd9fdf58eb28aea784edaa110822cae92a8a4f4ed1bb988a1b3caa90fb87511a4262c9bea5822c55cc13d6
7
- data.tar.gz: d44485a53359752c8cedb24558838365b49e4991dec063941ba7c9fe9bb843a1b49b6bb3b5d76009fd6c87973dbd3ddcaaa028c92844e9ddf92d64cc76ff3823
6
+ metadata.gz: 829bf3193aa81af05444a769c25423dd864ee08ecadc9d2899dd7a2be7c74513c2c83aa60ae8b6d20aa4b87544cbdf97cb02ec3bb8253cae6ba53aad517db690
7
+ data.tar.gz: 4a810c577b18056221454a4235a6c077a0775158af14d8754fdec9ddc3bdd2f64e825c94dfe3dc09da124bd3df1718b0b1c6d2fc65715eece6ceea0394fd0e8d
@@ -1,7 +1,7 @@
1
1
  module OrigenDebuggers
2
2
  MAJOR = 0
3
3
  MINOR = 6
4
- BUGFIX = 0
4
+ BUGFIX = 1
5
5
  DEV = nil
6
6
 
7
7
  VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
@@ -214,11 +214,17 @@ module OrigenDebuggers
214
214
  end
215
215
 
216
216
  def write(reg_or_val, options = {})
217
+ if reg_or_val.respond_to?(:data)
218
+ cc("[JLink] Write #{reg_or_val.name.upcase} register, address: 0x%06X with value: 0x%08X" % [reg_or_val.address, reg_or_val.data])
219
+ end
217
220
  send("write#{extract_size(reg_or_val, options)}".to_sym, reg_or_val, options)
218
221
  end
219
222
  alias_method :write_register, :write
220
223
 
221
224
  def read(reg_or_val, options = {})
225
+ if reg_or_val.respond_to?(:data)
226
+ cc("[JLink] Read #{reg_or_val.name.upcase} register, address: 0x%06X, expect value: 0x%08X" % [reg_or_val.address, reg_or_val.data])
227
+ end
222
228
  send("read#{extract_size(reg_or_val, options)}".to_sym, reg_or_val, options)
223
229
  end
224
230
  alias_method :read_register, :read
@@ -126,6 +126,9 @@ module OrigenDebuggers
126
126
  def write(reg_or_val, options = {})
127
127
  dw 'jtag_end' if @in_jtag
128
128
  @in_jtag = false
129
+ if reg_or_val.respond_to?(:data)
130
+ cc("[P&E] Write #{reg_or_val.name.upcase} register, address: 0x%06X with value: 0x%08X" % [reg_or_val.address, reg_or_val.data])
131
+ end
129
132
  send("write#{extract_size(reg_or_val, options)}".to_sym, reg_or_val, options)
130
133
  end
131
134
  alias_method :write_register, :write
@@ -133,6 +136,9 @@ module OrigenDebuggers
133
136
  def read(reg_or_val, options = {})
134
137
  dw 'jtag_end' if @in_jtag
135
138
  @in_jtag = false
139
+ if reg_or_val.respond_to?(:data)
140
+ cc("[P&E] Read #{reg_or_val.name.upcase} register, address: 0x%06X, expect value: 0x%08X" % [reg_or_val.address, reg_or_val.data])
141
+ end
136
142
  send("read#{extract_size(reg_or_val, options)}".to_sym, reg_or_val, options)
137
143
  end
138
144
  alias_method :read_register, :read
@@ -0,0 +1,5 @@
1
+ Pattern.create do
2
+ ss "Verify the time base, wait for 10ms which should be 10 sleep cycles"
3
+ $tester.wait :time_in_ms => 10
4
+ load "#{Origen.root}/pattern/_workout.rb"
5
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: origen_debuggers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen McGinty
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-08 00:00:00.000000000 Z
11
+ date: 2019-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: origen
@@ -62,6 +62,7 @@ files:
62
62
  - pattern/_workout.rb
63
63
  - pattern/jlink_workout.rb
64
64
  - pattern/pe_low_level.rb
65
+ - pattern/pe_workout.rb
65
66
  - templates/web/index.md.erb
66
67
  - templates/web/layouts/_basic.html.erb
67
68
  - templates/web/partials/_navbar.html.erb
@@ -85,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
86
  version: 1.8.11
86
87
  requirements: []
87
88
  rubyforge_project:
88
- rubygems_version: 2.6.7
89
+ rubygems_version: 2.7.7
89
90
  signing_key:
90
91
  specification_version: 4
91
92
  summary: Provides Origen tester models to drive bench debuggers such as the Segger