Hi David,

On 22/10/2022 00.31, [email protected] wrote:
I am starting a new project using a PIC16F1705.
I willl use the "pic_data_hef" library.
This libray requires the definition of a constant containing the start address of the HEF, and named /HEF_ADDRESS_OFFSET./
For the 16F1705, that value is 0x1F80/
/

My suggestion: *Couldn't that constant be defined in the device include file, so that, if I decide to port my code to another PIC, the value of the constant would be automatically updated, and thus, avoiding possible errors ?*

Maybe there is a method to determine the HEF offset.
*Assuming:*
- HEF is always 128 words
- HEF is last part of program memory
HEF-offset = amount of program memory less 128

Regards, Rob.

--
*Rob H*amerling, Vianen, NL

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/eaf6a66d-0ff1-f9a9-1e8d-5d217f3ef37f%40gmail.com.

Reply via email to