User ID

Post your requests and ideas on the future development of mikroPascal PRO for PIC.
Post Reply
Author
Message
jfbron
Posts: 6
Joined: 10 Nov 2012 11:18

User ID

#1 Post by jfbron » 14 Oct 2014 13:17

In addition to the program memory and EEprom memory handling, there are no routines to read or write the User-ID locations and the preprogrammed OSCCAL value.

It will be usefull to access thes locations.
With some PIC processors you can both Read and Write the user ID locations, other processors will only allow READ. the preprogrammed Osccal is sometimes part of the Program memory, sometimes a separate location.

A routine to acces these locations, as well as the Device-ID locations and Fuse bits is usefull, depending on the chip this will be no access at all, Read only or Read/Write.

Also, a possibility to set the value of the User ID and/or OSCCAL during chip programming is usefull,
this can i.e. be done by assigning a value the a predefined constant, to generate extra code in the hex programming file, assigning value to these special registers during programming.

User avatar
petar.timotijevic
mikroElektronika team
Posts: 1739
Joined: 19 Feb 2014 13:46
Location: Serbia
Contact:

Re: User ID

#2 Post by petar.timotijevic » 15 Oct 2014 16:17

Hello jfbron and welcome to the MikroE forum,
jfbron wrote:In addition to the program memory and EEprom memory handling, there are no routines to read or write the User-ID locations and the preprogrammed OSCCAL value.

It will be usefull to access thes locations.
With some PIC processors you can both Read and Write the user ID locations, other processors will only allow READ. the preprogrammed Osccal is sometimes part of the Program memory, sometimes a separate location.

A routine to acces these locations, as well as the Device-ID locations and Fuse bits is usefull, depending on the chip this will be no access at all, Read only or Read/Write.

Also, a possibility to set the value of the User ID and/or OSCCAL during chip programming is usefull,
this can i.e. be done by assigning a value the a predefined constant, to generate extra code in the hex programming file, assigning value to these special registers during programming.
Please see our mikroProg programmer/ICD and mikroProg Suite you can set and read OSCCAL and other configuration bits.

mikroProg for PIC, dsPIC, PIC24, PIC32
http://www.mikroe.com/mikroprog/pic-dspic-pic32/


Please can you tell me which specific MCU you have in mind?


Best regards,
Peter

Post Reply

Return to “mikroPascal PRO for PIC Wish List”