PIC18F2525 Config Word

Status
Not open for further replies.

cne

New Member
Hello,

I am building laser tag guns that I found on a website. I have constructed the circuits, but now I need to program the PIC's with the provided hex file.
I have a problem though, the hex file does not include the config word, so I need to enter it manually. The website provides the config settings for different software than the PICKIT2 programer application which I am using. Is there a way to convert these settings into a PICKIT2 config word?

Thank you in advance,

Cameron
 

Attachments

  • RevH%20Config%20Fuses.jpg
    78.4 KB · Views: 257
  • PICKIT2 Config 18F2525.jpg
    92.4 KB · Views: 477
Maybe this will help you they should be right
Code:
CONFIG1H   :$300001 : 0x0002
CONFIG2L   :$300002 : 0x001F
CONFIG2H   :$300003 : 0x000E
CONFIG3H   :$300005 : 0x0001
CONFIG4L   :$300006 : 0x0081
CONFIG5L   :$300008 : 0x0007
CONFIG5H   :$300009 : 0x00C0
CONFIG6L   :$30000A : 0x0007
CONFIG6H   :$30000B : 0x00E0
CONFIG7L   :$30000C : 0x0007
CONFIG7H   :$30000D : 0x0040
 
Thanks for your reply,

I was just wondering where I insert this code.
 
Here try this it should be ok

I did this 3 times I just manual set the config but the hex is a lot smaller 43 bytes that's funny

You can load the hex you have it works fine it don't have all them set but it has what you need

I would use the Hex you have
 
Last edited:
Here you can try it you have the right chip just set them with the PICKIT2

I removed the hex just set like in the pic
 

Attachments

  • config.jpg
    66.8 KB · Views: 208
Last edited:
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…