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 +5 -5
- data/config/version.rb +1 -1
- data/lib/origen_debuggers/j_link.rb +6 -0
- data/lib/origen_debuggers/p_and_e.rb +6 -0
- data/pattern/pe_workout.rb +5 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: dd058d31cebe82c4883ca74e1193960138fd4446e840b03c2d8e199e89751a68
|
4
|
+
data.tar.gz: 91a20efabe7e71b9874783ada17ac25a38c54f26cb8b0bb753ccfc649cc2b6f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 829bf3193aa81af05444a769c25423dd864ee08ecadc9d2899dd7a2be7c74513c2c83aa60ae8b6d20aa4b87544cbdf97cb02ec3bb8253cae6ba53aad517db690
|
7
|
+
data.tar.gz: 4a810c577b18056221454a4235a6c077a0775158af14d8754fdec9ddc3bdd2f64e825c94dfe3dc09da124bd3df1718b0b1c6d2fc65715eece6ceea0394fd0e8d
|
data/config/version.rb
CHANGED
@@ -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
|
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.
|
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:
|
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.
|
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
|