Eeprom re-write between specific hex addresses

General topics relating to devices and programming
emilfilip
Posts: 5
Joined: 15 Apr 2015 11:21

Eeprom re-write between specific hex addresses

Postby emilfilip » 15 Apr 2015 11:34

I need to write (re-write) a 8M laptop bios eeprom between specific addresses, as an example, between 0 and 6002ff and the rest of the addresses up to 8002ff to be left unchanged. (i have a full dump file from good working chip but i don't need to erase/over-write the full eeprom)
Is there any chance to do it?

Thank you.

Dataman (Neil Parker)
Posts: 931
Joined: 10 Nov 2011 09:51

Re: Eeprom re-write between specific hex addresses

Postby Dataman (Neil Parker) » 15 Apr 2015 15:03

Hello emilfilip,

Which Dataman programmer model do you have? The process may be different between models so I need to know which one you have.

Best regards,

Neil Parker
Dataman Programmers

emilfilip
Posts: 5
Joined: 15 Apr 2015 11:21

Re: Eeprom re-write between specific hex addresses

Postby emilfilip » 20 Apr 2015 07:28

I have a Dataman-48PRO2C.

Dataman (Neil Parker)
Posts: 931
Joined: 10 Nov 2011 09:51

Re: Eeprom re-write between specific hex addresses

Postby Dataman (Neil Parker) » 20 Apr 2015 10:54

Hello emilfilip,

The easiest way is to READ the full device into the buffer, make the modifications to the data using the View/Edit Buffer window and then program it back into the device. If it is a significant amount of data that you need to modify then I assume that you have it available in a hex file? You can use the Load command, making sure the "Erase buffer before loading" is unchecked and specify the correct offset to place your new data into the buffer in the correct location.

I hope this helps.

Best regards,

Neil Parker
Dataman Programmers

emilfilip
Posts: 5
Joined: 15 Apr 2015 11:21

Re: Eeprom re-write between specific hex addresses

Postby emilfilip » 20 Apr 2015 16:11

In the easiest way is fine but the the manufacturer does not agree to touch a portion of the bios so i have to go for the other way.
In the other way, i can write part of it but the rest is erased.

Dataman (Neil Parker)
Posts: 931
Joined: 10 Nov 2011 09:51

Re: Eeprom re-write between specific hex addresses

Postby Dataman (Neil Parker) » 21 Apr 2015 12:03

Hello emilfilip,

What is the part name of the device you have? Is it EEPROM based or FLASH?

You have the option to choose the start and end address that you wish to program inside the device from the Device operation options dialog (Alt + O):
Image1.jpg
Image1.jpg (27.93 KiB) Viewed 12765 times
I hope this helps.

Best regards,

Neil Parker
Dataman Programmers

emilfilip
Posts: 5
Joined: 15 Apr 2015 11:21

Re: Eeprom re-write between specific hex addresses

Postby emilfilip » 21 Apr 2015 13:03

Hi Neil,
It is Winbond W25Q64FV soic 8
The "device start" address i'm using is 0 and "device end" address is 00003003FF
I've tried that option and indeed is reprogramming fine between the "device start" and "device end" but apparently everything after "Device end address" it is erased.
In the dialog window i have one more option "Erase before programming" which have to be enabled in order to rewrite the data, so i'm not sure if that can cause the erase for the rest of the addresses.

Dataman (Neil Parker)
Posts: 931
Joined: 10 Nov 2011 09:51

Re: Eeprom re-write between specific hex addresses

Postby Dataman (Neil Parker) » 22 Apr 2015 07:56

Hello emilfilip,

The Winbond W25Q64FV is a FLASH based device not EEPROM. The only way to modify any data in this device is to fully erase it and then reprogram all the data into it. If it were EEPROM based then what you propose would be possible as with EEPROM technology you can reprogram each individual byte without first having to erase it.

est regards,

Neil Parker
Dataman Programmers

emilfilip
Posts: 5
Joined: 15 Apr 2015 11:21

Re: Eeprom re-write between specific hex addresses

Postby emilfilip » 22 Apr 2015 08:12

Thank you for your help Neil.


Return to “Devices and Programming”

Who is online

Users browsing this forum: No registered users and 6 guests