Some initial help for a first time PBP user


Closed Thread
Results 1 to 3 of 3
  1. #1
    jtburnham's Avatar
    jtburnham Guest

    Default Some initial help for a first time PBP user

    Hello all,

    After giving up trying to use a competitors product, I downloaded the demo PBP and have compiled the blinking LED demo program using the included MicroCode Studio IDE.

    I have a small JDM programmer and I'm using IC-PROG.

    Could someone tell me how to use the config directive in PBP to set the clock rate. I'm using a 20MHz crystal and it looks like the default clock is set for 8.

    Thanks.

    Jim

  2. #2
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Smile

    In code, the default is usually 4 MHz. If you need something different, place this line of code at the top of your PBP file (see online PBP manual)

    DEFINE OSC 20 ' Tells PBP that Oscillator is 20.000 MHz

    For the actual programmer, you usually have your choice of XT or HS (as well as a few others). Although you did not say what PIC you are using, you are almost certain to need HS for a 20MHz Xtal. (this information is in the PIC data sheet and not the PBP manual). Make sure your specific PIC is rated for at least 20 MHz

    Good Luck,

    Paul Borgmeier
    Salt Lake City, Utah
    USA

  3. #3
    jtburnham's Avatar
    jtburnham Guest


    Did you find this post helpful? Yes | No

    Default

    Thanks Paul. That fixed it.

Similar Threads

  1. 12F629 LDR - Light Dependant Resistor
    By Dennis in forum Schematics
    Replies: 15
    Last Post: - 18th February 2010, 22:33
  2. Serout2/serin2 Pbp Problem
    By SOMRU in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 11th December 2006, 19:55
  3. time for PBP statements
    By fnovau in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 25th October 2006, 19:42
  4. New PBP user
    By J. Mark Wolf in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 3rd November 2005, 07:06
  5. User Configuration Interface in PBP
    By Radiance in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 7th February 2004, 08:00

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