aboutsummaryrefslogtreecommitdiffstats
path: root/host/apps/omap_debug/set_debug_pins.py
diff options
context:
space:
mode:
authorroot <root@usrp1-e.(none)>2010-02-24 02:18:54 +0000
committerroot <root@usrp1-e.(none)>2010-02-24 02:18:54 +0000
commitf6ec1e45117f5794facd1cd8e11cbfacabdeb166 (patch)
treee6400801d4a4f05f936c7dda50464663716571d1 /host/apps/omap_debug/set_debug_pins.py
parent3cd7bc9be6420623eb7803e490b39ecc75d83ed9 (diff)
downloaduhd-f6ec1e45117f5794facd1cd8e11cbfacabdeb166.tar.gz
uhd-f6ec1e45117f5794facd1cd8e11cbfacabdeb166.tar.bz2
uhd-f6ec1e45117f5794facd1cd8e11cbfacabdeb166.zip
Commit wip. Programs that fetch OS code sync now.
Diffstat (limited to 'host/apps/omap_debug/set_debug_pins.py')
-rwxr-xr-xhost/apps/omap_debug/set_debug_pins.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/apps/omap_debug/set_debug_pins.py b/host/apps/omap_debug/set_debug_pins.py
index d67cc3e58..bedabc20c 100755
--- a/host/apps/omap_debug/set_debug_pins.py
+++ b/host/apps/omap_debug/set_debug_pins.py
@@ -17,10 +17,10 @@ gpio_ctrl_lo = 8
gpio_ctrl_hi = 12
def set_reg(reg, val):
- os.system("usrp1-e-ctl w %d 1 %d" % (reg,val))
+ os.system("./usrp1-e-ctl w %d 1 %d" % (reg,val))
def get_reg(reg):
- fin,fout = os.popen4("usrp1-e-ctl r %d 1" % (reg,))
+ fin,fout = os.popen4("./usrp1-e-ctl r %d 1" % (reg,))
print fout.read()
# Set DDRs to output