• AVR Freaks

Hot!PIC32MM USB Curiosity Development Board

Author
MJordan
Starting Member
  • Total Posts : 76
  • Reward points : 0
  • Joined: 2016/02/17 18:09:49
  • Location: 0
  • Status: offline
2020/11/30 11:57:41 (permalink)
0

PIC32MM USB Curiosity Development Board

Is it possible to use the PIC32MM USB Curiosity Development Board with the Debugger? I can program it, but if I try to use the debugger (FRC 8MHz, PGC1, PGD1) I get:
 
The following memory area(s) will be programmed:
program memory: start address = 0x1d000000, end address = 0x1d000fff
boot config memory
configuration memory
Programming/Verify complete
The target device is not ready for debugging. Please check your configuration bit settings and program the device before proceeding. The most common causes for this failure are oscillator and/or PGC/PGD settings.
#1

4 Replies Related Threads

    ric
    Super Member
    • Total Posts : 29435
    • Reward points : 0
    • Joined: 2003/11/07 12:41:26
    • Location: Australia, Melbourne
    • Status: online
    Re: PIC32MM USB Curiosity Development Board 2020/11/30 12:24:45 (permalink)
    5 (1)
    Quote: "The most common causes for this failure are oscillator and/or PGC/PGD settings."
     
    What are your CONFIG bit settings?
    (i.e. the exact lines in your source code, not a summary of what you think you have selected)
    If the wrong debug pins or oscillator mode are specified, debugging won't work.
     
    post edited by ric - 2020/11/30 15:38:23

    I also post at: PicForum
    Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
    NEW USERS: Posting images, links and code - workaround for restrictions.
    To get a useful answer, always state which PIC you are using!
    #2
    Jim Nickerson
    User 452
    • Total Posts : 6841
    • Reward points : 0
    • Joined: 2003/11/07 12:35:10
    • Location: San Diego, CA
    • Status: offline
    Re: PIC32MM USB Curiosity Development Board 2020/11/30 12:33:21 (permalink)
    5 (1)
    It Works for me with the demo file

    Attached Image(s)

    #3
    ric
    Super Member
    • Total Posts : 29435
    • Reward points : 0
    • Joined: 2003/11/07 12:41:26
    • Location: Australia, Melbourne
    • Status: online
    Re: PIC32MM USB Curiosity Development Board 2020/11/30 15:40:42 (permalink)
    5 (1)
    MJordan
    ...
    (FRC 8MHz, PGC1, PGD1)

    I think the PKOB is connected to PGC2 and PGD2 on that board.
     

    I also post at: PicForum
    Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
    NEW USERS: Posting images, links and code - workaround for restrictions.
    To get a useful answer, always state which PIC you are using!
    #4
    MJordan
    Starting Member
    • Total Posts : 76
    • Reward points : 0
    • Joined: 2016/02/17 18:09:49
    • Location: 0
    • Status: offline
    Re: PIC32MM USB Curiosity Development Board 2020/12/01 05:23:56 (permalink)
    0
    Thank you both for you replies! I was following the trace from USB2 to PGC1/PGD1... Of course I should have been following the traces from programming port USB1, which ultimately leads to PGC2/PGD2!
    #5
    Jump to:
    © 2021 APG vNext Commercial Version 4.5