Don't think there is a command. If you had a way to measure the output, you can manually set the register. You would have to set the config for _INTRC_CLCKOUT, then set register OSCCAL = XXX (252 high, 128 mid, 0 low freq.) in your code.
If you had a Pickit 2 programmer it can auto generate the OSCCAL. Rescued a 12f675 once this way.
Do you have two pics from the same batch? Reading the good OSCCAL value and transferring to the bad might work in a pinch.
There is an auto cal routine in the Pickit 1 lesson folder. One could compile that in MPLAB, set up your input button per asm file, download, and press the button?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How do I do an osccal on a 12f629 or 112f675? Is there a particular command for it?
Don't think there is a command. If you had a way to measure the output, you can manually set the register. You would have to set the config for _INTRC_CLCKOUT, then set register OSCCAL = XXX (252 high, 128 mid, 0 low freq.) in your code.
If you had a Pickit 2 programmer it can auto generate the OSCCAL. Rescued a 12f675 once this way.
Do you have two pics from the same batch? Reading the good OSCCAL value and transferring to the bad might work in a pinch.
There is an auto cal routine in the Pickit 1 lesson folder. One could compile that in MPLAB, set up your input button per asm file, download, and press the button?