yanggeer110
Newbie level 4
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.:-(
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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
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
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).
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.
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.