I want to use the built-in function read_program_memory() with PIC16F690. I use it to read out the program memory for calculating CRC16.
In my program I want to calculate CRC16 after power on and after software reset. In case of power on, all is ok.
After a reset, this function doesn't read memory at the given adress but at last used adress.
May someone help me?
Best regards
Matthias
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Thu Oct 25, 2007 12:29 pm
The function interface looks like this:
Quote:
read_program_memory(address, buffer, count);
Where do you get the address parameter for the read_program_memory
function ?
Is it a constant value ? Or do you read it from data eeprom ?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum