On 07/15/2010 06:51 AM, Mattias Mattsson wrote:
> Hi,
> 
> I'm trying latest flashrom (r1082) an an Intel SE440BX. No flashchip
> is detected. I also tried to reuse the SE440BX-2 board enable but
> couldn't make it work.
> 
> The flash on the board is an Intel E28F002BC-T80. Datasheet here:
> http://www.ezoflash.com/datasheets/flash/Intel/28F002BC.pdf
> 
> I would like to add the chip to flashchips.c but was unsure how to
> interpret the datasheet and the corresponding values for
> probe/read/write function.
> 
> Logs attached
> 
> 
> -mattias
> 

Hello,

Can you please try the attached patch?  Please do a `flashrom -V' after
and see if the chip is detected, and reply with that log.  If you want
to try a write, make sure you have a backup ready and time to spend
fixing it in case it doesn't work (another patch may be needed to enable
writing).

Thanks,

Josh
>From 156c58e5af57d6129d741e00e06aa13db8d2aee7 Mon Sep 17 00:00:00 2001
From: Joshua Roys <[email protected]>
Date: Thu, 15 Jul 2010 09:55:19 -0400
Subject: [PATCH] Add chip: Intel 28F002BC-T

Signed-off-by: Joshua Roys <[email protected]>
---
 flashchips.c |   27 +++++++++++++++++++++++++++
 flashchips.h |    1 +
 2 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/flashchips.c b/flashchips.c
index 354bd95..4b0f2f5 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -2551,6 +2551,33 @@ struct flashchip flashchips[] = {
 
        {
                .vendor         = "Intel",
+               .name           = "28F002BC-T",
+               .bustype        = CHIP_BUSTYPE_PARALLEL,
+               .manufacture_id = INTEL_ID,
+               .model_id       = P28F002BC,
+               .total_size     = 256,
+               .page_size      = 256 * 1024,
+               .tested         = TEST_UNTESTED,
+               .probe          = probe_82802ab,
+               .probe_timing   = TIMING_ZERO, /* Datasheet has no timing info 
specified */
+               .block_erasers  =
+               {
+                       {
+                               .eraseblocks = {
+                                       {128 * 1024, 1},
+                                       {96 * 1024, 1},
+                                       {8 * 1024, 2},
+                                       {16 * 1024, 1},
+                               },
+                               .block_erase = erase_block_82802ab,
+                       },
+               },
+               .write          = write_82802ab,
+               .read           = read_memmapped,
+       },
+
+       {
+               .vendor         = "Intel",
                .name           = "28F004S5",
                .bustype        = CHIP_BUSTYPE_PARALLEL,
                .manufacture_id = INTEL_ID,
diff --git a/flashchips.h b/flashchips.h
index d3771f7..3eab2cc 100644
--- a/flashchips.h
+++ b/flashchips.h
@@ -263,6 +263,7 @@
 #define E_28F016S5             0xAA
 #define P28F001BXT             0x94    /* 28F001BX-T */
 #define P28F001BXB             0x95    /* 28F001BX-B */
+#define P28F002BC              0x7C    /* 28F002BC-T */
 #define P28F004BT              0x78    /* 28F004BV/BE-T */
 #define P28F004BB              0x79    /* 28F004BV/BE-B */
 #define P28F400BT              0x70    /* 28F400BV/CV/CE-T */
-- 
1.7.1.1

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

Reply via email to