I am using PIC18f controller to display the signal waveform on a graphic display using four rows B1, B2, B3, B4(eight pixels each) of the display and it works fine.
Now I want to capture the signal data and store it in flash memory and later read the same
I am trying to capture the data every 60 seconds interval and then erase the flash memory storing that data and start storing new data.
There are 122 columns in the display and I am using 32 pixels (8 pixels in each row) to represent the amplitude of the signal;
So there will be in all 122*4*60 = 29280 memory locations required
I tried the write to flash subroutine in the datasheet but didn't work.
It says that the memory should be erased (1024 bytes)
Honestly it looks complicated to me and I could not figure it out.
All I want to do is assign a table pointer to a particular memory location
Move signal data to that location
Keep incrementing table pointer and moving data for every 60 seconds.
If anybody worked on this before, your input will be highly appreciated.
Thanks
Now I want to capture the signal data and store it in flash memory and later read the same
I am trying to capture the data every 60 seconds interval and then erase the flash memory storing that data and start storing new data.
There are 122 columns in the display and I am using 32 pixels (8 pixels in each row) to represent the amplitude of the signal;
So there will be in all 122*4*60 = 29280 memory locations required
I tried the write to flash subroutine in the datasheet but didn't work.
It says that the memory should be erased (1024 bytes)
Honestly it looks complicated to me and I could not figure it out.
All I want to do is assign a table pointer to a particular memory location
Move signal data to that location
Keep incrementing table pointer and moving data for every 60 seconds.
If anybody worked on this before, your input will be highly appreciated.
Thanks