Hello,
Does PICPROG2009 (rev 3.05) save and restore OSCCAL value ? If so, How to configure PICPROG2009 to do, mainly the Oscillator parameter which has many options. I did not found any documentation about this option (and others).
I compiled a program for a PIC12f629, using MPASM of PICPROG2009, and OSCCAL value was erased ( 3fff) during my first test.
At the beginning of loading, I noticed OSCALL value (0x3438) and in second time, I compiled my program and I put OSCCAL value in OSCCAL parameter of the configuration. PICPROG2009 asked me to accept this new value and restore it at end of loading (a pop-up indicates this operation). However, using read data option, PICPROG2009 showes blank at 3fff memory position.
I wonder whether it work correctly, because reading of the PIC displays blank at 0x3ff memory position whereas the new OSCCAL value is displayed in configuration parameter.
In order to verify, I used PICPROG2 (found in old version of K8048 & VM111 PIC programmer) to try the following : put, just before END command : org 0x3ff, retlw 0x38 (my value).
That work successfully, Readback option of PICPROG2 showes 3438 at 0x3ff memory postion. Unfortunatly, later, PICPROG2009 displays blank at the 0x3ff memory position.
Many thanks in advance for your help.
Pierre46
Notes:
I am using VM111 bought last month. PICPROG2009 (rev_3_05) was running under up to date Windiws XP pro. VM 111 was connected to a thrue RS232 port.
I tried succesuffuly example ASM2