Page 1 of 1
Pic32 FC8 Failed to read device
Posted: Mon Dec 10, 2018 2:23 pm
by stefan.erni
Hi Ben
It's not a big bug ..... It's flashing the PIC correct
If I flash the first Time the PIC then it's shows my the device info...
Target device PIC32MZ2048ECG100 found.
Device ID Revision = A5
DEVSN0 = ec872e39
DEVSN1 = 01b45410
If I flash second Time the PIC, then it's shows my Failed to read device... but every thing is ok.
Target voltage detected
Target device PIC32MZ2048ECG100 found.
Device ID Revision = A5
Failed to read device
. . . . .
Re: Pic32 FC8 Failed to read device
Posted: Mon Jan 21, 2019 12:12 pm
by Benj
Hello,
It's hard to tell without your project file but are you code protecting the flash or configuration via your configuration settings.
Re: Pic32 FC8 Failed to read device
Posted: Fri Jun 28, 2019 5:32 pm
by stefan.erni
Hi Ben
No I don't code protecting the flash.
But now I tried to fix the problem and I connected the PICKkit3 and it's the same problem.
I tried with the the MPlab X IPE 5.2 to read the device with ICD4 or with PICKkit3.It's not possible. After erase it's possible again to read (but empty)
So I had an idea to create a new empty project with the parameter PIC32MZ2048efg100 from FC8
But it's same. One of the problem is I can not read the device config bit with the MPLAB XIDE 5.2 to solve the wrong config bit's.
The another is just it need longer to program the PIC.
Connecting to MPLAB PICkit 3...
Currently loaded firmware on PICkit 3
Firmware Suite Version.....01.56.00
Firmware type..............PIC32MZ
Target voltage detected
Target device PIC32MZ2048EFG100 found.
Device ID Revision = A3
Failed to read device
. . . . . . . . . .
Device Erased...
Programming...
The following memory area(s) will be programmed:
boot config memory
configuration memory
. . . . . . . . . .
Programming/Verify complete
PICKIT3 Program Report
28-Jun-2019, 18:22:47
Device Type:PIC32MZ2048EFG100
Program Succeeded.
Operation Succeeded
. . .FINISHED
- IDE.PNG
- (304.51 KiB) Downloaded 751 times