aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils
diff options
context:
space:
mode:
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