Hello,

I'm trying to add support for HY29F002T chips, however while testing
the read function, I'm getting 2 differing sectors from the
manufacturers bios which is burnt on the chip. The  following is the
list of sectors on the device. The differing sectors are S4 and S5. S6
matches the manufacturers bios too.

Sector  Size (Kbytes)   Address Range
S0              64                      0x00000 - 0x0FFFF
S1              64                      0X10000 - 0X1FFFF
S2              64                      0X20000 - 0X2FFFF
S3              32                      0X30000 - 0X37FFF
S4              8                       0X38000 - 0X39FFF
S5              8                       0X3A000 - 0X3BFFF
S6              16                      0X3C000 - 0X3FFFF

This is the code I added in flashchips.c

        {
                .vendor         = "Hyundai",
                .name           = "HY29F002",
                .bustype        = CHIP_BUSTYPE_PARALLEL,
                .manufacture_id = HYUNDAI_ID,
                .model_id       = HY_29F002,
                .total_size     = 256,
                .page_size      = 256 * 1024,
                .feature_bits   = FEATURE_SHORT_RESET,
                .tested         = TEST_UNTESTED,
                .probe          = probe_jedec,
                .probe_timing   = TIMING_FIXME,
                .block_erasers  =
                {
                        {
                                .eraseblocks = {
                                        {64 * 1024, 3},
                                        {32 * 1024, 1},
                                        {8 * 1024, 2},
                                        {16 * 1024, 1},
                                },
                                .block_erase = erase_sector_jedec,
                        }, {
                                .eraseblocks = { {256 * 1024, 1} },
                                .block_erase = erase_chip_block_jedec,
                        },
                },

                /**
                .printlock,
                .unlock,
                **/

                .write          = write_jedec,
                .read           = read_memmapped,
        },

Any ideas as to why that might be happening?

Regards,

David

_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to