Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
David Prentice
11/20/14 04:35
Read: 1006 times

#190380 - You can NOT write to ROM
Responding to: Kiran V. Sutar's previous message
You can only write to the AT89S52 flash memory via an external programmer. e.g. in-circuit SPI or out-of-circuit HVPP.

Some devices, e.g. AT89S8253 have got on-chip EEPROM. you can write to EEPROM from your application.

Other devices, e.g. AT89LP51xxx have on-chip bootloaders. You can write to Flash from your application (IAP) in-application-programming.

Many modern 8051-type MCUs are able to do (IAP). The AT89S52 is not a modern MCU.

You can always write to an unused area of Flash with your external programmer.


List of 8 messages in thread
How to init a variable in ROM      Kiran V. Sutar      11/19/14 21:39      
   You can NOT write to ROM      David Prentice      11/20/14 04:35      
   Hex file      Daniel Contarino      11/20/14 15:18      
   Initialize code      Daniel Contarino      11/20/14 15:27      
   toolchain?      Maarten Brock      11/29/14 01:36      
   Using SDCC...      Oliver Sedlacek      12/11/14 05:50      
   that chip does not have any ROM      Erik Malund      12/12/14 08:50      
   Here is the solution I was looking for      Kiran V. Sutar      12/19/14 08:33      

Back to Subject List