os/board/bk7239n: Adapt to the new flash id#7276
os/board/bk7239n: Adapt to the new flash id#7276Poly-J wants to merge 1 commit intoSamsung:masterfrom
Conversation
|
can you please let me know which flash you added?
|
| #if CONFIG_FLASH_QUAD_ENABLE | ||
| {0x684018, 2, FLASH_SIZE_16M, FLASH_LINE_MODE_FOUR, 14, 2, 0x1F, 0x1F, 0x00, 0x0E, 0x00E, 9, 1, 0xA0, 0x02}, //BY25Q128ES | ||
| #else | ||
| {0x684018, 1, FLASH_SIZE_16M, FLASH_LINE_MODE_TWO, 0, 2, 0x1F, 0x1F, 0x00, 0x0E, 0x00E, 0, 0, 0xA0, 0x01}, //BY25Q128ES |
There was a problem hiding this comment.
please add some description related to 'BY25Q128ES'
There was a problem hiding this comment.
Hi, Kwon. The BY25Q128 is manufactured by BYT Semiconductor.The BY25Q128ES is 128M-bit Serial Peripheral Interface (SPI) Flash memory, and supports the Dual/Quad SPI: Serial Clock, Chip Select, Serial Data I/O0 (SI), I/O1 (SO), I/O2 (/WP), and I/O3(/HOLD). The Dual I/O data is transferred with speed of 216Mbits/s and the Quad I/O & Quad output data is transferred with speed of 432Mbits/s. The device uses a single low voltage power supply, ranging from 2.7 Volt to 3.6 Volt.
| {0xCD6017, 1, FLASH_SIZE_8M, FLASH_LINE_MODE_TWO, 0, 2, 0x1F, 0x1F, 0x00, 0x0E, 0x00E, 0, 0, 0xA0, 0x01}, //th_25q64ha | ||
| #endif | ||
| #if defined(CONFIG_FLASH_QUAD_ENABLE) | ||
| {0xC86518, 2, FLASH_SIZE_16M, FLASH_LINE_MODE_FOUR, 14, 2, 0x1F, 0x1F, 0x00, 0x0E, 0x00E, 9, 1, 0xA0, 0x02}, //gd_25w128e |
There was a problem hiding this comment.
hmmm it's not GD25Q128E?? as I know value is 0xc84018 can you please double check this?
There was a problem hiding this comment.
My apologies, I should double-check the ID in case a mistake was made. It’s possible that it refers to a different series within the GD line.
There was a problem hiding this comment.
Hi,Kwon. I double-checked the manual against the code. It turns out there are two GD models: GD25WQ128E (0xC86518) and GD25Q128E (0xC84018). I’ll update the IDs in the code soon to make sure the mapping is accurate.
|
The XT25F128W is already supported in the previous codebase. Below are the new Flash ID models for which we are now providing support: BY25Q128ES |
The bk7239n module needs to be compatible with multiple types of flash, and the software needs to adapt to the new flash ID.
The bk7239n module needs to be compatible with multiple types of flash, and the software needs to adapt to the new flash ID.