SHARE
TWEET

XM25QH128A Flashrom entry

a guest Oct 20th, 2019 98 in 267 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     {
  2.         .vendor     = "XMC",
  3.         .name       = "XM25QH128A",
  4.         .bustype    = BUS_SPI,
  5.         .manufacture_id = XMC_ID,
  6.         .model_id   = XMC_XM25QH128A,
  7.         .total_size = 16384,
  8.         .page_size  = 256,
  9.         /* supports SFDP */
  10.         /* OTP: 512B total; maps to sector 4095 after entering OTP (3Ah) */
  11.         .feature_bits   = FEATURE_WRSR_WREN | FEATURE_OTP,
  12.         .tested     = TEST_UNTESTED,
  13.         .probe      = probe_spi_rdid,
  14.         .probe_timing   = TIMING_ZERO,
  15.         .block_erasers  =
  16.         {
  17.             {
  18.                 .eraseblocks = { {4 * 1024, 4096} },
  19.                 .block_erase = spi_block_erase_20,
  20.             }, {
  21.                 .eraseblocks = { {32 * 1024, 512} },
  22.                 .block_erase = spi_block_erase_52,
  23.             }, {
  24.                 .eraseblocks = { {64 * 1024, 256} },
  25.                 .block_erase = spi_block_erase_d8,
  26.             }, {
  27.                 .eraseblocks = { {16 * 1024 * 1024, 1} },
  28.                 .block_erase = spi_block_erase_60,
  29.             }, {
  30.                 .eraseblocks = { {16 * 1024 * 1024, 1} },
  31.                 .block_erase = spi_block_erase_c7,
  32.             }
  33.         },
  34.         .printlock  = spi_prettyprint_status_register_plain, /* TODO: improve */
  35.         .unlock     = spi_disable_blockprotect,
  36.         .write      = spi_chip_write_256,
  37.         .read       = spi_chip_read,
  38.         .voltage    = {2700, 3600},
  39.     },
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top