

So in any way i couldn't write anything in the FLASH of 8051 when my controller is executing the program. So from there i had this thing in my mind, that if i can store the serial data in an array then why cant i arrange the incoming data from serial port in FLASH memory ?īut i forget one vital thing, that when i declare an array or variable in a program, the space for array or variable is created in RAM of 8051 not in the FLASH of 8051.Īnd whatever i save from SBUF, during serial communication, either in a variable or in an array the data will always be stored in registers located in RAM not in FLASH. Allows You to Read or Write the Microcontroller. I did a project using GPS and at89s52 and in there i stored the incoming serial data from GPS in an array of 89S52 ,then from the stored data i parsed out my required information. The USB interface is achieved by using an atmega8 processor and the rest is done in firmware.


I know its possible with P89V51RD2 ,due to the IAP (the in application programing feature)īut actually i had a thing in my mind due to which i was asking this question.
