Page 1 of 1

P18F6680 configuration bits - problem

Posted: 12 Jun 2011 15:55
by max_sm
Hi ! I have made a small test example in mikroC ver.4.8 Pro Demo - EasyPIC6. The program would compile, but could not be loaded to the chip. I don’t have so much experience to program the configuration bits. Can anyone help me with this?

Thank for your replies!

Best regards!
Max

Re: P18F6680 configuration bits - problem

Posted: 13 Jun 2011 09:02
by filip
Hi,

What do you mean by "but could not be loaded to the chip" ?
Are there any errors during the programming ?

Please, describe your problem in more details.

Regards,
Filip.

Re: P18F6680 configuration bits - problem

Posted: 15 Jun 2011 21:09
by max_sm
Hi Filip!

This is the message:
Programming FAILED !
-Program: 141 Error(s)
-DATA: 0 Error(s)
-IDs : 0 Error(s)

I don't know how to programm config. bits.

BRGD
Max
2.jpg
2.jpg (166.83 KiB) Viewed 2192 times

Re: P18F6680 configuration bits - problem

Posted: 16 Jun 2011 08:12
by filip
Hi,

Please, download the latest mikroProg Suite and drivers from the following location and try to program the board :
http://www.mikroe.com/eng/downloads/get ... c_v110.zip
http://www.mikroe.com/eng/downloads/get ... s_v200.zip

Also, try using some other USB ports and cables, preferably ones at the back of the case. Be sure that no device is connected to the same HUB.
If you can, apply some external power supply.

If this doesn't work, please attach here the detailed photo of the board.

Regards,
Filip.

Re: P18F6680 configuration bits - problem

Posted: 16 Jun 2011 23:33
by max_sm
Hello again!
I had already installed the latest software v1.10. I have tested with three different
USB ports, plus two separate external voltage supply - 12V for EasyPic6 and
5V for P18F6680, and it was the same result.
P18F4550 (left in photo) was programmed successfully.
Why is not "MCU information" in microProg Suite ( P18F6680 )?
How can I set the config. bits?
Or there is a bug ...

Thank you very much for your reply, Philip!

Brgd
Max

Re: P18F6680 configuration bits - problem

Posted: 17 Jun 2011 09:52
by filip
Hi,

Judging on the information you gave me, I suspect that there is some kind of connection issue on your custom board.
How did you program these custom board ? Have you connected it to the programming pins of the EasyPIC6 ?

Regards,
Filip.

Re: P18F6680 configuration bits - problem

Posted: 19 Jun 2011 22:45
by max_sm
Hello Filip!

Here is my configuration:

Communication is OK - micro progSuite show MC Type & Revision.
Vpp = 12.5V, Vcc = 4.99V,
Data - 0 Error
IDs - 0 Error
Program 141 Errors

What’s wrong?

BRGD
Max

Re: P18F6680 configuration bits - problem

Posted: 20 Jun 2011 09:17
by filip
Hi,

Please, understand that this kind of custom connection is not really authorized by mikroElektronika.
It can lead to unpredictable results and errors, as the one that you are experienced.

This kind of modification exceeds our support scope so I am really unable to help you.

Thank you for the understanding.

Regards,
Filip.

Re: P18F6680 configuration bits - problem

Posted: 22 Jun 2011 19:14
by max_sm
Hello!

Has someone experience with P18F6680?

Brgds,
Max