Page 1 of 1

Unblocking a PIC32MX795F512L

Posted: 22 Jul 2023 09:46
by wvlegge@gmail.com
I have stuffed up my Mikromedia Plus Smart display:
1. Originally programmed with the bootloader in the Mikro IDE.
2. Got a PICKit4 and used it - and wiped out the bootloader code.
3. Went to reload the boot code using the PICkit4 but made a mistake and loaded it with the boot for a PIC32MX440 by mistake
And now I can not get either the boot code not the PICkit4 to talk to the PIC32MX795F512L!
Help.

Regards Bill Legge in Australia

Re: Unblocking a PIC32MX795F512L

Posted: 08 Aug 2023 12:11
by Tanja_Kovacevic
Hi,

I tried recreating your issue, by loading the boot Hex file for a P32MX460F512L into Mikromedia Plus with PIC32MX795F512L.
And I have used PICkit3, mikroProg, and Codegrip for unlocking the chip.
Unfortunately, I couldn't succeed.

It seems that the bootloader file for P32MX460F512L sets the code protection to Configuration Bits:

Capture.PNG
Capture.PNG (76.94 KiB) Viewed 470 times

You can make a more detailed search on the internet if is there any solution to unlock the code-protected PIC32MX chip.


Kind regards,
Tanja

Re: Unblocking a PIC32MX795F512L

Posted: 09 Aug 2023 01:20
by wvlegge@gmail.com
Thanks for the time you spent on this problem.
Looks as if the CODE PROTECT bit is the guilty party?
I presume it's used to protect unwanted access to the MCU and is, I suspect, good at doing its job.
I'll have a go at asking on the Microchip forum.

Regards Bill Legge in Australia