Issues:
- MikroProg brings up warning pop-up windows, usually saying it can't find the device (PIC18F87K22 MCU card) (See image below)
- MikroProg, when it does find the device, brings up "Code is protected" warning pop-up windows, asking if I wish to continue, which if I choose 'yes/ok' will finish with errors. (Sorry, no screenshot of that, but the 'Finished with Errors' image below is what I mean)
- If I try to program with my PCB (Printed Circuit Board) power supply, I get warnings about not being able to lower the programming voltage. (Sorry, no screenshots of that)
- If I try to program without my PCB power supply, and opt for MikroProg to power the MCU, the same "Device not found" or errors when finished programming, seem to appear. (See image below)
- It's a 50/50 thing, when I don't use the PCB power supply, and opt not to use mikroProg power the MCU, that the MCU will be programmed successfully. But most times it won't program successfully.
- Windows 10, 64-bit
- MikroBASIC PRO for PIC V.7.6.0
- mikroProg Suite for PIC V2.90
- mikroProg USB device hardware V.1.16.12.21
- I usually only use PIC18F87K22, or, PIC18F45K22, or, PIC18F46K22, MCU's
- Have followed the mikroProg guide for how the 2x5 pin header works, having used it successfully in the past on professionally made PCB's
- PCB is made professionally, with full board tests paid for, so no traces short-circuits or faults. Even me doing continuity tests confirm programming lines are correct.
- PCB power supplies will either operate as +5V, or +3V3
- Depending upon the PCB, and usually only if the programming works, I can program MikroStore bought MCU's, or SMD chip MCU's soldered onto the board without the PCB power supply (and the mikroProg powering the MCU option unchecked); So that says to me, the PCB and MCU is okay.
The board will be powered by +3V3.
I get there warnings each time I try to program the MCU.
It happens if the PCB is powered or unpowered, and if the mikroProg powers the MCU or not as well.
Can I get some ideas, help, advice, unpon why these warning pop-ups keep appearing please?
- First priority is for why the mikroProg can't find the device (in this case the MikroStore bought PIC18F87K22 MCU).
- Second priority is why the 'Code is protected' pop-up warning appears if the device seems to be found.
- Third priority is what are the different errors. I can not find then listed anywhere, so I have no lead as to what's gone wrong (thus, why I'm here asking for help).
^ "Device Unknown" Message pop-up window
^ "Finished with Errors" Message pop-up window
^ "MikroProg version, and hardware version
Thank you for any and all help.
Chris11jed