We have put a TPS65981 on our board with a W25Q80 SPI flash chip connected.
Upon applying USB power the TPS65981 appears to work with no issues. Power rails (e.g. LDO_3V3) are at the right levels.
The aim is to program the flash through the TPS65981 using an Aardvark connected to the I²C bus and the Application Customisation Tool. Initial checks work fine - the device is seen at address 0x27 as expected, register 0x3 says BOOT and the SPI read works. However when I Flash App Firmware to Device it fails with "SPI Flash to Device failed verification".
I believe that this flash chip is the same that is used on the TPS65981 EVM and our board has a very similar configuration. with the same pull-up resistors. I have checked that these resistors are correct and the corresponding pin voltages look good.
The datasheet for the W25Q80 says that there are multiple means of write protection. I have check that the /WP pin is pulled high, i.e. not write protected. The factory default for the Status Register Protect bits is both low, which means that it would be in software write protect. Does the TPS65981/Application Customisation Tool actively disable software write protect? Is is possible to access the Status Register on the flash chip through the TPS65981?
If you have any more suggestions on how to debug this it'd be appreciated. In the meantime I'll try getting a serial decoder on the flash pins to see if I can find out what's going on.