#2400 closed (fixed)

Solution for unable to write Intel S33 flash in WR941ND v3/v3.2

Reported by: LOM Owned by:
Keywords: Cc:

Description (last modified by LOM)

Intel S33 flash needs unlock, files attached are from the 941 GPL code.

Attachments (2)

ar7100_flash.c (7.8 KB) - added by LOM 15 months ago.
ar7100_flash.h (2.2 KB) - added by LOM 15 months ago.

Download all attachments as: .zip

Change History (5)

Changed 15 months ago by LOM

Changed 15 months ago by LOM

comment:1 Changed 15 months ago by LOM

  • Description modified (diff)

comment:2 Changed 15 months ago by LOM

From the Intel S33 .pdf Status register bits

4 BP2 Read-Write 3 BP1 Read-Write 2 BP0 Read-Write

Sector Protect Bits - These bits define the lock region of the main memory. A locked region is one or more adjacent memory sectors that are protected from program or erase. For further details, refer to Table 17. When all three of these bits are “0”, the entire main array is unlocked. These bits are volatile; atpower-up, these bits are set to “1”.

My comments: when all bits are set to 1 (default at power-up) all flash regions are write protected! these 3 bits makes the mask 0x1c in the unlock routine.

comment:3 Changed 15 months ago by BrainSlayer

  • Resolution set to fixed
  • Status changed from new to closed

unlock method now integrated

Note: See TracTickets for help on using tickets.