PBP and win7


Closed Thread
Results 1 to 6 of 6

Thread: PBP and win7

  1. #1
    Join Date
    Jun 2005
    Location
    Up the bush, Western Plains, NSW Au
    Posts
    216

    Default PBP and win7

    Is there a simple explanation on getting 2.60 working properly under win7 64 bit?
    I'm having a devil of a time.
    I am using MPASM, but keep on getting all sorts of errors, even with the LCD defines straight out of the 2.60 manual.
    Very infuriating.
    As always,
    Thanks in advance.
    Last edited by muddy0409; - 25th July 2011 at 13:33. Reason: spelling.
    Peter Moritz.
    Up the bush, Western Plains,
    New South Wales,
    Australia.

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default Re: PBP and win7

    The simple explanation is that PBP works fine with Windows-7.

    We would need to know what errors you are getting to give the full explanation.
    DT

  3. #3
    Join Date
    Jun 2005
    Location
    Up the bush, Western Plains, NSW Au
    Posts
    216


    Did you find this post helpful? Yes | No

    Default Re: PBP and win7

    G'day Daryl.
    Had another play around with this damn thing and this is what's going on:

    The LCD stuff, straight out of 2.60 manual, with Trisb and Trisc set above the LCD part.
    A small LCD OUT couple of line after the LCDOUT stuff. as below:


    trisb = %00000000
    trisc = %00000000



    Define LCD_DREG PORTc ' Port for LCD Data
    Define LCD_DBIT 0 ' Use upper 4 bits of Port
    Define LCD_RSREG PORTb ' Port for RegisterSelect (RS) bit
    Define LCD_RSBIT 0 ' Port Pin for RS bit
    Define LCD_EREG PORTb ' Port for Enable (E) bit
    Define LCD_EBIT 1 ' Port Pin for E bit
    ;DEFINE LCD_RWREG PORTb (commented out as not using RW)
    ;DEFINE LCD_RWBIT 1 ( ditto )
    Define LCD_BITS 4 ' Using 4-bit bus
    Define LCD_LINES 2 ' Using 2 line Display
    Define LCD_COMMANDUS 2000 ' Command Delay (uS)
    Define LCD_DATAUS 50 ' Data Delay (uS)


    pause 1000
    lcdout $fe,1,"Off Hook "


    Hit F9, seems that MPASM starts and the black window opens
    goes straight back to the MCS window with the following in the bottom half of the screen. (These will NOT copy and paste into this answer, or anything else for that matter.

    There are 11 errors:

    Error[113] c:\pbp\pbppic14.lib 2934:Symbol not previously defined(PORTb)
    Error[113] c:\pbp\pbppic14.lib 2935:Symbol not previously defined(PORTb)
    Error[113] c:\pbp\pbppic14.lib 2939:Symbol not previously defined(PORTb)
    Error[113] c:\pbp\pbppic14.lib 2940:Symbol not previously defined(PORTb)
    Error[113] c:\pbp\pbppic14.lib 2950:Symbol not previously defined(PORTc)
    Error[113] c:\pbp\pbppic14.lib 3018:Symbol not previously defined(PORTb)
    Error[113] c:\pbp\pbppic14.lib 3036:Symbol not previously defined(PORTb)
    Error[113] c:\pbp\pbppic14.lib 3060:Symbol not previously defined(PORTb)
    Error[113] c:\pbp\pbppic14.lib 3067:Symbol not previously defined(PORTc)
    Error[113] c:\pbp\pbppic14.lib 3075:Symbol not previously defined(PORTc)
    Error[113] c:\pbp\pbppic14.lib 3076:Symbol not previously defined(PORTb)

    (these have been manually typed as will not copy & paste)

    Using 16F886 for one of those Chipino Pic Arduino things.
    It's enough to make you wanna start using Great Cow Compiler (almost)

    All of this stuff was installed last week from a 2.60 update disk.

    Have just changed to 16F88 with same result.
    Also have had trouble with @DEVICE settings as well, but one thing at a time. I noticed that 2.60 simply will not accept @DEVICE lines.

    So it does seem to me that MPASM is starting up OK , just not doing anything?

    Regards,
    Peter Moritz

    PS I bet it is something simple that I am doing wrong (as always)
    Last edited by muddy0409; - 25th July 2011 at 18:40.
    Peter Moritz.
    Up the bush, Western Plains,
    New South Wales,
    Australia.

  4. #4
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default Re: PBP and win7

    MPASM is case sensitive.

    PORTb should be PORTB
    DT

  5. #5
    Join Date
    Jun 2005
    Location
    Up the bush, Western Plains, NSW Au
    Posts
    216


    Did you find this post helpful? Yes | No

    Default Re: PBP and win7

    Quote Originally Posted by Darrel Taylor View Post
    MPASM is case sensitive.

    PORTb should be PORTB

    Sh1t, you're bloody kidding me....

    Oh..No you're not..
    That's it!!

    Thanks SO much, I can paste some of my hair back now!
    Peter Moritz.
    Up the bush, Western Plains,
    New South Wales,
    Australia.

  6. #6
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default Re: PBP and win7

    Quote Originally Posted by muddy0409 View Post
    Thanks SO much, I can paste some of my hair back now!
    Hairs?

    Already heard of... but never been able to find some

    ---======---
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

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