Can 89C55 be used as a flash memory?

Status
Not open for further replies.

yanggeer110

Newbie level 4
Joined
Jul 27, 2012
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Singapore
Activity points
1,336
I want to use 89C55 to work as a flash memory and each 1 second store a different 8-bit data into its memory,How to achieve this?got some program need to be written into this chip?please help me. I'm a rookie.:-(
 

The short answer is NO.

The AT89C55 does not support In Application Programming (IAP) or Self Programming to which it is sometimes referred.


AT89C55 Datasheet


You will need to implement some form of external storage, like I2C or SPI Serial EEPROM.



BigDog
 

thanks for the reply,but i read the data sheet,one page got the programming the flash memory and verify the flash memory,so what does this flash memory means,if 89C51 can not be use as a flash memory,can use other ic chip?cause i need to use one ic that got 8 input to store a 8-bit data every second into it,.
PS:my one is AT89C55WD

- - - Updated - - -

Please read the post
 

Attachments

  • 89C55.pdf
    417.4 KB · Views: 78
Last edited:


I'm not sure I understand your question.

The AT89C55WD can certainly be programmed with your program code, however the flash cannot be modified from within your program during runtime to store data.

You can either select another version of the 8051 MCU which does support IAP/Self Programming or implement some form of external storage like the I2C/TWI Serial EEPROM.

Atmel Serial EEPROM

Interfacing AT24CXX Serial EEPROMs with AT89LP Microcontrollers


I believe Philips/NXP, Maxim/Dallas and Silicon Labs (Silabs) all offer 8051 variants with IAP capabilities:





BigDog
 

Thanks,Big Dog,you really help me a lot,I'm a student and my project is to use a pseudo random number generator to generate some 8-bit numbers(like 10110001),and then store them in a flash memory IC chip(my teacher just told me use a flash memory,nothing more),so now i'm very stress because i don't know how to solve this data storage problem.the PRNG is already done.
 

Bigdog said to you well, you can use external EEPROM chip and save your data there.

AT89C55WD dont have EEPROM and dont support self programming.
 

Thanks for replying, but every seconds my board generate different 8-bit numbers, if use 8051's EEPROM to write data,how to program it?i mean different 8-bit number store in different stack from 00H,i haven't learn that far can do this job
Bigdog said to you well, you can use external EEPROM chip and save your data there.

AT89C55WD dont have EEPROM and dont support self programming.
 

Hello!

EEPROM or whatever external flash can store whatever you feed to it. You can even create a file system on one
flash chip and make your PC believe it's an external USB memory. Well, you cannot do this with 8051, I guess.
But at least you can program your external memory.

Dora.
 

Now i almost understand the concept but the question is how am i going to do this,my board got 8 outputs, each one is 1 bit i need to connect these 8 outputs to some flash memory to store the data inside,can be more details how to do that?
 

There are Serial EEPROMs available which only require two I/O pins to implement I2C interface. There maybe an I2C (TWI) hardware module available on the AT89C55, reference the devices datasheet, however as I indicated before it can be implemented by using two standard I/O pins.

Read the links I have previously provided above in post #4.


BigDog
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…