diff options
author | michael-west <michael.west@ettus.com> | 2017-01-04 16:57:53 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-01-10 13:51:53 -0800 |
commit | 64b4c1f5d7554c272884d67d0bf3d0d3d48c77ba (patch) | |
tree | d66fa051ce101e11bf30b5fb6217d195723df1bf /firmware/usrp3/x300/x300_init.h | |
parent | 29b0fa17382c3dd9c27c556d1c5aa88f0863cb33 (diff) | |
download | uhd-64b4c1f5d7554c272884d67d0bf3d0d3d48c77ba.tar.gz uhd-64b4c1f5d7554c272884d67d0bf3d0d3d48c77ba.tar.bz2 uhd-64b4c1f5d7554c272884d67d0bf3d0d3d48c77ba.zip |
X300: Prevent MB EEPROM Corruption
- Load EEPROM data into firmware memory to access from there instead of driving the I2C bus directly
- Fixed firmware performance issues by removing the popcntll() function and reducing frequency of background tasks to once every 10ms
- Added x300_mb_eeprom_iface to handle cases of devices with older and newer firmware
- Added checks for claim to device before driving the I2C bus
Diffstat (limited to 'firmware/usrp3/x300/x300_init.h')
-rw-r--r-- | firmware/usrp3/x300/x300_init.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/usrp3/x300/x300_init.h b/firmware/usrp3/x300/x300_init.h index 324033779..2e93340f6 100644 --- a/firmware/usrp3/x300/x300_init.h +++ b/firmware/usrp3/x300/x300_init.h @@ -4,7 +4,10 @@ #ifndef INCLUDED_B250_INIT_H #define INCLUDED_B250_INIT_H -void x300_init(void); +#include "x300_defs.h" +#include "x300_fw_common.h" + +void x300_init(x300_eeprom_map_t *eeprom_map); void x300_serial_loader_run1(void); |