Sign in

username:

password:



Not a member?

Search m68hc11



Search tips

Subscribe to m68hc11



m68hc11 by Keywords

27c256 | 4K81H | 68HC11A1 | 68HC11P1 | 68hc24 | 68HC711E9 | 68HC811 | 8255 | A2D | ADC | ADC12138 | Am85C30 | BRCLR | Buffalo | CMOS | EEPROM | EPROM | Ethernet | EVB | EVBU | HC11E1 | HC11E9 | HC711E9 | Horray | ImageCraft | IRQ | Keypad | LCD | MC68HC11D0FN | MC68HC11E1CFU3 | MC68HC11F1 | MC68HC711E9 | MC68HC711E9CFN2 | Microcore11 | Microstamp11 | Minikit | NVRAM | PSD | PSD8xx | PSD9xx | PT1000 | RS232 | RTS | RXD | SPI | SRAM | TXD | Watchdogs | XIRQ

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | | Serail EEPROM programming.

Serail EEPROM programming. - Jean St-Pierre - May 9 19:00:00 2002

Hi List,
Yet an other memory question:
I have a Kevin Ross botboard+ with a 811E2 and a MicroChip 25LC640
serial EEPROM that came with the kit .
Using a small assembly sub-routine, I can transfer data in or out of the
serial EEPROM to the MCU easily, but I can only write 32 bytes at a time
(though I can read as much as I want at a time).
Can anyone suggest to me a way to load the serial EEPROM with the
content of a s19 file containing say about 4 Kbytes. Is there some kind of
program that can do that ?

Any hints would be greatly appreciated.

With kind regards.

Jean St-Pierre





(You need to be a member of m68hc11 -- send a blank email to m68hc11-subscribe@yahoogroups.com )


Re: Serail EEPROM programming. - Kevin Ross - May 13 1:17:00 2002


----- Original Message -----
From: "Jean St-Pierre" <>
To: <>
Sent: Thursday, May 09, 2002 5:00 PM
Subject: [m68HC11] Serail EEPROM programming. > Hi List,
> Yet an other memory question:
> I have a Kevin Ross botboard+ with a 811E2 and a MicroChip 25LC640
> serial EEPROM that came with the kit .
> Using a small assembly sub-routine, I can transfer data in or out of
the
> serial EEPROM to the MCU easily, but I can only write 32 bytes at a time
> (though I can read as much as I want at a time).
> Can anyone suggest to me a way to load the serial EEPROM with the
> content of a s19 file containing say about 4 Kbytes. Is there some kind of
> program that can do that ? The serial EEPROM uses a paged mechanism for doing the writes. What you have
to do is to raise the CS line, wait for 10ms, then lower the CS line. Then
you can continue writing the part.

I wrote an article about this:

http://www.seattlerobotics.org/encoder/aug99/serialeeprom.html

Kevin





(You need to be a member of m68hc11 -- send a blank email to m68hc11-subscribe@yahoogroups.com )

Re: Serail EEPROM programming. - Jean St-Pierre - May 13 18:41:00 2002

Dear Kevin,
Thank for your reply. I will modify my serail EEPROM write routine
(WriteSEE ) as you suggested. Thank you for your suggestion.
This will take care of my 32 bytes boundary problem.
Now as to the serial EEPROM data uploading, the only thing I can think
of is:
1) Copy the target serial EEPROM data into the HC811E2 EEPROM
including the "WriteSEE" write routine.
2) Run WriteSEE to transfer the data to the serial EEPROM.
This way I can transfer about 1.7 K bytes of data at a time. To upload 4
Kbytes, I simply repeat the 1.7 Kbytes write, until I am finished.
All the best !
Regards

Jean St-Pierre

> The serial EEPROM uses a paged mechanism for doing the writes. What you
have
> to do is to raise the CS line, wait for 10ms, then lower the CS line. Then
> you can continue writing the part.
>
> I wrote an article about this:
>
> http://www.seattlerobotics.org/encoder/aug99/serialeeprom.html
>
> Kevin




(You need to be a member of m68hc11 -- send a blank email to m68hc11-subscribe@yahoogroups.com )