Programmer for AT24C64

J

James254

Guest
Hi All,

I support a product that's been manufactured with a bug in the flash memory
of the microcontroller. The factory has come up with a solution and the
design allows the update to be loaded via the products RS232 connector, so
this part is simple.

When the update is done I need to go into the adjustment menu and manually
edit 116 different locations in the EEPROM according to a table provided by
the factory. Now there is a high chance for error as it's a mind numbingly
boring exercise to change the data, it's not as simple as changing a setting
from 0 to 1.

My thought is to do the following

1. Remove the EEPROM from the product and install it in a programmer.

2. Download the contents of the EEPROM to a PC (Unfortunately every EEPROM
contains certain addresses that are specific to the product, such as A-D
gain and offset adjustments, Hour meter etc so we can't simply install
factory initial data)

3. Have the programmer software "OR" the downloaded data with a file that
changes only the 116 locations.

4. Upload the modified file to the EEPROM.

5. Install the EEPROM back in the product.

Does anyone know of a programmer and software that will allow you to do
this?

Thanks in advance!
James
--
Please Note - E-mail address corrupt. Please change "no" to "i"


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.672 / Virus Database: 434 - Release Date: 28/04/2004
 
On a sunny day (Sun, 2 May 2004 14:18:13 +1000) it happened "James254"
<james254@nohug.com.au> wrote in <c71smb$hhp$1@lust.ihug.co.nz>:

Hi All,

I support a product that's been manufactured with a bug in the flash memory
of the microcontroller. The factory has come up with a solution and the
design allows the update to be loaded via the products RS232 connector, so
this part is simple.

When the update is done I need to go into the adjustment menu and manually
edit 116 different locations in the EEPROM according to a table provided by
the factory. Now there is a high chance for error as it's a mind numbingly
boring exercise to change the data, it's not as simple as changing a setting
from 0 to 1.

My thought is to do the following

1. Remove the EEPROM from the product and install it in a programmer.

2. Download the contents of the EEPROM to a PC (Unfortunately every EEPROM
contains certain addresses that are specific to the product, such as A-D
gain and offset adjustments, Hour meter etc so we can't simply install
factory initial data)

3. Have the programmer software "OR" the downloaded data with a file that
changes only the 116 locations.

4. Upload the modified file to the EEPROM.

5. Install the EEPROM back in the product.

Does anyone know of a programmer and software that will allow you to do
this?

Thanks in advance!
James
http://ip51cf87c4.direct-adsl.nl/panteltje/satellite/
look for eeprog program.
Linux with source, only uses 3 components.
Connects to par port.
 
Hi
The E2PROM is programed via I2C link protocol.
You can contact DATAIO company for such a machine or you can do it by
yourself in two ways:
1. Many uP comes today with built in I2C port (MPC860 etc) and their
drivers.
2. Its quite easy to use a CPLD and to write it with the required code that
will perform the I2C Read/ Write cycles according to CPU cycles.
Thus you can design a card plugged into a PC slot that will translate
CPUcycle to I2C cycle.
Amnon


"Jan Panteltje" <pNaonStpealmtje@yahoo.com> wrote in message
news:c732tr$b6d$1@news.epidc.co.kr...
On a sunny day (Sun, 2 May 2004 14:18:13 +1000) it happened "James254"
james254@nohug.com.au> wrote in <c71smb$hhp$1@lust.ihug.co.nz>:

Hi All,

I support a product that's been manufactured with a bug in the flash
memory
of the microcontroller. The factory has come up with a solution and the
design allows the update to be loaded via the products RS232 connector,
so
this part is simple.

When the update is done I need to go into the adjustment menu and
manually
edit 116 different locations in the EEPROM according to a table provided
by
the factory. Now there is a high chance for error as it's a mind
numbingly
boring exercise to change the data, it's not as simple as changing a
setting
from 0 to 1.

My thought is to do the following

1. Remove the EEPROM from the product and install it in a programmer.

2. Download the contents of the EEPROM to a PC (Unfortunately every
EEPROM
contains certain addresses that are specific to the product, such as A-D
gain and offset adjustments, Hour meter etc so we can't simply install
factory initial data)

