Discussion in "PIC Microcontroller Discussion" started by    karkipreeti    Mar 3, 2014.
Mon Mar 03 2014, 05:07 pm
#1
hello,

i am new to work on pic microcontroller.i am using PIC16F73. i have started with making a simple test program.it compiled fine.
i am not able to program the controller. the controller is erased successfully. but during programming ,the process is failed and some configuration bit error is displayed on the window.
i am using mikro c pro compiler and minipro programmer for burning program
the image of the error message is attached here.
Help me out!!!
Mon Mar 03 2014, 06:57 pm
#2
I do not see the attached file. Make sure you attach the right file format. jpg/png etc.
Thu Mar 06 2014, 04:07 pm
#3
the error message is CONFIG 0x000000 Buf_val:0x5B IC_Val:0xFB
and also if i disable this setting i.e.config.fuse bits, the burning process is successful. can we ignore this setting and burn the controller??


[ Edited Thu Mar 06 2014, 04:18 pm ]
Fri Mar 07 2014, 01:14 pm
#4
Looks like you need to verify what value you're setting in Config bits. You cannot ignore config bits as it defines the basic operating parameters for your IC. However you can keep them whatever default value is by not programming it. But then you need to take care in your code. e.g. by default Watchdog is enabled, so your program should clear WDT otherwise your program will never run.

What is the config value you're setting right now?
Fri Mar 07 2014, 03:58 pm
#5
i am using the default value 0X005B
can u also tell me ,what will be the use of these config.bits.
Tue Mar 11 2014, 11:26 am
#6
I would suggest you try changing controller. It could be because of faulty controller. Configuration bits as name says are used to configure core chip parameters like what kind of crystal you are going to use HS/LS or internal oscillator, if you're going to use watchdog or other features of IC or not. Config bits change from controller to controller as they are specific to chip only. You need to look at the datasheet for more information on these bits.

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Bobbyerilar
Thu Mar 28 2024, 08:08 am
pb58
Thu Mar 28 2024, 05:54 am
Clarazkafup
Thu Mar 28 2024, 02:24 am
Walterkic
Thu Mar 28 2024, 01:19 am
Davidusawn
Wed Mar 27 2024, 08:30 pm
Richardsop
Tue Mar 26 2024, 10:33 pm
Stevencog
Tue Mar 26 2024, 04:26 pm
Bernardwarge
Tue Mar 26 2024, 11:15 am