How to debug with MPLAB and PicKit3 with PicBasic Pro 3 - debugging


Closed Thread
Results 1 to 8 of 8

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default Re: How to debug with MPLAB and PicKit3 with PicBasic Pro 3 - debugging

    Do you have the Debug Header for the 16F690?
    http://www.microchipdirect.com/Produ...words=AC162061

    You can't debug a 16F690 the same way as many of the other parts with built-in hardware debuggers.
    DT

  2. #2
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default Re: How to debug with MPLAB and PicKit3 with PicBasic Pro 3 - debugging

    Quote Originally Posted by Darrel Taylor View Post
    Know your PICs,...Not the other way around
    Can't I do both?

    My project uses multiple PICs (12-13 if fully populated), most of which will be 12F1840 & 16F1825 or their enfeebled PicAxe variants 08M2 & 14M2. All will be socketed PDIP chips.

    The PICs will have the ds30 loader preprogrammed and the PicAxes will have the PicAxe interpreter/loader. Rather than try to make it possible to download to each in situ (too complicated for my ancient grey cells), I am designing a small PCB with a DIP-14 socket that can be used to download programs and, since I doubt this will generate sufficient volume to justify having Microchip burn the ds30 loader into the PICs at purchase, it will also allow doing this with a PICkit 3 programmer.

    I'm confused about two things (actually, I confused about many things but let's take them one-by-one). Fig 2.6 of the PICkit 3 User’s Guide shows a resistor between Vdd & Vpp but gives no value. And Fig 28.1 of both PIC datasheets shows a regulator added to the Vpp line from the MPLAB ICD 2, Does this also apply to the PICkit 3? If not, what value resistor, if any, is needed between Vdd & Vpp?

    I will not be doing any debugging but it seems related to this thread.

  3. #3
    Join Date
    Apr 2012
    Posts
    4


    Did you find this post helpful? Yes | No

    Default Re: How to debug with MPLAB and PicKit3 with PicBasic Pro 3 - debugging

    in mplab help under pickit3 or icd3 there is a schematic showing the resistor is somewhere between 4k7 and 10k.

    The resistor pulls up the Vpp (/MCLR) to Vdd when noting is connected.. during programming the pickit3 or icd3 will driver Vpp low at some stage to put the part in to reset and eventually drive to Vpp programming voltage.



    regards
    Joe

  4. #4
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default Re: How to debug with MPLAB and PicKit3 with PicBasic Pro 3 - debugging

    Quote Originally Posted by Joeygo View Post
    in mplab help under pickit3 or icd3 there is a schematic showing the resistor is somewhere between 4k7 and 10k.
    Thanks, Joe.

  5. #5
    Join Date
    Apr 2012
    Posts
    4


    Did you find this post helpful? Yes | No

    Default Re: How to debug with MPLAB and PicKit3 with PicBasic Pro 3 - debugging

    Quote Originally Posted by Darrel Taylor View Post
    Do you have the Debug Header for the 16F690?
    http://www.microchipdirect.com/Produ...words=AC162061

    You can't debug a 16F690 the same way as many of the other parts with built-in hardware debuggers.
    .

    No I don't have a 16F690 debug head... there wasn't any mention of it product information page

    OK looks like we need we need AC162961 for debugging.


    Another Question
    If I have a part with internal debug hardware - can i use PBP3 +MPLAB+PicKit3 to debug this part?


    Regards
    Joe

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


    Did you find this post helpful? Yes | No

    Default Re: How to debug with MPLAB and PicKit3 with PicBasic Pro 3 - debugging

    Quote Originally Posted by Joeygo View Post
    .

    Another Question
    If I have a part with internal debug hardware - can i use PBP3 +MPLAB+PicKit3 to debug this part?

    Regards
    Joe
    Hi, Joe

    I think you HAVE to use the special debug head AC162061 ( wich is a higher range processor that simulates the 690 ... no more ! ) the 690 itself is unable of debugging !
    The LPC just is a " test board " to learn programming ... without any debugging abilities.

    you also could use MPSIM and manually input the ADC result ...

    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
    Apr 2012
    Posts
    4


    Did you find this post helpful? Yes | No

    Default Re: How to debug with MPLAB and PicKit3 with PicBasic Pro 3 - debugging

    Quote Originally Posted by Darrel Taylor View Post
    Do you have the Debug Header for the 16F690?
    http://www.microchipdirect.com/Produ...words=AC162061

    You can't debug a 16F690 the same way as many of the other parts with built-in hardware debuggers.
    I'm using the the low pin count board.
    http://ww1.microchip.com/downloads/e...e%2051556a.pdf

    regards
    Joe

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