3. Have the programmer software "OR" the downloaded data with a file that
changes only the 116 locations.

4. Upload the modified file to the EEPROM.

5. Install the EEPROM back in the product.

Does anyone know of a programmer and software that will allow you to do
this?

Thanks in advance!
James
http://ip51cf87c4.direct-adsl.nl/panteltje/satellite/
look for eeprog program.
Linux with source, only uses 3 components.
Connects to par port.
 
any reason you couldn't write a program to do that for you through the
RS-232?.



"James254" <james254@nohug.com.au> wrote in message
news:c71smb$hhp$1@lust.ihug.co.nz...
Hi All,

I support a product that's been manufactured with a bug in the flash
memory
of the microcontroller. The factory has come up with a solution and the
design allows the update to be loaded via the products RS232 connector, so
this part is simple.

When the update is done I need to go into the adjustment menu and manually
edit 116 different locations in the EEPROM according to a table provided
by
the factory. Now there is a high chance for error as it's a mind numbingly
boring exercise to change the data, it's not as simple as changing a
setting
from 0 to 1.

My thought is to do the following

1. Remove the EEPROM from the product and install it in a programmer.

2. Download the contents of the EEPROM to a PC (Unfortunately every EEPROM
contains certain addresses that are specific to the product, such as A-D
gain and offset adjustments, Hour meter etc so we can't simply install
factory initial data)

3. Have the programmer software "OR" the downloaded data with a file that
changes only the 116 locations.

4. Upload the modified file to the EEPROM.

5. Install the EEPROM back in the product.

Does anyone know of a programmer and software that will allow you to do
this?

Thanks in advance!
James
--
Please Note - E-mail address corrupt. Please change "no" to "i"


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.672 / Virus Database: 434 - Release Date: 28/04/2004
 
Hi Jan, Amnon and Mook,

Thanks for the reply.

