Skip to content

Commit

Permalink
add support for PFC151 and PFC161 (the physical ICs are identical)
Browse files Browse the repository at this point in the history
  • Loading branch information
freepdk committed Jun 17, 2021
1 parent fd47836 commit e064f5d
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions fpdkicdata.c
Expand Up @@ -304,6 +304,44 @@ static const FPDKICDATA fpdk_ic_table[] =
.erase_clock_hcycle = 20000,
},

{ .name = "PFC151",
.name_variant_1 = "PFC161",
.otpid = 0x2AA7,
.id12bit = 0xCA7,
.type = FPDK_IC_FLASH,
.addressbits = 13,
.codebits = 14,
.eccbits = 5,
.codewords = 0x800,
.ramsize = 0x80,
.exclude_code_start = 0x7E0, //OTP area 16 words, contains empty space for user and BGTR IHRCR factory values
.exclude_code_end = 0x7F0,
.command_trailing_clocks = 1,
.cmd_read = 0xC,
.vdd_cmd_read = 2.5,
.vpp_cmd_read = 5.5,
.vdd_read_hv = 2.5,
.vpp_read_hv = 5.5,
.cmd_write = 0x7,
.vdd_cmd_write = 2.5,
.vpp_cmd_write = 5.5,
.vdd_write_hv = 5.5,
.vpp_write_hv = 0.0,
.write_block_address_first = 1,
.write_block_size = 4,
.write_block_limited = 1,
.write_block_clock_groups = 3,
.write_block_clock_group_lead_clocks = 1,
.write_block_clock_group_slow_clocks = 5,
.write_block_clock_group_slow_clock_hcycle = 25,
.write_block_clock_group_trail_clocks = 3,
.cmd_erase = 0x5,
.vdd_cmd_erase = 3.0,
.vpp_cmd_erase = 4.8,
.vdd_erase_hv = 5.0,
.vpp_erase_hv = 4.8,
.erase_clocks = 4, //2,
.erase_clock_hcycle = 20000,
},

{ .name = "PMS171B",
Expand Down

0 comments on commit e064f5d

Please sign in to comment.