
Originally Posted by
flotulopex
Mister_e don't worry, your eyes are absolutely fine ;-)
I'm using ICProg to program the µC and the fuses are set in there since I can't pass this kind of settings from PBP.
Hi flotulopex, I use IC PROG and I pass the config fuse data to it from code always. Which assembler are you using PBP or MPASM? Also what osc speed?
Code:
for MPASM try
@MyConfig = _HS_OSC & _WDT_ON & _PWRTE_ON & _MCLRE_ON & _LVP_OFF
@MyConfig = MyConfig & _CP_OFF & _BODEN_ON & _DATA_CP_OFF
@ __config MyConfig
for PBP try
@ DEVICE pic16F88, HS_OSC
' Set Oscillator Fuse in Programmer to high speed make XT for low speed
@ DEVICE pic16F88, WDT_ON
' Watchdog Timer
@ DEVICE pic16F88, PWRT_ON
' Power-On Timer
@ DEVICE pic16F88, MCLR_ON
' Master Clear Options (Internal)
@ DEVICE pic16F88, BOD_OFF
' Brown-Out Detect
@ DEVICE pic16F88, LVP_OFF
' Low-Voltage Programming
@ DEVICE pic16F88, CPD_OFF
' Data Memory Code Protect
' Set to CPD_OFF for Development Copy
' Set to CPD_ON for Release Copy
@ DEVICE pic16F88, PROTECT_OFF
Also make sure to define your oscillator if you do not use default 4 mhz
JS
Bookmarks