This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

writing to MCU Flash/EE program DURING RUNTIME

Hello to all !!!

I am using Analog Device ADuC841
www.analog.com/.../ADUC841_842_843.pdf

Those the memories it had :

1) Up to 62 kBytes on-chip Flash/EE program memory
2) 4 kBytes on-chip Flash/EE data memory
3) 2304 bytes on-chip data RAM

I need to store a lot of data (string) coming from a
modem during runtime.

On my MCU there is - 4 kBytes on-chip Flash/EE data memory
but this is not enough for my application
so i need to use the program memory as a data memory.

In the data sheet is wrote that : (Page 19)
56 kBytes of the program memory can be reprogrammed during run time; thus the code space can be upgraded in the field by using a user defined protocol, or it can be used as a data memory.

My question is -

How can I split the 62 kBytes on-chip Flash/EE program memory
and use is as data memory ?

Where i can find example code for doing this?

How many times i can reprogram it, is it limited to 10K ? (the program memory)

Thanks in Advance

0