• AVR Freaks

Hot!PIC32MM0256GPM064 - Making the darn chip talk!

Author
acharnley
Super Member
  • Total Posts : 573
  • Reward points : 0
  • Joined: 2016/05/01 06:51:28
  • Location: 0
  • Status: offline
2019/12/08 13:22:39 (permalink)
0

PIC32MM0256GPM064 - Making the darn chip talk!

I'm having a frustrating week. After finding out Microchip ballsed up the footprint for the 064 I had a prototype fab'd again and I'm now trying to make it talk. I thought I'd become good at this by now but alas not. So, have I missed anything?

The setup is a Pickit 4 plugged directly into a 5 pin 2.54mm header on the PCB. I've verified the lines are connected and by multimeter I can see 3.3v, mlcc, dat, clk and gnd are connected to the PIC (ok it's the outside of the PIC but gives some indication). The board has the chip reflowed perfectly (pat myself on the back), I'm 99% sure of it. To be 99%*99% sure I assembled another PCB.

There's nothing on the PCB other than Vcap (10uF) and the 0.1uF decoupling caps as mentioned in the datasheet, plus a 10k MLCC pull up.

Because I'm all pin'd up I had no choice but to use PGC3X and I configured that in MCC. My understanding is when MLCC is held low the PIC will listen for the debug pattern on all channels to begin with (I can't see how it would know which to listen to).

I run MPLABX debug and the PK4 finds the 3.3v, but the device enumeration does not occur so CLK/DAT are not communicating. Given I have two boards doing the same I believe it's unlikely both PIC's are fried (they are brand new samples from Microchip Direct).

Let me know if there's anything I've missed?

Andrew

Attached Image(s)

#1

6 Replies Related Threads

    oldhickory
    New Member
    • Total Posts : 10
    • Reward points : 0
    • Joined: 2017/05/14 12:59:29
    • Location: 0
    • Status: offline
    Re: PIC32MM0256GPM064 - Making the darn chip talk! 2019/12/08 14:18:43 (permalink)
    0
    Just to be thorough...Do you have the pull-up on MCLR installed?  Can you see the current being pulled from the un-programmed board with your power supply?
     
    solder job looks pretty good to me!
     
    EDIT: Oops missed the 10k pullup you mentioned, apologies!
    post edited by oldhickory - 2019/12/08 14:20:39
    #2
    acharnley
    Super Member
    • Total Posts : 573
    • Reward points : 0
    • Joined: 2016/05/01 06:51:28
    • Location: 0
    • Status: offline
    Re: PIC32MM0256GPM064 - Making the darn chip talk! 2019/12/08 16:26:50 (permalink)
    0
    Yup, pull up installed. Unsure at this point what else it can be. I've also a Snap with a 3.3v LDO I retrofitted and its doing the same. Maybe all the chips are kaput but it seems very unlikely.



    #3
    NorthGuy
    Super Member
    • Total Posts : 6219
    • Reward points : 0
    • Joined: 2014/02/23 14:23:23
    • Location: Northern Canada
    • Status: offline
    Re: PIC32MM0256GPM064 - Making the darn chip talk! 2019/12/08 18:35:11 (permalink)
    0
    acharnley
    Maybe all the chips are kaput but it seems very unlikely.



    Very unlikely, unless you tried to program them with a PIC16 program :)
     
    It might be practically anything which prevents PIC from running, or some sort of silly mistake.
     
    Make sure the ICSP connector is in correct order: MCLR, VDD, VSS, PGD, PGC, NC
     
    Make sure nothing is connected and nothing shorts any of these pins.
     
    Make sure you have selected the correct chip in your project
     
    Use scope probes direcly on the PIC pins to see what happens when you try programing. You should see MCLR going low, and PGD and PGC pins producing signals.
    #4
    acharnley
    Super Member
    • Total Posts : 573
    • Reward points : 0
    • Joined: 2016/05/01 06:51:28
    • Location: 0
    • Status: offline
    Re: PIC32MM0256GPM064 - Making the darn chip talk! 2019/12/09 02:08:52 (permalink)
    0
    It's always a silly mistake. :)


    Attached Image(s)

    #5
    ric
    Super Member
    • Total Posts : 27966
    • Reward points : 0
    • Joined: 2003/11/07 12:41:26
    • Location: Australia, Melbourne
    • Status: online
    Re: PIC32MM0256GPM064 - Making the darn chip talk! 2019/12/09 02:17:25 (permalink)
    0
    So NorthGuy was on the money, and it was a detail not shown in the first post...
     

    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!
    #6
    acharnley
    Super Member
    • Total Posts : 573
    • Reward points : 0
    • Joined: 2016/05/01 06:51:28
    • Location: 0
    • Status: offline
    Re: PIC32MM0256GPM064 - Making the darn chip talk! 2019/12/09 16:12:40 (permalink)
    0
    He was indeed. I hadn't screenshot'd it as in my mind I couldn't make such a mistake. One should not proof read their own work eh!
    #7
    Jump to:
    © 2020 APG vNext Commercial Version 4.5