Problem with PIC16F87


Closed Thread
Results 1 to 40 of 44

Hybrid View

  1. #1
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    I tried changing the BODEN value but i got a fuse error that i cant get rid of. Ive set the fuses back, turned the programmer off/on and restarted the program but everytime i try to program i get this error "Fuse error 0x2007, Good 0x3F6E, Bad 0x0F0F". The numbers change when i change the fuse values though

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    The BODEN may not be the problem but it seems like the method of setting/changing the configs is.

    I have never thought it a good idea to use the programmer software ware to set the fuses for many reasons. Find a way to disable that part and set the configs either in the *.inc or in your code.
    http://www.picbasic.co.uk/forum/showthread.php?t=543
    You will not be able to really work with the micros until you can master the configs...pun intended
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    Ok, I cant seem to get it to compile when i set the fuses in the PBP source file but i found the file that defines defaults so i can change it in there. The current values are "_HS_OSC & _WDT_ON & _LVP_OFF & _CP_OFF". Same as they always have been. Even if i dont set the fuses in the programmer software it still gives me the error. Now its also complaining about EEPROM errors too. It doesnt appear to be writing any data to the chips :S

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Crap, the more I help the worse it gets...

    Is the programmer set to do an erase at program time?
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    The programmer doesnt erase the chip itself but i did try that and still no luck. Ive read it back after and i think its completely blank. Everything is 00. Is that right or should they all be FF?

Similar Threads

  1. problem using GOSUB under interrupt
    By fobya71 in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 5th March 2010, 20:52
  2. Problem to compile my program
    By wagner in forum Off Topic
    Replies: 5
    Last Post: - 7th July 2008, 21:17
  3. USART Problem , but don't know where, in pc? or in PIC?
    By precision in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 15th July 2007, 09:12
  4. 1 slave 1 master 1 MAX232 1 problem ?
    By SuB-ZeRo in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 31st July 2005, 23:59
  5. PORTA.PinNo = 1 ' problem
    By frank small in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 6th May 2004, 15:30

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts