aboutsummaryrefslogtreecommitdiffstats
path: root/host/apps/omap_debug/read_board_id.sh
diff options
context:
space:
mode:
authorPhilip Balister <philip@opensdr.com>2010-04-20 21:46:51 +0000
committerPhilip Balister <philip@opensdr.com>2010-04-20 21:46:51 +0000
commitde668d9924b6176e8296dee5929aab1e37374d8b (patch)
tree843d4512b84867cf2624e971b1500ad52e6fea3f /host/apps/omap_debug/read_board_id.sh
parent839d9c39542db356ad1b955e3a3d9e7aabb071bc (diff)
downloaduhd-de668d9924b6176e8296dee5929aab1e37374d8b.tar.gz
uhd-de668d9924b6176e8296dee5929aab1e37374d8b.tar.bz2
uhd-de668d9924b6176e8296dee5929aab1e37374d8b.zip
Add scripts to read and write board id info into usrp e id eeprom
Diffstat (limited to 'host/apps/omap_debug/read_board_id.sh')
-rwxr-xr-xhost/apps/omap_debug/read_board_id.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/host/apps/omap_debug/read_board_id.sh b/host/apps/omap_debug/read_board_id.sh
new file mode 100755
index 000000000..96081f219
--- /dev/null
+++ b/host/apps/omap_debug/read_board_id.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+i2cget -y 3 0x51 0x00 b
+i2cget -y 3 0x51 0x01 b
+i2cget -y 3 0x51 0x02 b
+i2cget -y 3 0x51 0x03 b
+i2cget -y 3 0x51 0x04 b
+i2cget -y 3 0x51 0x05 b
+
+