I should have made myself a little clearer in the original message. I only
provide the support for the product (I don't have access to the code for the
microcontroller, therefore there is no possibility of using the RS232
connector to change the EEPROM data. The factory will not release the
information it's a secret!)

So the options left open to me are to make a device that programs the EEPROM
when it's removed from the product. I think that I could do that using a PIC
microcontroller but it'll take me some time as I've never written I2C code
for this microcontroller.

Someone suggested that I could use a programmer and download the data to the
PC. This is no problem for me.

Then I should write a .hex? file that would change the 116 non-sequential
locations and then load this file to overwrite the information downloaded to
the PC.

I think I can get the EEPROM address locations (I already know the data
values) from the factory, but I'm not sure how I would go about writing the
..hex? file. If you can suggest a windows program name I would appreciate it!

Thanks in advance,
James

PS. I'm open to suggestions if anyone has a better idea...

"James254" <james254@nohug.com.au> wrote in message
news:c71smb$hhp$1@lust.ihug.co.nz...
Hi All,

I support a product that's been manufactured with a bug in the flash
memory
of the microcontroller. The factory has come up with a solution and the
design allows the update to be loaded via the products RS232 connector, so
this part is simple.

When the update is done I need to go into the adjustment menu and manually
edit 116 different locations in the EEPROM according to a table provided
by
the factory. Now there is a high chance for error as it's a mind numbingly
boring exercise to change the data, it's not as simple as changing a
setting
from 0 to 1.

My thought is to do the following

1. Remove the EEPROM from the product and install it in a programmer.

2. Download the contents of the EEPROM to a PC (Unfortunately every EEPROM
contains certain addresses that are specific to the product, such as A-D
gain and offset adjustments, Hour meter etc so we can't simply install
factory initial data)

3. Have the programmer software "OR" the downloaded data with a file that
changes only the 116 locations.

4. Upload the modified file to the EEPROM.

5. Install the EEPROM back in the product.

Does anyone know of a programmer and software that will allow you to do
this?

Thanks in advance!
James
--
Please Note - E-mail address corrupt. Please change "no" to "i"
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.672 / Virus Database: 434 - Release Date: 28/04/2004
 
On a sunny day (Mon, 3 May 2004 21:28:49 +1000) it happened "James254"
<james254@nohug.com.au> wrote in <c75a68$4sf$2@lust.ihug.co.nz>:

Hi Jan, Amnon and Mook,

Thanks for the reply.

I should have made myself a little clearer in the original message. I only
provide the support for the product (I don't have access to the code for the
microcontroller, therefore there is no possibility of using the RS232
connector to change the EEPROM data. The factory will not release the
information it's a secret!)

So the options left open to me are to make a device that programs the EEPROM
when it's removed from the product. I think that I could do that using a PIC
microcontroller but it'll take me some time as I've never written I2C code
for this microcontroller.

Someone suggested that I could use a programmer and download the data to the
PC. This is no problem for me.

Then I should write a .hex? file that would change the 116 non-sequential
locations and then load this file to overwrite the information downloaded to
the PC.

I think I can get the EEPROM address locations (I already know the data
values) from the factory, but I'm not sure how I would go about writing the
.hex? file. If you can suggest a windows program name I would appreciate it!

Thanks in advance,
James

PS. I'm open to suggestions if anyone has a better idea...

"James254" <james254@nohug.com.au> wrote in message
news:c71smb$hhp$1@lust.ihug.co.nz...
Hi All,

I support a product that's been manufactured with a bug in the flash
memory
of the microcontroller. The factory has come up with a solution and the
design allows the update to be loaded via the products RS232 connector, so
this part is simple.

When the update is done I need to go into the adjustment menu and manually
edit 116 different locations in the EEPROM according to a table provided
by
the factory. Now there is a high chance for error as it's a mind numbingly
boring exercise to change the data, it's not as simple as changing a
setting
from 0 to 1.

My thought is to do the following

1. Remove the EEPROM from the product and install it in a programmer.

2. Download the contents of the EEPROM to a PC (Unfortunately every EEPROM
contains certain addresses that are specific to the product, such as A-D
gain and offset adjustments, Hour meter etc so we can't simply install
factory initial data)

3. Have the programmer software "OR" the downloaded data with a file that
changes only the 116 locations.

4. Upload the modified file to the EEPROM.

5. Install the EEPROM back in the product.

Does anyone know of a programmer and software that will allow you to do
this?

Thanks in advance!
James
The eeprog program I pointed you to allows you to get the eeprom data
for any size 24c16 24c.. and get it into the PC in a HEX file
or binary.
On the binary you can use any hex editor (khexedit in Linux for example),
modifiy one or more locations ,and use eeprog to program it
back (keep a copy of the original).
It only uses the par port of the PC and 3 components.
JP
 
Check out the URP at
http://www.canerdian.ca

It can do what you need.

--
Aaron Hughes
urpNOSPAM@canerdian.ca
http://www.canerdian.ca
"Jan Panteltje" <pNaonStpealmtje@yahoo.com> wrote in message
news:c732tr$b6d$1@news.epidc.co.kr...
On a sunny day (Sun, 2 May 2004 14:18:13 +1000) it happened "James254"
james254@nohug.com.au> wrote in <c71smb$hhp$1@lust.ihug.co.nz>:

Hi All,

I support a product that's been manufactured with a bug in the flash
memory
of the microcontroller. The factory has come up with a solution and the
design allows the update to be loaded via the products RS232 connector,
so
this part is simple.

When the update is done I need to go into the adjustment menu and
manually
edit 116 different locations in the EEPROM according to a table provided
by
the factory. Now there is a high chance for error as it's a mind
numbingly
boring exercise to change the data, it's not as simple as changing a
setting
from 0 to 1.

My thought is to do the following

1. Remove the EEPROM from the product and install it in a programmer.

2. Download the contents of the EEPROM to a PC (Unfortunately every
EEPROM
contains certain addresses that are specific to the product, such as A-D
gain and offset adjustments, Hour meter etc so we can't simply install
factory initial data)

3. Have the programmer software "OR" the downloaded data with a file that
changes only the 116 locations.

4. Upload the modified file to the EEPROM.

5. Install the EEPROM back in the product.

Does anyone know of a programmer and software that will allow you to do
this?

Thanks in advance!
James
http://ip51cf87c4.direct-adsl.nl/panteltje/satellite/
look for eeprog program.
Linux with source, only uses 3 components.
Connects to par port.
 

Welcome to EDABoard.com

Sponsor

Back
Top