]> git.sur5r.net Git - openocd/commitdiff
psoc4: Corrected Silicon IDs
authorGeorge Ioakimedes <georgeioak@gmail.com>
Sun, 7 Aug 2016 01:23:50 +0000 (18:23 -0700)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Sat, 13 Aug 2016 13:48:45 +0000 (14:48 +0100)
Corrected 2 Silicon IDs that were swapped.
I've tested with a CY8C4125AXI-483 and  confirmed
that the device is recognized correctly now.

Change-Id: I6fcbee33558d8feec9abf6052df3f15523379c48
Signed-off-by: George Ioakimedes <georgeioak@gmail.com>
Reviewed-on: http://openocd.zylin.com/3619
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
src/flash/nor/psoc4.c

index d7ed4a47fdcef73b9d495dd4447d6dae7076118c..c7c85737cbbe4d6054ee62734668715633c82001 100644 (file)
@@ -105,12 +105,12 @@ const struct psoc4_chip_details psoc4_devices[] = {
        /* 4100 series */
        { 0x0410, "CY8C4124PVI-432", "SSOP-28", .flash_size_in_kb = 16 },
        { 0x0411, "CY8C4124PVI-442", "SSOP-28", .flash_size_in_kb = 16 },
-       { 0x0416, "CY8C4124LQI-443", "QFN-40",  .flash_size_in_kb = 16 },
+       { 0x041C, "CY8C4124LQI-443", "QFN-40",  .flash_size_in_kb = 16 },
        { 0x041A, "CY8C4124AXI-443", "TQFP-44", .flash_size_in_kb = 16 },
        { 0x041B, "CY8C4125AXI-473", "TQFP-44", .flash_size_in_kb = 32 },
        { 0x0412, "CY8C4125PVI-482", "SSOP-28", .flash_size_in_kb = 32 },
        { 0x0417, "CY8C4125LQI-483", "QFN-40",  .flash_size_in_kb = 32 },
-       { 0x041C, "CY8C4125AXI-483", "TQFP-44", .flash_size_in_kb = 32 },
+       { 0x0416, "CY8C4125AXI-483", "TQFP-44", .flash_size_in_kb = 32 },
 
        /* CCG1 series */
        { 0x0490, "CYPD1103-35FNXI", "CSP-35",  .flash_size_in_kb = 32 },