Can't get ISIS/Proteus VSM to work with PBP3 and MPLABX


Closed Thread
Results 1 to 15 of 15

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default Re: Can't get ISIS/Proteus VSM to work with PBP3 and MPLABX

    I downloaded MPLAB-X 1.3 this afternoon, and had another go at Proteus.
    It seems to be working better than 1.2 did.
    It's still a bit flakey, but I was able to get a simulation running.

    In your .dsn, try setting the Program File in the properties for the PIC chip to the .cof file.
    The .cof file is in ... your MPLAB-X project \dist\default\debug
    Then save the .dsn

    Press the debug button in MPLAB-X.
    Let me know if that runs.
    I don't know if that's what got it to run or not because there were so many things I tried.
    That's the last thing I remember changing.
    DT

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: Can't get ISIS/Proteus VSM to work with PBP3 and MPLABX

    Quote Originally Posted by Darrel Taylor View Post
    Let me know if that runs.
    I don't know if that's what got it to run or not because there were so many things I tried.
    That's the last thing I remember changing.
    Nope, didn't work. Proteus starts up, loads the correct design file, then times out trying to connect to it.

    The strange thing is that I have several projects (non-PBP) that work fine with MPLABX and Proteus, but several that don't. I haven't yet figured out what the difference is between the projects that work and those that don't. Like you, I keep trying different things. I think that at some point we'll find what is preventing MPLABX from communicating with Proteus. I'm surprised such info hasn't yet appeared online.

    But I'm glad to hear you got a PBP project to work with MPLABX and Proteus, so that would indicate it's not a PBP issue...although perhaps there's a PBP-Proteus driver that needs updating. If I make progress, I'll post here. I think MPLABX has enough feature updates that it'll be worth getting fully operational.

  3. #3


    Did you find this post helpful? Yes | No

    Default Re: Can't get ISIS/Proteus VSM to work with PBP3 and MPLABX

    Quick update:

    I was able to get a different PBP project to work correctly with PBP3, MPLABX and Proteus. But I still have some projects (both PBP3 and C) that refuse to connect to Proteus after MPLABX brings it up. So there's got to be something different in the settings or configuration in Proteus or MPABX between the working and non-working projects. I'll keep hammering at it.....

  4. #4


    Did you find this post helpful? Yes | No

    Default Re: Can't get ISIS/Proteus VSM to work with PBP3 and MPLABX

    Quote Originally Posted by Darrel Taylor View Post

    In your .dsn, try setting the Program File in the properties for the PIC chip to the .cof file.
    The .cof file is in ... your MPLAB-X project \dist\default\debug
    Then save the .dsn
    That didn't work for me. In fact, I got it to work by blanking out the file property of the processor in the .dsn file. It seems that MPLABX instructs Proteus which file to use when simulating. But I haven't yet found out why some projects work while others don't...

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


    Did you find this post helpful? Yes | No

    Default Re: Can't get ISIS/Proteus VSM to work with PBP3 and MPLABX

    I got 3 new projects to work today.
    After creating the project, setting all required options and seeing that it either would not compile or would not simulate ... in all three cases closing MPLAB-X and reopening fixed the problem and each project then compiled and simulated.

    Fortunately, I can now un-install MPLAB-X.
    DT

  6. #6


    Did you find this post helpful? Yes | No

    Default Re: Can't get ISIS/Proteus VSM to work with PBP3 and MPLABX

    Quote Originally Posted by Darrel Taylor View Post
    I got 3 new projects to work today.
    After creating the project, setting all required options and seeing that it either would not compile or would not simulate ... in all three cases closing MPLAB-X and reopening fixed the problem and each project then compiled and simulated.

    Fortunately, I can now un-install MPLAB-X.
    Yeah, what a relief!

    I don't think it's ready for prime time yet, either. Maybe it never will be. Too bad, because NetBeans has some nice features. But it's definitely a struggle to work with at this point. And it's been out for a while now.

    I have a number of projects that just won't function with Proteus yet. So the challenge is to see how much I can take before the frustration makes me do the uninstall too. We'll see.

  7. #7


    Did you find this post helpful? Yes | No

    Default Re: Can't get ISIS/Proteus VSM to work with PBP3 and MPLABX

    Darrell, I'm sorry you've uninstalled MPLABX because I'm still struggling with it and have nowhere else to turn!

    I know I should give up but I'm stubborn.

    Anyway, I found that one of my projects with a 16F886 just wouldn't connect and simulate in Proteus. But it WILL connect and simulate if I change the chip to a 16F876A (of course, to do so I change the chip in Proteus, the MPLABX project settings, and the necessary minor code changes in the PBP source file). Both versions of the project work fine in MPLAB 8.x, but in MPLABX I just won't get the 886 project to connect to Proteus and simulate. Interestingly, if I load the resultant .hex file directly into the Proteus processor properties, it simulates from within Proteus, so PBP is correctly compiling...but MPLABX can't connect to or control Proteus.

    Now why would the processor change have that effect?

  8. #8
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: Can't get ISIS/Proteus VSM to work with PBP3 and MPLABX

    I am curious.

    If the project works using MPLAB 8.x, why are you messing with MPLABX ?
    Dave
    Always wear safety glasses while programming.

  9. #9


    Did you find this post helpful? Yes | No

    Default Re: Can't get ISIS/Proteus VSM to work with PBP3 and MPLABX

    Quote Originally Posted by mackrackit View Post
    If the project works using MPLAB 8.x, why are you messing with MPLABX ?
    Good question. I'm starting to wonder. There are a lot of features in MPLABX that, after using it for a while, show MPLAB's age. The MPLABX editor is much better, version management is better, project handling (renaming, copying, moving, archiving) is better, workspaces are gone (yay!) in favor of projects, you can have multiple projects open at once (even using different compilers), etc. Plus Microchip won't be maintaining MPLAB any more.

    But MPLABX is still pretty ragged. For all its promise, it's not ready for prime time yet. So to answer your question, I guess I'm trying to take it as far as I can to see if it's usable for me. I'm trying to get past issues such as the one in this post and then decide. Plus, if someone doesn't bring up these issues for examination, they might not be addressed by the MPLABX development team. The sooner the problem can be demonstrated in a repeatable manner, with as many clues as possible, the more likely the next version of MPLABX will have addressed them (that's assuming this particular issue is the fault of MPLABX, not Proteus or PBP).

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