summaryrefslogtreecommitdiffstats
path: root/host/utils
diff options
context:
space:
mode:
authorNick Foster <nick@nerdnetworks.org>2010-10-05 11:53:43 -0700
committerNick Foster <nick@nerdnetworks.org>2010-10-05 11:53:43 -0700
commit92fdf6ab255cc07091bbdb59e7eb5e57553115ba (patch)
tree8841360082d1e0b48b44b424205ca0295a493b98 /host/utils
parente4d088fa9169eef81473cb7d83bda7c82bc5d243 (diff)
downloaduhd-92fdf6ab255cc07091bbdb59e7eb5e57553115ba.tar.gz
uhd-92fdf6ab255cc07091bbdb59e7eb5e57553115ba.tar.bz2
uhd-92fdf6ab255cc07091bbdb59e7eb5e57553115ba.zip
U2P: 32/64Mbit FLASH support, internal reference support for U2P r2
Diffstat (limited to 'host/utils')
-rwxr-xr-xhost/utils/usrp2p_fw_update.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/host/utils/usrp2p_fw_update.py b/host/utils/usrp2p_fw_update.py
index 5eff83c07..ed3465c0e 100755
--- a/host/utils/usrp2p_fw_update.py
+++ b/host/utils/usrp2p_fw_update.py
@@ -39,12 +39,13 @@ UDP_POLL_INTERVAL = 0.10 #in seconds
USRP2_FW_PROTO_VERSION = 6
#from bootloader_utils.h
-PROD_FPGA_IMAGE_LOCATION_ADDR = 0x00200000
-PROD_FW_IMAGE_LOCATION_ADDR = 0x00400000
-SAFE_FW_IMAGE_LOCATION_ADDR = 0x007F0000
-SAFE_FPGA_IMAGE_LOCATION_ADDR = 0x00000000
-FPGA_IMAGE_SIZE_BYTES = 2097152
-FW_IMAGE_SIZE_BYTES = 31744
+
+#define FPGA_IMAGE_SIZE_BYTES 1572864
+#define FW_IMAGE_SIZE_BYTES 31744
+#define SAFE_FPGA_IMAGE_LOCATION_ADDR 0x00000000
+#define SAFE_FW_IMAGE_LOCATION_ADDR 0x003F0000
+#define PROD_FPGA_IMAGE_LOCATION_ADDR 0x00180000
+#define PROD_FW_IMAGE_LOCATION_ADDR 0x00300000
FLASH_DATA_PACKET_SIZE = 256