Page 1 of 1

Programming and Access to User ID words

Posted: 14 Feb 2016 12:19
by HannesB
Many Pic processors have User-ID bytes outside the normal program area.
Therefore i suggest two enhancements to the IDE environment and the compiler.

Suggestion 1: Add an extra field in the Project Settings for the User-ID Bytes. This will allow the user to write something is these bytes, For Pic 18 series, these fields are 16 bits, allowing two Hex values or ascii characters (8-bit) per location.
For Pic-12-16 Series these are 14 bits values, allowing one 14 bit Hex word or two 7-bits acsii characters.
The best solution would be to allow entering a Hex value (14 or 16 Bits) or 2 Ascii characters at users choice.

Suggestion 2: There are no subroutines to access the User ID words from a program. The PIC manual however mentions that in some cases these registers are accessable for reading or Writing from within a program. So routines tue read and/or write these area's are welcome.

Suggestion 3: for all 14-bit PIC processoren, it would be nice to have routines to have routines to pack 2 7-Bit Ascii Characters in a 14 Bit Word and to unpack them is a 16 Bit word. It shoud also be possible to Store and Read these 14 bit words in the program flash memory (When supported by the hardware), Currently only 8 bit values can be used, for 14 bit values you need to use a different access mechanism, as used in the older processors to access the Cmos or Program area.

Re: Programming and Access to User ID words

Posted: 18 Feb 2016 13:36
by Aleksandar.Mitrovic
Hi Hanners,

Thank you for this suggestions.

I will forward this suggestions to our Software Development team for further consideration.

Best regards,
Aleksandar

Re: Programming and Access to User ID words

Posted: 20 Sep 2016 10:13
by krasi533513
Does something happens with the User-ID Bytes?

More than one year of waiting???

Re: Programming and Access to User ID words

Posted: 21 Sep 2016 15:49
by Aleksandar.Mitrovic
Hi,

Fell free to suggest this on our page:
http://forum.mikroe.com/viewtopic.php?f=146&t=68444

If more users want this, it will be implemented in the compiler.

Kind regards,
Aleksandar