Hello reza,

What is the exact command you are running?

Also note there is a message in the logs you copied:

> At least some flash regions are write protected. For write operations,
> you should use a flash layout and include only writable regions. See
> manpage for more details.

On Sat, Mar 8, 2025 at 4:51 PM reza adinepour <r3zaadinep...@gmail.com> wrote:
>
> Hi all,
>
> when i programm internally, chip doesn't programm and bellow message show:
> I try to disable WP using "--wp-disable" feature but it doesn't have effect 
> on programm flash.
> thanks to help me.
>
>
>
> flashrom v1.6.0-devel (git:v1.5.0-19-g971ea27d) on Linux 
> 6.9.3-76060903-generic (x86_64)
> flashrom is free software, get the source code at https://flashrom.org
>
> Cannot open file stream for /dev/mtd0
> coreboot table found at 0x659fb000.
> Found chipset "Intel Meteor Lake-P/M".
> Enabling flash write... Warning: Setting BIOS Control at 0xdc from 0x8b to 
> 0x89 failed.
> New value is 0x8b.
> SPI Configuration is locked down.
> FREG0: Flash Descriptor region (0x00000000-0x00003fff) is read-write.
> FREG1: BIOS region (0x01000000-0x01ffffff) is read-write.
> FREG2: Management Engine region (0x00006000-0x00a69fff) is read-write.
> FREG3: Gigabit Ethernet region (0x00004000-0x00005fff) is read-write.
> FREG9: Device Expansion 2 region (0x00a6a000-0x00ffffff) is read-write.
> PR0: Warning: 0x01050000-0x01ffffff is read-only.
> PR1: Warning: 0x01000000-0x0100ffff is read-only.
> At least some flash regions are write protected. For write operations,
> you should use a flash layout and include only writable regions. See
> manpage for more details.
> OK.
> Found Winbond flash chip "W25Q256JW_DTR" (32768 kB, Programmer-specific) on 
> internal.
> Disabled hardware protection
> Reading old flash chip contents... done.
> Updating flash chip contents... Transaction error between offset 0x01000000 
> and 0x01000000 (= 0x01000000 + 0)!
> Erase/write done from 0 to 1ffffff
> Write Failed!Uh oh. Erase/write failed. Checking if anything has changed.
> Reading current flash chip contents... done.
> Apparently at least some data has changed.
> Your flash chip is in an unknown state.
> Get help on IRC (see https://www.flashrom.org/Contact) or mail
> flashrom@flashrom.org with the subject "FAILED: <your board 
> name>"!-------------------------------------------------------------------------------
> DO NOT REBOOT OR POWEROFF!
>
> _______________________________________________
> flashrom mailing list -- flashrom@flashrom.org
> To unsubscribe send an email to flashrom-le...@flashrom.org



-- 
Anastasia.
_______________________________________________
flashrom mailing list -- flashrom@flashrom.org
To unsubscribe send an email to flashrom-le...@flashrom.org

Reply via email to