WRITE: One more PBP 2.60 Surprise ...


Closed Thread
Results 1 to 23 of 23

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    Yeah, I saw that one last month and reported it. It happens if ONLY WORD variables are used with WRITE. If you use a WRITE with a BYTE var anywhere in the program, the WRITE's with WORD vars will be ok. Or you could fix the problem in the .MAC file.

    Quote Originally Posted by DT's Bug Report

    The WRITE?W macro is missing the WRITE_USED = 1 line.
    If a WORD variable is used, it gives a [225] undefined symbol 'write' error.

    If any other write statements (without WORDs) are in the program, it's OK.
    Or adding DEFINE WRITE_USED 1 works too.

    Code:
    WRITE?W macro Win
            MOVE?WA Win
            L?CALL  WRITE
        endm
    WRITE_USED = 1    ; <------ Missing
      endmod
    HTH,
    DT
    They mentioned something about creating a list of problems on thier website since the fixes won't be available untill the next Patch.
    But I don't know when or if that will happen.
    DT

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor View Post
    Yeah, I saw that one last month and reported it. It happens if ONLY WORD variables are used with WRITE. If you use a WRITE with a BYTE var anywhere in the program, the WRITE's with WORD vars will be ok. Or you could fix the problem in the .MAC file.



    They mentioned something about creating a list of problems on thier website since the fixes won't be available untill the next Patch.
    But I don't know when or if that will happen.
    I fixed all the 2.6 issues by reinstalling 2.5
    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.

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Joe S. View Post
    I fixed all the 2.6 issues by reinstalling 2.5
    You should have a separate installation for every version that you own.

    MicroCode Studio recognizes the different versions and puts a Drop-Down box next to the "Compile" button.
    You can select which version you want to compile with.
    And when you want to play with 2.60 you can.

    The ArrayRead/ArrayWrite statements alone make 2.60 worth it.
    But there's so much more beyond that.

    My installations look something like this ...
    C:\PIC\
    C:\PIC\PBP245\
    C:\PIC\PBP246\
    C:\PIC\PBP247\
    C:\PIC\PBP250\
    C:\PIC\PBP250c\
    C:\PIC\PBP260b1\
    C:\PIC\PBP260\
    DT

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


    Did you find this post helpful? Yes | No

    Unhappy

    Quote Originally Posted by Darrel Taylor View Post

    The ArrayRead/ArrayWrite statements alone make 2.60 worth it.
    But there's so much more beyond that.
    Hi, Darrel

    I lost two full days with the 2.60 Upgrade ...

    Hunting bugs

    Updating ALL the MPLAB existing projects ( MCS + µChip programmers = NOT so good, yeah ! ).

    PLUS some program mods due to ... a "little" bigger code produced. ( I've noted ~ 1%, 12F series seem to suffer a maximum ... )

    many of my program just were fitting into Prog memory of the pics !!!


    Sooooo, considering ALL the new functions offered ...

    The one I prefer is the " Memory usage gauge " at last accecpting to work with PBP ...
    The second is, AT LAST, the ability to call PBPL from the MPLAB Project window.


    This " MPLAB compatibility release " ( What it was looked for, at first ...) , to me , REALLY is far too expensive ...

    Deceived ??? ... YES, for sure !!!

    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 " !!!
    *****************************************

  5. #5
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    Is there anyone compiling a list of known bugs in 2.60? Like Darrel, I find the improvements worthwhile, but my "base" code is so large and uses pretty much every possible instruction (sometimes in weird ways) that I can't easily do a full regression test.

    But a known bug list would help me figure out what to test first.
    Charles Linquist

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


    Did you find this post helpful? Yes | No

    Unhappy

    Hi, Charles

    +1 for the bugs list ...

    LOL ( Generally, the bug list is available with the next Upgrade ... eventually patch !!! )

    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
    Jan 2009
    Location
    Miami, Florida USA
    Posts
    699


    Did you find this post helpful? Yes | No

    Default

    Ioannis,

    The PBP 2.5 manual in pdf or html format can be downloaded for free from the website melabs.com. So, I thought they probably posted the new manual so people can take a look at the new goodies before buying it.

    All,
    Yes, mecanique or whoever writes PBP is probably working in their buglist before releasing a patch with all the fixes. In the meanwhile, to avoid new headaches I will continue using my "old" PBP 2.5.

    Robert

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor View Post
    You should have a separate installation for every version that you own.

    MicroCode Studio recognizes the different versions and puts a Drop-Down box next to the "Compile" button.
    You can select which version you want to compile with.
    And when you want to play with 2.60 you can.

    The ArrayRead/ArrayWrite statements alone make 2.60 worth it.
    But there's so much more beyond that.

    My installations look something like this ...
    C:\PIC\
    C:\PIC\PBP245\
    C:\PIC\PBP246\
    C:\PIC\PBP247\
    C:\PIC\PBP250\
    C:\PIC\PBP250c\
    C:\PIC\PBP260b1\
    C:\PIC\PBP260\
    I probably will do that, ArrayRead/ArrayWrite, was why I bought the upgrade, haven't figured out how to use the yet, the DO Loop sort of ticked me off, have to edit all my old programs, honestly i didn't know that separate installations could reside together.
    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. Replies: 14
    Last Post: - 19th January 2012, 19:38
  2. PBP 2.60 & ADCON1 problem
    By bitbangerbob in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 21st October 2009, 12:06
  3. Another PBP 2.60 Surprise ...
    By Acetronics2 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 25th August 2009, 15:08
  4. Need the code to write to a memory
    By Hamlet in forum General
    Replies: 0
    Last Post: - 20th August 2007, 00:22
  5. Changing declared variables names on the fly
    By jessey in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 16th December 2006, 06:34

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