Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
Conv TTL Blocking
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
5
Issues
5
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Conv TTL Blocking
Commits
014c56c3
Commit
014c56c3
authored
Sep 20, 2013
by
Theodor-Adrian Stana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
work on protocol extension
parent
8a9dd032
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
2 deletions
+6
-2
conv-ttl-blo-gw
conv-ttl-blo-gw
+1
-1
conv_ttl_blo.bit
test/regtest/conv_ttl_blo.bit
+0
-0
vbcp.py
test/vbcp/vbcp.py
+5
-1
vbcp.pyc
test/vbcp/vbcp.pyc
+0
-0
No files found.
conv-ttl-blo-gw
@
3c5f741a
Subproject commit
f362dfd4d4efc14b239a8ed1df2bf1c7febb740
b
Subproject commit
3c5f741a866087421609c6900e5489df4925fe4
b
test/regtest/conv_ttl_blo.bit
View file @
014c56c3
No preview for this file type
test/vbcp/vbcp.py
View file @
014c56c3
...
...
@@ -77,7 +77,11 @@ class VBCP:
def
write
(
self
,
addr
,
val
):
self
.
write_cnt
+=
1
reg
=
addr
/
4
+
1
cmd
=
"iic4wr
%
d
%
d
%
x
\r\n
"
%
(
self
.
slot
,
reg
,
val
)
sl
=
(
0x40
|
((
~
self
.
slot
)
&
0x1f
))
<<
1
print
'
%02
x'
%
sl
cmd
=
"iic4wr
%
x
%
x
%
x
%
x
%
x
%
x
%
x
%
x
%
x
%
x
%
x
\r\n
"
%
(
sl
,
(
addr
&
0xff00
)
>>
8
,
addr
&
0xff
,
val
[
0
],
val
[
1
],
val
[
2
],
val
[
3
],
val
[
4
],
val
[
5
],
val
[
6
],
val
[
7
])
print
cmd
#cmd = "writereg %d %d %x\r\n" % (self.slot, reg, val)
self
.
handle
.
send
(
cmd
)
_strip_resp
(
self
.
handle
.
recv
(
30
))
...
...
test/vbcp/vbcp.pyc
View file @
014c56c3
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment