Using MPLAB SIM


Closed Thread
Results 1 to 5 of 5

Thread: Using MPLAB SIM

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

    Default Using MPLAB SIM

    Does anyone have any experience using MPLAB SIM on the output from PBP? Could you please give a very short explanation about how to go about using it?
    Charles Linquist

  2. #2
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Hi Charles,

    I use MPLAB/MPSIM all the time with PBP. In your PBP installation directory
    there's a text file mplab.txt that explains how to setup & use PBP with MPSIM.

    If you have specific questions let me know.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

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


    Did you find this post helpful? Yes | No

    Default

    OK. I got everything loaded. I did a compile from within MPLAB. So far, so good. I clicked on the "source files" tab, and my .BAS program appeared in the window. In the Project Tree on the left there were no "Other files".

    I brought up the "Special Function Registers" and the "Program Memory" with the appropriate tabs. One line in the Program Memory window had a green arrow by it.

    I pressed the RUN button, and I got a moving bar on the bottom left that stated that something was "Running".

    But nothing moved. No pointers moved, no registers updated. Nothing.

    What am I doing wrong?
    Charles Linquist

  4. #4
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    If you want to watch things happen, use the Animate button.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

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


    Did you find this post helpful? Yes | No

    Default

    That works ! Thanks !
    Charles Linquist

Similar Threads

  1. MPLAB SIM timing vs Real life
    By Bronurstomp in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 17th July 2008, 16:32
  2. MPLab SIM question
    By presario1425 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 3rd December 2007, 21:22
  3. Linker/COFF debugging in MPLAB SIM
    By RichardBowser in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 14th January 2007, 18:28
  4. Tracing code in MPLAB Sim
    By ErnieM in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 8th August 2005, 16:00
  5. pause loop lockup with mplab sim
    By power67 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 12th February 2005, 13:10

Members who have read this thread : 1

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