Unblocking a PIC32MX795F512L

General discussion on mikroC PRO for PIC32.
Post Reply
Author
Message
wvlegge@gmail.com
Posts: 4
Joined: 22 Jul 2023 09:37

Unblocking a PIC32MX795F512L

#1 Post by wvlegge@gmail.com » 22 Jul 2023 09:46

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

User avatar
Tanja_Kovacevic
mikroElektronika team
Posts: 98
Joined: 09 Aug 2021 11:39

Re: Unblocking a PIC32MX795F512L

#2 Post by Tanja_Kovacevic » 08 Aug 2023 12:11

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 397 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

wvlegge@gmail.com
Posts: 4
Joined: 22 Jul 2023 09:37

Re: Unblocking a PIC32MX795F512L

#3 Post by wvlegge@gmail.com » 09 Aug 2023 01:20

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

Post Reply

Return to “mikroC PRO for PIC32 General”