PBP is driving me crazy trying to make an 18F chip blink


Results 1 to 6 of 6

Threaded View

  1. #4
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by George View Post
    OK, yeah I've been reading that thread over and over, I got rid of the osc=hs define in the code and that got rid of most of my errors thanks, So if you want to define something that's listed in the INC you have to REM it out in the INC file?

    My issue now is the errors listed are missing "=" in parameter...

    the inc file is written like this: CONFIG _CONFIG1H, _OSC_HS_1H

    do I change it to read? CONFIG OSC=HS

    If so, why? Why hasn't this been done for me? This was brought up three years ago in the post that you mention, I've bought the latest version of PBP and downloaded the latest MPASM (v5.2) This is my first time using MPASM and the 18F chip, so may not really know wot I'm doing - but surely it shouldn't be this hard

    Thanks for your input
    Hi George,
    My first try with an 18F actually 18F4550, I copied one of my other programs to try it out.
    Configs are pretty much assembly, PBP whisks right past and MPASM chokes on them, EDIT: Mackrackit has the skinny on the settings below, Found in P18f8722.inc file in MPASM Suite directory.
    Last edited by Archangel; - 20th June 2008 at 05:23.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

Similar Threads

  1. 18f series chip locked up
    By glkosec in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 11th August 2009, 07:27
  2. Newby- PBP wont compile for 18F (MPLAB)
    By jd76duke in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 17th December 2005, 23:30
  3. Make your own I2C Chip
    By NL2TTL in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 11th August 2005, 17:29
  4. Why use an 18F chip
    By AndyP in forum General
    Replies: 3
    Last Post: - 16th August 2004, 16:38

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