projects
/
debian
/
gnuradio
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad97360
)
Increase sleep to prevent eeprom problems
author
Jason Abele
<jason@ettus.com>
Wed, 14 Apr 2010 22:07:24 +0000
(15:07 -0700)
committer
Jason Abele
<jason@ettus.com>
Wed, 14 Apr 2010 22:07:24 +0000
(15:07 -0700)
usrp/firmware/src/common/build_eeprom.py
patch
|
blob
|
history
diff --git
a/usrp/firmware/src/common/build_eeprom.py
b/usrp/firmware/src/common/build_eeprom.py
index ed9bb56a4816174b3d0d02f04ed64559a1022b16..d73cbbc4f74d647a80eef358a7bb34e33c41da1e 100755
(executable)
--- a/
usrp/firmware/src/common/build_eeprom.py
+++ b/
usrp/firmware/src/common/build_eeprom.py
@@
-146,7
+146,7
@@
def build_shell_script (out, ihx_filename, rev, prefix):
out.write ('#!/bin/sh\n')
out.write ('usrper -x load_firmware ' + prefix + '/share/usrp/rev%d/std.ihx\n' % rev)
- out.write ('sleep
1
\n')
+ out.write ('sleep
2
\n')
# print "len(image) =", len(image)
@@
-161,7
+161,7
@@
def build_shell_script (out, ihx_filename, rev, prefix):
(i2c_addr, rom_addr, ''.join (hex_image[0:l])))
hex_image = hex_image[l:]
rom_addr = rom_addr + l
- out.write ('sleep
1
\n')
+ out.write ('sleep
2
\n')
if __name__ == '__main__':
usage = "usage: %prog -p PREFIX -r REV [options] bootfile.ihx"