element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
Pic Microcontrollers Forum Download hex to PIC32MZ
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Embedded and Microcontrollers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 14 replies
  • Answers 4 answers
  • Subscribers 195 subscribers
  • Views 3119 views
  • Users 0 members are here
  • pic controllers
  • pickit 3
  • pic32mz
  • microcontrollers.
  • icsp
  • pic32mx
  • pic32
Related

Download hex to PIC32MZ

brv64
brv64 over 7 years ago

Hello!

 

I've been using up to PIC18, but I'm new using PIC32. I thought that it would be the same process, but I'm having a hard time making it work.

I'm developing a board for my graduation proyect with this PIC32MZ2048ECH100

PIC32MZ EC Processor Plug-In Module (PIM) - MA320012 | Microchip Technology Inc.

The thing is that I can't seem to make it work with the programmer.

I'm Using the PICKIT3

Application Version: 3.10

Device File Version: 1.62.15

OS Frimwater Version: 2.00.05

 

When I try to manually select the PIC32MZ only PIC32MX family appears.

Do I need to download or update something else?

I have to implement an external circuit?

Are my connections correct?

Thanks in advance

Attachments:
imageScanned_20180407-1540.pdf
image
  • Sign in to reply
  • Cancel

Top Replies

  • brv64
    brv64 over 7 years ago in reply to genebren +2
    I also tried using a Pull-Up resistor on MCLR but didn't work :/
  • brv64
    brv64 over 7 years ago in reply to genebren +1
    Tried and no luck Apperently the software version for PICKIT3 only supports PIC32MX. It keeps telling me that's missing the proper VCAP. Pin that's not available on PIC32MZ. I tried with MPLAB IPE and…
  • genebren
    genebren over 7 years ago in reply to brv64 +1
    Brandon, I developed a PCB for one on my clients that uses the PIC32MZ2048EFG064 processor. I did not develop the firmware for this project, but I did load and run some simple diagnostic routines using…
Parents
  • 14rhb
    0 14rhb over 7 years ago

    Hi Brandon,

     

    I'm not familiar with that module or the PIC32 but I pulled up the datasheet and I think you may have the wrong pins connected?

     

    He's my thinking:

    Pin 1, taken when looking at the PIC component side, is the first anti-clockwise from the notched corner.

     

    The Pickit3 uses the following pins:

    1     MCLR (pull to Vdd with 4k7)

    2     Vdd

    3     Vss

    4     ICSPDAT

    5     ICSPCLK

    6     PGM (often not connected)

     

    I think from your photos you have:

    White/Orange          Pin_1               to ICSPDAT

    White/Green            Pin_2               to ICSPCLK

    Orange                    Pin_10             to VDD

    Brown                      Pin_11             to Vss

    Green                      Pin_13             to MCLR

     

    You need something like:

    White/Orange          Pin_25 or Pin_27               to ICSPDAT

    White/Green            Pin_24 or Pin_26               to ICSPCLK

    Orange                    Pin_14                               to VDD

    Brown                      Pin_13                               to Vss

    Green                      Pin_15                               to MCLR

     

    Please don't just copy the above without thinking it through - it's just my initial thought image. I'm also not sure why there are two ICSP ports nor how you select between them. I would also double-post your question into the Microchip Forum as, with no disrespect to Element14, they probably have a larger user base .

     

    Rod

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • brv64
    0 brv64 over 7 years ago in reply to 14rhb

    I thought that too!

    On the PIM diagram it's more like

    PIN_25     PGEC

    PIN_24     PGED

    PIN_16     VCC

    PIN_15     GND

    PIN_13     MCLR

     

    I used a 56K resistor (I had it around) to use it as a pull up but no luck. I'll get a 4K7.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • brv64
    0 brv64 over 7 years ago in reply to 14rhb

    I thought that too!

    On the PIM diagram it's more like

    PIN_25     PGEC

    PIN_24     PGED

    PIN_16     VCC

    PIN_15     GND

    PIN_13     MCLR

     

    I used a 56K resistor (I had it around) to use it as a pull up but no luck. I'll get a 4K7.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • 14rhb
    0 14rhb over 7 years ago in reply to brv64

    Brandon,

     

    OK - I wondered why the two diagrams were different but can see from your later photo that yours is the PIM module.

     

    I would side towards pins 26 & 27 as being the ICSPDAT and ICSPCLK pins (In Circuit Serial Programming Data + Clock). This is because nearly all other PIC I have used replicate RB6 and RB7 with the ICSP pins and Pin 26&27 on your device are also RB6 and RB7. Pin_26 is the CLK and Pin_27 is the DATA.

     

    I agree with your power supply choices and MCLR pin.

     

    56k is a bit high as Microchip recommend 4.7k-10k as in this diagram

     

    However looking at your subsequent posts I think your voltage may be wrong (5v from mainboard) - commented in separate post.

     

    Rod

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube