Fix on-device flash utility hanging on HackRF Pro (Praline) (#3073)

* Add support for W25Q32JV device ID in wait_for_device function

* Enhance mayhem_flasher.bat: Add DFU unbrick option and update firmware links
This commit is contained in:
jLynx
2026-03-05 14:49:32 +13:00
committed by GitHub
parent 22932e636d
commit da0a5c3e73
3 changed files with 77 additions and 19 deletions
+2 -1
View File
@@ -77,7 +77,8 @@ void wait_for_device() {
do {
device_id = get_device_id();
} while (device_id != W25Q80BV_DEVICE_ID_RES &&
device_id != W25Q16DV_DEVICE_ID_RES);
device_id != W25Q16DV_DEVICE_ID_RES &&
device_id != W25Q32JV_DEVICE_ID_RES);
}
void wait_not_busy() {
+1
View File
@@ -83,6 +83,7 @@
#define W25Q80BV_DEVICE_ID_RES 0x13 /* Expected device_id for W25Q80BV */
#define W25Q16DV_DEVICE_ID_RES 0x14 /* Expected device_id for W25Q16DV */
#define W25Q32JV_DEVICE_ID_RES 0x15 /* Expected device_id for W25Q32JV (Praline) */
#define SSP_CR1(port) MMIO32(port + 0x004)
#define PERIPH_BASE_APB0 0x40080000