Laserpithium
New Member
Dear all,
First of all hello everybody, this is my first post in this forum.
I am new in PIC programming, and I have a question I didn't managed to get a clear answer on Google:
I want to program a PIC 12F629, but as I am using Linux (and not Windows), I can not use the very comprehensive IDE from Microchip: the burning of the PIC is performed with the pk2cmd command line.
However, I have read that the PIC12F629 has written inside at location 0x3FF the OSCCAL calibration value for the internal oscillator, and that this value should never be over-written.
My question is: how can I be sure, using pk2cdm, that I will not burn the program at this specific location ?
pk2cmd says that I can choose the location I want to download to with the option -M, but it is not very clear for me which parameters to give:
Should I use P or E ? Should I specify a range ?
Thank you for your advices.
First of all hello everybody, this is my first post in this forum.
I am new in PIC programming, and I have a question I didn't managed to get a clear answer on Google:
I want to program a PIC 12F629, but as I am using Linux (and not Windows), I can not use the very comprehensive IDE from Microchip: the burning of the PIC is performed with the pk2cmd command line.
However, I have read that the PIC12F629 has written inside at location 0x3FF the OSCCAL calibration value for the internal oscillator, and that this value should never be over-written.
My question is: how can I be sure, using pk2cdm, that I will not burn the program at this specific location ?
pk2cmd says that I can choose the location I want to download to with the option -M, but it is not very clear for me which parameters to give:
Code:
M<memory region> Program Device Do Not Program
memory regions:
P = Program memory
E = EEPROM
I = ID memory
C = Configuration memory
If no region is entered, the entire
device will be erased & programmed.
If a region is entered, no erase
is performed and only the given
region is programmed.
All programmed regions are verified.
(serial EEPROM memory is 'P')
Thank you for your advices.