ArvindEdaB
Newbie level 4
Hello,
I am working on the PIC Micro controller where it got a data flash of 128 bytes which were divided into 74 locations(14 bits each), I have an requirement of writing 100 bytes on the memory.
Upto my understanding in order to write into NVM PMADRHMADRL register pair should be filled with the desired register next to it then load the data and initiate the operation, But there is a problem in here How can I write a 100 byte buffer/Array into the Data flash which got divided into the locations of 14 bit each. May be this calls for a bigger complexity in writing/reading. even if I proceed, I cannot afford for it in terms of code memory as only 26 bytes left.
Kindly correct me if my understanding is wrong, and help me with an solution.
I am working on the PIC Micro controller where it got a data flash of 128 bytes which were divided into 74 locations(14 bits each), I have an requirement of writing 100 bytes on the memory.
Upto my understanding in order to write into NVM PMADRHMADRL register pair should be filled with the desired register next to it then load the data and initiate the operation, But there is a problem in here How can I write a 100 byte buffer/Array into the Data flash which got divided into the locations of 14 bit each. May be this calls for a bigger complexity in writing/reading. even if I proceed, I cannot afford for it in terms of code memory as only 26 bytes left.
Kindly correct me if my understanding is wrong, and help me with an solution.