??? 11/05/08 09:17 Read: times |
#159718 - Then specify exactly what you don't understand Responding to: ???'s previous message |
- When reading, you once more initialize the pwrite variable - shouldn't you initialize the pread variable?
- When reading, you are stepping a pread and a pwrite pointer - but you are not using the pwrite pointer. - When writing data into the eedata[] array, you are not stepping forward in the array, but are always storing all data in the first entry, i.e. multiple writes to *eedata is the same as multiple writes to eedata[0]. - Shouldn't you disable flash writes/erases after the write pass instead of waiting until after the read? Exactly what is so unclear about these comments? If you see a comment that you do not understand. Come back and say that - clearly indication exactly what sentence you do not understand. Asking your original question one more time will not help you. And posting the original - broken - code 5 times in this thread (and once on SILabs and once on Keil) will not help you. You must spend your time on fixing the code and on thinking about the answers you receive. |