0
\$\begingroup\$

I have SP8-A serial flash programmer and Winbond 25Q32BVSIG chip. I want to update only specific part of the data in SPI Flash, not touching the rest data on the chip. The programmer Manual does not specify anything about that. For example, only to update the data in the specific area of memory (assigned region), with offset 0x00010000 and size 0x00010000. I can't figure out is that possible, and, if yes, how to do this.

enter image description here

\$\endgroup\$
5
  • \$\begingroup\$ Use "Ignore". HEX file has address and size info. All those combined, you can locate the Hex content anywhere without touching the rest. \$\endgroup\$ Commented Nov 19, 2021 at 19:13
  • \$\begingroup\$ Whatever you try, at least read the whole flash contents first into a file. Preferably twice, and compare that the contents match. Then you can try different things. Like program the chip partially, or make a copy of original dump file and modify it, so you can write full contents back. \$\endgroup\$ Commented Nov 19, 2021 at 19:38
  • \$\begingroup\$ @jay What I should specify on 'File Start' and 'Buffer Start' fields in my case: offset 0x00010000 in the 'Buffer Start' and 0 in the 'File Start'? \$\endgroup\$ Commented Nov 19, 2021 at 22:00
  • \$\begingroup\$ That dialog suggests; the flash has been erased, programmed, and "offset 0x00010000 and size 0x00010000" are left blank, per your description. You can decode intel hexand tell the offset/address and the size, if you did not set it. "File Start" comes from that address in the hex, could be zero.Buffer start is 0x00010000. You may not have option to force the size, and the utility takes the hex to the end. You may generate appropriate hex, or edit the hex directly. If you were compiling to get the hex, we can discuss that as well. \$\endgroup\$ Commented Nov 20, 2021 at 2:50
  • \$\begingroup\$ That dialogue just default picture from manual. The file is .bin format (partition). \$\endgroup\$ Commented Nov 20, 2021 at 12:19

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.