K33rg4t3
Full Member level 3
Hello all.
This is my first post here!
I am trying to program PIC18F45K50 with PICkit2.
I have sucessfully programmed several chips with this PICkit2, but the PIC18F45K50 turned out to be not supported.
So I've downloaded modified devices file from Microchip forums.
After that the chip was sucessfully recognized, but it always say that "All protect" is enabled (Code Protection).
Even after I erase the chip from PICkit2, it still says that "All protect" is ON.
I have tried with several different PIC18F45K50 and the problem is always the same.
Please note that I have already programmed PIC18F4550 (without 'K') and it worked fine.
My current hardware setup (I am trying to program PIC18F45K50 on breadboard) is also OK, because it works if I replace the PIC18F45K50 with PIC18F4550.
So I have no idea what's wrong. Can anyone help me? I didn't set any "code protect" bits.
I am attaching screenshots from PICkit2 software. It clearly shows that only first two bytes of PINGUINO hex files are properly written to PIC18F45K50. The rest is broken. Also, the verification fails after writing.
PS: I was able to program correctly multiple PICs with my PICkit, including 24F, and 30 families, so I have really no idea why I'm having such bugs with PIC18F45K50.
Here are the screenshots from PICkit2 IDE:
First is reading the brand-new MCU, second is writing, and third is reading it again.
And this is the devices file used:
View attachment PK2DeviceFile.zip
Please help, I really need to program this PIC18F45K50!
This is my first post here!
I am trying to program PIC18F45K50 with PICkit2.
I have sucessfully programmed several chips with this PICkit2, but the PIC18F45K50 turned out to be not supported.
So I've downloaded modified devices file from Microchip forums.
After that the chip was sucessfully recognized, but it always say that "All protect" is enabled (Code Protection).
Even after I erase the chip from PICkit2, it still says that "All protect" is ON.
I have tried with several different PIC18F45K50 and the problem is always the same.
Please note that I have already programmed PIC18F4550 (without 'K') and it worked fine.
My current hardware setup (I am trying to program PIC18F45K50 on breadboard) is also OK, because it works if I replace the PIC18F45K50 with PIC18F4550.
So I have no idea what's wrong. Can anyone help me? I didn't set any "code protect" bits.
I am attaching screenshots from PICkit2 software. It clearly shows that only first two bytes of PINGUINO hex files are properly written to PIC18F45K50. The rest is broken. Also, the verification fails after writing.
PS: I was able to program correctly multiple PICs with my PICkit, including 24F, and 30 families, so I have really no idea why I'm having such bugs with PIC18F45K50.
Here are the screenshots from PICkit2 IDE:
First is reading the brand-new MCU, second is writing, and third is reading it again.
And this is the devices file used:
View attachment PK2DeviceFile.zip
Please help, I really need to program this PIC18F45K50!