Madness, 18F2550!


Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Have you tried the 'exact' same config fuse settings that are in your loader file
    when programming it without the loader?
    Last edited by Bruce; - 10th February 2007 at 23:25.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  2. #2
    Join Date
    Oct 2004
    Location
    Zagreb, Croatia
    Posts
    27


    Did you find this post helpful? Yes | No

    Smile Solved finally!

    That helps Bruce!
    By careful comparision of every fuse programmed with and without bootloader I noticed some XINST=Extended Instruction Set Enable Bit which was dissabled in working version and enabled in non working version! In WinPicProgrammer this fuse is called "ENHCPU Extended CPU Enable". This fuse is related with some 18F specific data addressing techniques. To be sure that this fuse is my problem I reprogrammed several times exactly the same program (with other fuses the same) with XINST OFF and XINST ON and YES! With XINST ON the program is acting very strange and completely unfunctional. I try with programmer and with bootloader, symptoms are the same. So, dear friends, thanks everyone for help and write down in your notebook of 18FXXX' secrets following line:
    Code:
    @ __CONFIG    _CONFIG4L, _XINST_OFF_4L
    cheers!

Similar Threads

  1. 18F2550 timing
    By sstt1976 in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 22nd August 2008, 00:30
  2. Error compiling 18f2550
    By sirvo in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 13th May 2008, 23:22
  3. 18f2550 + 24lc512
    By mpardinho in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 20th December 2007, 22:02
  4. 18f2550 'access is denied' USB error?
    By Giulio in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 30th December 2006, 14:29
  5. 18F2550 config fuses, is my setup OK?
    By peu in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 28th July 2006, 03:48

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