Graham1904
Junior Member level 1
- Joined
- Aug 13, 2009
- Messages
- 17
- Helped
- 5
- Reputation
- 10
- Reaction score
- 5
- Trophy points
- 1,283
- Location
- Durban
- Activity points
- 1,372
I have posted before but no answers were forthcoming and now I have the same situation again - that of using the DEE emulation for the PIC32.
I have downloaded the DEE library and implemented the functions in the main body of the program but am getting nowhere fast.
A simple test but what is "unsigned int *data" ? I can't see why in a READ statement you need and data in the call.
The routines do not seem to produce any meaningful results.
I have noticed that NVMADDR changes from 0x1D004000 to 0x1D004560 after the DataEEWrite() command but a search for 0x1234 does not reveal any results.
Anyone used these routines successfully before ?
Graham
I have downloaded the DEE library and implemented the functions in the main body of the program but am getting nowhere fast.
Code:
DataEEInit(); // initialise data EE
DataEEWrite(0x1234,0x0000); // write some "test" data to DEE
DEE_Data = DataEERead(unsigned int *data,0x0000); // read data back
A simple test but what is "unsigned int *data" ? I can't see why in a READ statement you need and data in the call.
The routines do not seem to produce any meaningful results.
I have noticed that NVMADDR changes from 0x1D004000 to 0x1D004560 after the DataEEWrite() command but a search for 0x1234 does not reveal any results.
Anyone used these routines successfully before ?
Graham