Error programming 16F688


Closed Thread
Results 1 to 10 of 10
  1. #1
    Join Date
    Feb 2006
    Location
    Isle of Man
    Posts
    32

    Cool Error programming 16F688

    I am using PBP V2.45 with Microcode Studio V2.45A. When I try to compile a program for the 16F688, Microcode Studio gives the error message:

    Error in parameter "16F688"

    This happens even when the program is only 1 line or even no lines (just a comment)! Any ideas?

  2. #2
    Join Date
    Mar 2006
    Location
    Pennsylvania, USA.
    Posts
    130


    Did you find this post helpful? Yes | No

    Default

    Just a guess, but you might try the patch for version 2.45 from MeLabs;
    http://www.melabs.com/downloads/P245A1.EXE, and see if that changes anything.

    Jerry.
    If your oscilloscope costs more than your car...

  3. #3
    Join Date
    Feb 2006
    Location
    Isle of Man
    Posts
    32


    Did you find this post helpful? Yes | No

    Cool Error programming 16F688

    Thanks for the idea. I downloaded the patch program and ran it. However, the program replies:

    "Nothing to do! The files are already updated."

    So no solution I'm afraid!

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by manxman View Post
    Thanks for the idea. I downloaded the patch program and ran it. However, the program replies:

    "Nothing to do! The files are already updated."
    That is not the correct response. From melabs Software patch for PICBASIC PRO™ version 2.45.: http://www.melabs.com/support/patches.htm
    If you try to patch an installation that has been patched previously, you will receive the error: "This program cannot update the installed version of PICBASIC PRO Compiler because of the following reasons: c:\pbp\PIC12F683.BAS: unknown version." If you see this, you don't need the patch.
    Just an observation
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Feb 2006
    Location
    Isle of Man
    Posts
    32


    Did you find this post helpful? Yes | No

    Cool Error in programming 16F688

    Downloading this patch from Melabs and running it produces the same "Nothing to do" error message. I have had no problem compiling for other 16F*** and 18F*** PIC devices.

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


    Did you find this post helpful? Yes | No

    Default

    Have you tried updating to the latest version of MicroCode Studio?

    The 2.45 patch only works if you have a version of 2.45 that was
    shipped before the update. You may have a version 2.45 that already
    included the update, so the patch doesn't do anything.

    I would try compiling from the command line too. That would at least
    tell you if it's MCS or PBP.
    Last edited by Bruce; - 22nd July 2007 at 22:40. Reason: Try a DOS compile
    Regards,

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

  7. #7
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    Is the 16F688 listed in the MCS drop-down combo box? If not and your version of PBP does support that chip, I think all you need to do is edit pic.ini which is in the folder where you installed MCS. That has worked for me in the past.

  8. #8
    Join Date
    Feb 2006
    Location
    Isle of Man
    Posts
    32


    Did you find this post helpful? Yes | No

    Cool Error programming 16F688

    Yes, it is in the Microcode Studio combo box! I select this processor but the error appears!

  9. #9
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by manxman View Post
    Yes, it is in the Microcode Studio combo box! I select this processor but the error appears!
    Then I think you need a later version of PBP.

  10. #10
    Join Date
    Feb 2006
    Location
    Isle of Man
    Posts
    32


    Did you find this post helpful? Yes | No

    Smile Error progamming 16F688

    I have had brilliant help from David Barker (Mecanique) and Charles Leo (MElabs) about this problem.

    The solution is: In MicroCode Studio, click View - Compile And Program Options, then on the Assembler tab, uncheck the Use MPASM option. It then compiles OK.

    Charles advises that MPASMWIN 5.11 has a problem in its header file for the 16F688. This can be fixed by upgrading MPASMWIN.

    The link to the MPLAB download is:
    http://ww1.microchip.com/downloads/e...Doc/mp761a.zip

Similar Threads

  1. DS1820 with 16f688
    By jessey in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 23rd May 2009, 05:07
  2. 16f688 <-> Max232
    By PlantBob in forum Serial
    Replies: 1
    Last Post: - 25th March 2008, 14:57
  3. Help with 16f688
    By jessey in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 20th October 2006, 23:12
  4. Direct replacement for 16F688
    By Christopher4187 in forum General
    Replies: 10
    Last Post: - 7th September 2006, 01:20
  5. Problem with 16F688 and Hserout
    By DWV in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 19th March 2005, 05:37

Members who have read this thread : 1

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