Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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
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
 

Attachments

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

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

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:



16.3 Flash programming and erase

The P89LPC9201/9211/922A1/9241/9251 program memory consists 1 kB sectors. Each sector can be
further divided into 64-byte pages. In addition to sector erase and page erase, a 64-byte page
register is included which allows from 1 to 64 bytes of a given page to be programmed at the same
time, substantially reducing overall programming time. Five methods of programming this device are
available.

• Parallel programming with industry-standard commercial programmers.

• In-Circuit serial Programming (ICP) with industry-standard commercial programmers.

IAP-Lite allows individual and multiple bytes of code memory to be used for data storage and
programmed under control of the end application.


• Internal fixed boot ROM, containing low-level In-Application Programming (IAP)
routines that can be called from the end application (in addition to IAP-Lite).

• A factory-provided default serial loader, located in upper end of user program memory, providing
In-System Programming (ISP) via the serial port.

• Note: Flash erase/program will be blocked if BOD FLASH is detected (Vdd<2.4 V).


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.
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
 

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?
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.
 

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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top