Memory View


Closed Thread
Results 1 to 6 of 6

Thread: Memory View

Hybrid View

  1. #1
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: Memory View

    Thanks,
    I started a silly trick of putting rubbish code at the bottom of the page that is never called,
    so I know when program memory is low.

    It was probably only asm projects that can display program memory in MPLAB.
    PBP wouldn't know what the program memory map looks like before it compiles it.
    For an asm project, it would probably be a simple process for MPLAB to figure it
    out on the fly.

    Quote Originally Posted by Acetronics2 View Post
    Hi, Art

    you can use the mikroprog suite from Mikroelektronika .... possible to open the program window and the EEPROM window and see content and location ...

    I think it will be the best "standalone" and up to date application ...

    Alain

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


    Did you find this post helpful? Yes | No

    Default Re: Memory View

    Quote Originally Posted by Art View Post
    PBP wouldn't know what the program memory map looks like before it compiles it.
    Obvious ... PBP Basic to ASM ( then HEX ) "translation" depends on what you have programmed ( syntax, options ... )

    so, totally impossible to get memory usage before compilation as you did with interpreted Basics ( like Parallax chips that memorize basic program and translate it to HEX at runtime )

    Just "try and trim" method available here ...
    Alain

  3. #3
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: Memory View

    I think it might be asm projects I'm mistaken it with (but it might have only showed eeprom maps).

    For the asm project, the compiler shouldn't need to be much more than a lookup table for op codes,
    and the thing to translate the Human friendly names of labels,variables, and registers to real locations.

    The actual count at compile time, I'm not getting though.
    It's like you need a script to look at how long the string of empty data is at the end of the hex file.
    Last edited by Art; - 19th October 2013 at 01:15.

  4. #4
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: Memory View

    It Microchip C30 that lets you see a disassembly at any time.
    Don't know how they do it.
    Also, there's a program and data memory meter.
    It only works if the project is C30 though. Thos options are gone if you
    open a PBP (or RISC for that matter) project.

Similar Threads

  1. Replies: 11
    Last Post: - 17th August 2010, 16:45
  2. Memory use - how much do you use?
    By keymuu in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 10th June 2009, 22:39
  3. Replies: 4
    Last Post: - 2nd March 2007, 06:12
  4. Use internal program memory like DATA memory
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 30th December 2006, 18:38
  5. Need to view the Registers
    By groston in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 9th December 2006, 17:42

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