diff options
author | Ashish Chaudhari <ashish@ettus.com> | 2016-01-05 09:52:22 -0800 |
---|---|---|
committer | Ashish Chaudhari <ashish@ettus.com> | 2016-01-05 17:35:14 -0800 |
commit | 863ca545d629e0e40a21e085572440e764de882d (patch) | |
tree | b33a602f6308c4c0838131239ab5a600a3546355 /firmware/usrp3/n230/n230_burner.py | |
parent | b3077692a3f49e517510b53e99129dd4f24209c7 (diff) | |
download | uhd-863ca545d629e0e40a21e085572440e764de882d.tar.gz uhd-863ca545d629e0e40a21e085572440e764de882d.tar.bz2 uhd-863ca545d629e0e40a21e085572440e764de882d.zip |
n230: Added N230 device support
Diffstat (limited to 'firmware/usrp3/n230/n230_burner.py')
-rwxr-xr-x | firmware/usrp3/n230/n230_burner.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/usrp3/n230/n230_burner.py b/firmware/usrp3/n230/n230_burner.py index 3f6bb3fcf..7b9920de7 100755 --- a/firmware/usrp3/n230/n230_burner.py +++ b/firmware/usrp3/n230/n230_burner.py @@ -216,8 +216,8 @@ class ctrl_socket(object): #Map Xilinx header field to N230 specific ones if xil_header and xil_header['a'].split(';')[0] == 'n230': n230_header['valid'] = True - n230_header['user-id'] = int(xil_header['a'].split(';')[1].split('=')[1][0:-1], 16) - n230_header['safe-image'] = n230_header['user-id'] >> 16 == 0x5AFE + n230_header['user-id'] = int(xil_header['a'].split(';')[1].split('=')[1], 16) + n230_header['safe-image'] = (n230_header['user-id'] >> 16 == 0x5AFE) n230_header['product'] = xil_header['b'] n230_header['timestamp'] = xil_header['c'] + ' ' + xil_header['d'] n230_header['filesize'] = xil_header['hl'] + xil_header['bl'] |