What me to check it is ways 128?

Get Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: [email protected] <[email protected]> on behalf of Rob 
Hamerling <[email protected]>
Sent: Saturday, October 22, 2022 7:19:17 PM
To: [email protected] <[email protected]>
Subject: Re: [jallib] HEF usage: One suggestion and one question


Hi David,

On 22/10/2022 00.31, [email protected]<mailto:[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 Hamerling, 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]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/eaf6a66d-0ff1-f9a9-1e8d-5d217f3ef37f%40gmail.com<https://groups.google.com/d/msgid/jallib/eaf6a66d-0ff1-f9a9-1e8d-5d217f3ef37f%40gmail.com?utm_medium=email&utm_source=footer>.

-- 
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/CWXP265MB2518B567FA4E0654EB4B70C7F92C9%40CWXP265MB2518.GBRP265.PROD.OUTLOOK.COM.

Reply via email to