commit | 06e0264aa076bb9359274692850bf9010a1fe5c7 | [log] [tgz] |
---|---|---|
author | Nico Huber <nico.h@gmx.de> | Sat Oct 26 00:46:11 2024 +0200 |
committer | Nico Huber <nico.h@gmx.de> | Sun Feb 23 12:05:52 2025 +0000 |
tree | c72b5d6086fe5de5c64730bdcc144521c7099d58 | |
parent | fe21b43203c08f597c1295dba556323e63b3f209 [diff] [blame] |
flashchips: Add Puya PY25Q..H family up to PY25Q128H These are all the 3.3V parts of the family with only 24-bit addresses (3BA). First two (PY25Q40HB, PY25Q80HB) don't have a configuration register and no WPS bit. From PY25Q64HA on, the voltage range starts from 2.7V (instead of the 2.3V they had before). There are versions with fixed quad-enable bits. Alas, they use different IDs, so we need duplicate database entries again. Datasheets used: https://www.puyasemi.com/download_path/%E6%95%B0%E6%8D%AE%E6%89%8B%E5%86%8C/Flash/PY25Q80HB_Datasheet_V1.7.pdf https://www.puyasemi.com/download_path/%E6%95%B0%E6%8D%AE%E6%89%8B%E5%86%8C/Flash/PY25Q16HB_Datasheet_V1.6.pdf https://www.puyasemi.com/download_path/%E6%95%B0%E6%8D%AE%E6%89%8B%E5%86%8C/Flash/PY25Q32HB_Datasheet_V1.7.pdf https://www.puyasemi.com/download_path/%E6%95%B0%E6%8D%AE%E6%89%8B%E5%86%8C/Flash/PY25Q64HA_Datasheet_V1.9.pdf https://www.puyasemi.com/download_path/%E6%95%B0%E6%8D%AE%E6%89%8B%E5%86%8C/Flash/PY25F64HA_Datasheet_V1.1.pdf https://www.puyasemi.com/download_path/%E6%95%B0%E6%8D%AE%E6%89%8B%E5%86%8C/Flash/PY25Q128HA_Datasheet_V2.0.pdf https://www.puyasemi.com/download_path/%E6%95%B0%E6%8D%AE%E6%89%8B%E5%86%8C/Flash/PY25R128HA_Datasheet_V1.0.pdf https://www.puyasemi.com/download_path/%E6%95%B0%E6%8D%AE%E6%89%8B%E5%86%8C/Flash/PY25F128HA_Datasheet_V1.2.pdf Change-Id: I9f97e686604cf722af36c799dc0c5c1e7e942a26 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.sourcearcade.org/c/flashprog/+/295 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
diff --git a/include/flashchips.h b/include/flashchips.h index 1af22d6..23f56ad 100644 --- a/include/flashchips.h +++ b/include/flashchips.h
@@ -634,6 +634,14 @@ #define PMC_PM49FL004 0x6E #define PUYA_ID 0x85 +#define PUYA_PY25Q40H 0x2013 +#define PUYA_PY25Q80H 0x2014 +#define PUYA_PY25Q16H 0x2015 +#define PUYA_PY25Q32H 0x2016 +#define PUYA_PY25Q64H 0x2017 +#define PUYA_PY25Q128H 0x2018 +#define PUYA_PY25F64H 0x2317 +#define PUYA_PY25F128H 0x2318 /* Same as PY25R128H */ #define PUYA_P25Q06H 0x4010 #define PUYA_P25Q11H 0x4011 #define PUYA_P25Q21H 0x4012