• 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.

dsPIC33EP512MU810 Error:PK3Err0040

Not open for further replies.


New Member
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 failed

even though it couldn't program, I did run it. Then I received an Error: PK3Err0040

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

Please help me to solve this problem.

Thank you.


Well-Known Member
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 ,
Not open for further replies.

Latest threads

EE World Online Articles