PBP2.46, MPLAB and PM assembler.


Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    Let's first eradicate corrupt files and path name incompatability...

    Have you sucessfully compiled a simple blink led program with PM?

    If yes, then it's something in your main program body... comment out the possible offending line and see if it compiles... time to start narrowing down what's causing the error.

  2. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Wink The long and winding road ....

    Hi, Mel

    All my programs refuse PM now ... they accepted it a while ago !!!

    I'll try a brand new simple project, as you suggest.

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  3. #3
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

  4. #4
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Unhappy

    THAT

    Led var Portb.1
    Led = 0
    loop:
    Pause 5
    Toggle led

    Goto loop

    END

    NOTE: PAUSE 5 for MPSim ... might be PAUSE 500

    Doesn't go either with PM ( MPlab sim runs OK ...) shame on me to have written that.

    For your Post ... Yesss, I did declare it for a time ... and it's Ok.

    May I cancel this stupid blinking led of shame ???

    Alain
    Last edited by Acetronics2; - 7th December 2005 at 18:36.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

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


    Did you find this post helpful? Yes | No

    Default

    Hi Alain,

    Doesn't help your problem, but I saw this line
    MPASM ... with the "putmulresult" macro ( THE reason to use PM ...)

    The "PutMulResult" macro works fine with MPASM too. No need for PM.
    <br>
    DT

  6. #6
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Question Works well ???

    Quote Originally Posted by Darrel Taylor
    Hi Alain,

    The "PutMulResult" macro works fine with MPASM too. No need for PM.
    <br>
    Hi, Darrel

    As you could have read some lines further ...

    Warning[207] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\ACETACHY.ASM 430 : Found label after column 1. (putmulresult)
    Error[108] C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\ACETACHY.ASM 430 : Illegal character (6)

    Do you call that working fine ???

    I don't even know if the code produced is correct ... but no Warning/Error with a 1k memory device like a 'C84 !!!

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  7. #7
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Talking Solution Found ...

    Hi,All

    I Apologize ...

    Was the PBP Path uncorrect ....( auto installing v 2.46 , and placing it NOT to the same location ... it's my great fault )
    Mel' ... you win some chilled Sauternes ( 1989 ... please )

    BUUUUT I discovered at the same time the memory gauge works fine with PM assembler !!!

    So,

    With PM : Mem gauge working, but poor program memory debug info ... ( no labels, no register names )
    With MPASM : no mem gauge and rich prog mem debug info, or manual mem gauge with lost debug info ...

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Acetronics
    Do you call that working fine ???
    Yes I do! However, it will work much better if you use the proper CASE.

    "PutMulResult"

Similar Threads

  1. Presetting Configuration Fuses (PIC Defines) into your Program
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 82
    Last Post: - 15th December 2013, 10:54
  2. MPLAB ICE 2000 emulator pod
    By Wayne in forum Adverts
    Replies: 0
    Last Post: - 1st April 2009, 01:25

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