PDA

View Full Version : Help with pic16c771



jgavlik
- 4th March 2008, 19:08
I've compiled and programmed a PICBASIC PRO program for the pic16c771, but apparently, nothing runs.

I suspect that I may not have the correct oscillator selected (internal RC 4MHz) and possibly the MCLR pin is configured for reset. According to the manual the register that configures these, and other bits, is the configuration word. However, this is not accessible since it is at address 2007H.

You can find this information in section 12 of the pic16c771 manual @
http://ww1.microchip.com/downloads/en/DeviceDoc/41120b.pdf

Any ideas as to what to do??

Are there PICBASIC PRO defines or other commands to configure this word??

Thanks,

John

krohtech
- 4th March 2008, 20:04
Looks like a configuration fuse problem.

Melanie wrote a great post on this that helps me alot.

see: http://www.picbasic.co.uk/forum/showthread.php?t=543

skimask
- 4th March 2008, 21:18
I've compiled and programmed a PICBASIC PRO program for the pic16c771, but apparently, nothing runs.
I suspect that I may not have the correct oscillator selected (internal RC 4MHz) and possibly the MCLR pin is configured for reset. According to the manual the register that configures these, and other bits, is the configuration word. However, this is not accessible since it is at address 2007H.
You can find this information in section 12 of the pic16c771 manual @
http://ww1.microchip.com/downloads/en/DeviceDoc/41120b.pdf
Any ideas as to what to do??
Are there PICBASIC PRO defines or other commands to configure this word??
Thanks,
John

Which version of PBP are you using?