Commit Graph

8 Commits

Author SHA1 Message Date
Philippe Teuwen a13b1db49f make style 2024-12-09 15:16:46 +01:00
ANTodorov bd803ce8fd rework to use smart SPI flash detection
Check JEDEC ID is in range between 0x0001 ... 0xFFFE,
Compare the output from 0x90 and 0x9F,
Then the size from the JEDEC ID

Otherwise fall-back to 256 kB

Extend the spi_flash_decode.py to handle more (known) SPI flash ICs
2024-12-03 09:40:57 +02:00
iceman1001 27fee07090 style 2024-11-07 21:34:35 +01:00
Anton Todorov bdaa6d2852 Update spi_flash_decode.py
add some more SPI devices

Signed-off-by: Anton Todorov <ANTodorov@users.noreply.github.com>
2024-10-16 16:36:36 +03:00
Philippe Teuwen d3a434b966 spi_flash_decode.py: add 0x4013 (fix) 2024-10-14 09:33:34 +02:00
Philippe Teuwen a488d9c1f3 spi_flash_decode.py: add 0x4013 2024-10-14 09:31:01 +02:00
Def ea797602f4 32mbit flash identification 2024-10-13 17:58:19 +03:00
ANTodorov f0862c9ee2 add a helper script to decode SPI flash JEDEC data
Signed-off-by: ANTodorov <ANTodorov@users.noreply.github.com>
2024-10-02 19:33:27 +03:00