Created
May 6, 2024 17:05
-
-
Save sprout42/047fbcefb1e3023d701a26722d4bab77 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/firmware/boards/azalea/pins.h b/firmware/boards/azalea/pins.h | |
index 2c2ef62..20a10f6 100644 | |
--- a/firmware/boards/azalea/pins.h | |
+++ b/firmware/boards/azalea/pins.h | |
@@ -117,9 +117,11 @@ static const scu_grp_pin_t scu_type_led[NUM_LEDS] = { | |
-#define ONBOARD_FLASH_DEVICE_ID 0x14 /* Expected device_id for W25Q16DV */ | |
+// #define ONBOARD_FLASH_DEVICE_ID 0x14 #<{(| Expected device_id for W25Q16DV |)}># | |
+#define ONBOARD_FLASH_DEVICE_ID 0x15 /* Expected device_id for W25Q32JV */ | |
#define ONBOARD_FLASH_PAGE_LEN 256U | |
-#define ONBOARD_FLASH_NUM_PAGES 8192U | |
+// #define ONBOARD_FLASH_NUM_PAGES 8192U | |
+#define ONBOARD_FLASH_NUM_PAGES 16384U | |
#define ONBOARD_FLASH_NUM_BYTES (ONBOARD_FLASH_PAGE_LEN * ONBOARD_FLASH_NUM_PAGES) | |
/* Pin locations for the onboard SPI flash. */ | |
diff --git a/host/greatfet/programmers/spi_flash.py b/host/greatfet/programmers/spi_flash.py | |
index 68834ee..5d77477 100644 | |
--- a/host/greatfet/programmers/spi_flash.py | |
+++ b/host/greatfet/programmers/spi_flash.py | |
@@ -54,6 +54,8 @@ class SPIFlash(DeviceFirmwareManager, GreatFETProgrammer): | |
0xEF3011: "W25X10L", | |
0xEF4015: "W25Q16DV", | |
0xEF4018: "W25Q16DV", | |
+ 0xEF4016: "W25Q32JV", | |
+ 0xEF7016: "W25Q32JV", | |
0xC22515: "MX25L1635E", | |
0xC22017: "MX25L6405D", | |
0xC22016: "MX25L3205D", |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment