spiFlashdb: ST M25P16

This commit is contained in:
Gwenhael Goavec-Merou 2023-03-05 13:14:01 +01:00
parent 4a6e6f0d35
commit 0675cadfe7
1 changed files with 14 additions and 0 deletions

View File

@ -99,6 +99,20 @@ static std::map <uint32_t, flash_t> flash_list = {
.bp_len = 4,
.bp_offset = {(1 << 2), (1 << 3), (1 << 4), (1 << 5)}}
},
/* https://datasheet.octopart.com/M25P16-VME6G-STMicroelectronics-datasheet-7623188.pdf */
{0x00202015, {
.manufacturer = "ST",
.model = "M25P16",
.nr_sector = 32,
.sector_erase = true,
.subsector_erase = false,
.has_extended = false,
.tb_otp = true,
.tb_offset = 0, // unused
.tb_register = STATR,
.bp_len = 3,
.bp_offset = {(1 << 2), (1 << 3), (1 << 4), 0}}
},
{0x0020ba16, {
.manufacturer = "micron",
.model = "N25Q32",