Without removing it from the system and while the embedded application The IAP allows to reprogram a microcontroller on-chip Flash memory You should probably read all of Section 24. You need to link in a library that you can get from the Atmel website and then you can make calls to these magic instructions and write to the flash via In-System Programming (ISP) also called In-Application Programming (IAP) in the literature. I say this because your micro does contain those "magic instructions" that the poster references. The first, mapping XDATA over your code memory and then using the XDATA assembly instructions to write into that space is more trouble than it's worth. The first reply in the thread you linked actually told you the two different ways this can be achieved. If you're interested in why they don't like doing this, read up on Harvard Architecture. But 8051 variants really don't like doing this.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |