1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

dsPIC33EP512MU810 Error:PK3Err0040

Discussion in 'Microcontrollers' started by Nantha, Jun 6, 2017.

  1. Nantha

    Nantha New Member

    Joined:
    Jun 6, 2017
    Messages:
    1
    Likes:
    0
    I am using dsPIC33E USB started kit and downloaded the "dsPIC33E Starter Kit CDC USB Device Demo" from "https://www.microchip.com/DevelopmentTools/ProductDetails.aspx?PartNO=dm330012".

    I did run the demo code with my pic33 micro-controller, but when I wanted to run the program again I receive this error which I don't know how to solve.

    It also couldn't program, received an error
    "
    Programming...
    Programming failed
    "

    even though it couldn't program, I did run it. Then I received an Error: PK3Err0040
    upload_2017-6-6_11-38-8.jpeg

    I am not that good with PIC micro-controller configuration.

    Please help me to solve this problem.

    Thank you.
     
  2. granddad

    granddad Active Member

    Joined:
    Jan 18, 2015
    Messages:
    749
    Likes:
    75
    Location:
    Worcestershire UK
    Hi Nantha This usually means the config for the PGED and PGEC (PGEx) are set to the wrong ports there can be 3 try all 3 ,
     

Share This Page