Compiling using PBP mode causes funnies


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: Compiling using PBP mode causes funnies

    Hi,
    I'm glad you've been able to narrow it down a Little bit but as far as I'm concerned that's almost equally weird - as long as it's a hardcoded pause of course and not using a variable for the duration (which would still be weird but perhaps not as much). Are you running this on the same board (not two different but "equal" boards) with the same clock speed and everything, the only change you make is to switch compiler between PBPW and PBPL?

    Anyway, if you want further help you're going to have to come up with more details and/or show the offending code.

    /Henrik.

  2. #2
    Join Date
    Apr 2011
    Location
    Kent, UK
    Posts
    52


    Did you find this post helpful? Yes | No

    Default Re: Compiling using PBP mode causes funnies

    Hi Henrik,

    Yes identical hardware, it just looks like PBP runs faster than PBPL!

    Tim.

  3. #3
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: Compiling using PBP mode causes funnies

    Hi Tim,
    Identical but not the same board?
    I'm asking because I guess it is possible that one board isn't running at the correct speed....wrong x-tal populated for example.

    PBP wil run faster than PBPL since the math routines will be 16 bit instead of 32 bit (doesn't matter if you're actually using LONGs or not). So if you're relying on a specific routine taking x amount of time then you can see a difference (depending on what the routine in question is doing) but if your using PAUSE or PAUSEUS there shouldn't be any difference at all.

    /Henrik.

Similar Threads

  1. Replies: 2
    Last Post: - 19th June 2012, 21:24
  2. MikroBasic to PBP Pro: Boost mode SMPS
    By jmgelba in forum mel PIC BASIC Pro
    Replies: 28
    Last Post: - 25th November 2011, 02:27
  3. I need HELP with compiling!!!!!!
    By kenny_m in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 15th February 2008, 20:34
  4. Compiling problems
    By ngeronikolos in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 7th June 2005, 00:58
  5. Sleep Mode in PBP
    By Keith in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 4th March 2005, 20:58

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