Installing PBP3.1 with MPLAB 8 AND MPLABX


Closed Thread
Results 1 to 35 of 35

Hybrid View

  1. #1
    Join Date
    May 2009
    Location
    Saint-Quentin-en-Yvelines, FRANCE
    Posts
    82


    Did you find this post helpful? Yes | No

    Default Re: Installing PBP3.1 with MPLAB 8 AND MPLABX

    Nice video but where does it come from ?

    It arrives when the battle is over but according to YouTube it was produced in March 2017.
    This material should have been referenced in MeLabs > Support > Videos. It would have saved hours and hours of hesitating work !

    MikeBZH

  2. #2
    Join Date
    May 2009
    Location
    Saint-Quentin-en-Yvelines, FRANCE
    Posts
    82


    Did you find this post helpful? Yes | No

    Default Re: Installing PBP3.1 with MPLAB 8 AND MPLABX

    First run with MPLAB X v4.05 + PicKit 2 + 18F2685 on my target (was perfectly working when devlopped under MPLAB 8 )

    I am able to program the target and run it normally, not connected to PicKit 2.
    I can launch the debug mode, halt and restart the program but each time I halt, MPLAB displays the message :

    "No source code lines were found at current PC 0x178. Open program memory view to see instruction code disassembly."

    My interpretation is that there is no way to follow the program execution at the PBP source level. Am I right ?
    Also, I did not find any way to set up breakpoints. Double-click on source line does not work.

    Again digging deeper and deeper !

    MikeBZH

  3. #3
    Join Date
    Aug 2011
    Posts
    453


    Did you find this post helpful? Yes | No

    Default Re: Installing PBP3.1 with MPLAB 8 AND MPLABX

    I've not had any luck getting debugging to work with MPLABX v4. It seems each new version of MPLABX gets worse and worse.
    I'm not sure what's different, but I've lost interest in finding out. They probably changed the .cof debugging format again.

    Your best bet is to stick with MPLAB8 if possible. Doesn't help much with newer chips, but it just seems microchip doesn't care much about getting 3rd party stuff working in the MPLABX ide. They keep changing things with no regard for what they're breaking.

  4. #4
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,115


    Did you find this post helpful? Yes | No

    Default Re: Installing PBP3.1 with MPLAB 8 AND MPLABX

    On the other hand, is it so hard to add to Microcode a debugger?

    Ioannis

  5. #5
    Join Date
    Aug 2011
    Posts
    453


    Did you find this post helpful? Yes | No

    Default Re: Installing PBP3.1 with MPLAB 8 AND MPLABX

    You mean like the serial port ICD debugging built into MCS or something to drive the ICSP debuggers (PK2/3/ICD3)?

    As far as I know microchip never formally made the ICSP debug protocol public... that's why you're forced into using MPLAB/X for hardware debugging.

  6. #6
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,115


    Did you find this post helpful? Yes | No

    Default Re: Installing PBP3.1 with MPLAB 8 AND MPLABX

    I meant simulation of the program. I understand that hardware debugger is more advance and needs resources.

    At least the simulator could be fixed in MPLABX. Or made in Microcode...

    Ioannis

  7. #7
    Join Date
    May 2009
    Location
    Saint-Quentin-en-Yvelines, FRANCE
    Posts
    82


    Did you find this post helpful? Yes | No

    Default Re: Installing PBP3.1 with MPLAB 8 AND MPLABX

    Simulation may not be enough.
    It my case with some real time audio signal processing functions I need an hardware debugger.

    All my tests were done with a PicKit 2. I have just tryied with a PicKit 3. No change.

    Sorry about that but I do not see any other solution than going to the C world I hate this language

    C'est la vie !

    MikeBZH

Similar Threads

  1. How to setup pbp3 with MPLABX?
    By thasatelliteguy in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 20th November 2017, 12:46
  2. Integrate PBP3 in MPLABX.
    By Ziko87 in forum PBP3
    Replies: 0
    Last Post: - 21st May 2013, 13:41
  3. Can't get ISIS/Proteus VSM to work with PBP3 and MPLABX
    By chicowoodhill in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 28th July 2012, 20:45
  4. PBP3 and MPLAB 8.83
    By grahamg in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 10th February 2012, 13:04
  5. Moving to PBP3 from 2.6 and MPLab
    By R.G.Keen in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 27th November 2011, 19:30

Members who have read this thread : 4

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