Page 1 of 1

Issue with Device ID error

Posted: Wed Mar 23, 2022 10:24 pm
by John_RSD
Hi

I seem this evening to have a device ID error when compiling to chip.

Jumping over to the MCs IPE I can connect, detect,read,erase,verify from with MC IPE but I get this error when trying to compile to chip within flowcode

Code: Select all

Target folder: C:\DOCUME~2\_PRJ\Examples\V6_COM~1
Source name:   C:\Documents\_PRJ\Examples\v6_Completed Systems\TestPWNSounder.fcfx
Title:         
Description:   
Device:        PIC.16F.16F877
Generated by:  Flowcode v8.2.2.15
Date:          Wednesday, March 23, 2022 21:19:01
Users:         1
Registered to: John_RSD
License key: 
https://www.matrixtsl.com
Compilation is up-to-date
Linking is up-to-date
Launching the programmer...
C:\Program Files\Microchip\MPLABX\v6.00\mplab_platform\mplab_ipe\ipecmd.exe  /P16F877 /F"C:\DOCUME~2\_PRJ\Examples\V6_COM~1\TestPWNSounder.hex" /TPPK3 /M /OL
.

DFP Version Used : PIC16Fxxx_DFP,1.3.42,Microchip
*****************************************************
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

[b]Connection Failed.[/b]
*****************************************************
Connecting to MPLAB PICkit 3...
Currently loaded firmware on PICkit 3
Firmware Suite Version.....01.56.09
Firmware type..............Midrange
. . . . . .

Target voltage detected
Target Device ID (0x2080) is an Invalid Device ID. Please check your connections to the Target Device.
Operation Failed

C:\Program Files\Microchip\MPLABX\v6.00\mplab_platform\mplab_ipe\ipecmd.exe reported error code 1

Autoclose turned off


FINISHED
This was working fine, the graphic display project I finsihed, same device, same board is fine, in fact the code was still loaded before I used IPE to erase the device, that now has the same error

Undr compiler Options > programmer options seem unchanged and all valid

Location

C:\Program Files\Microchip\MPLABX\v6.00\mplab_platform\mplab_ipe\ipecmd.exe

Parameters

/P$(chip) /F"$(outdir)$(target).hex" /TPPK3 /M /OL


Very odd behaviour

What is FC8 looking to do that is different to MC IPE ?

Re: Issue with Device ID error

Posted: Thu Mar 24, 2022 12:04 am
by medelec35
Hi.
I believe device ID 0x2080 belongs to PIC16F887.
Is that the microcontroller you are using since that's what's being detected?
The reason I ask is, it looks like you have selected PIC16F877 within Build, Project options.

Re: Issue with Device ID error

Posted: Fri Mar 25, 2022 5:06 pm
by John_RSD
Martin

I think I need my vision checked, spot on and thanks for spotting the error :-)

Re: Issue with Device ID error

Posted: Fri Mar 25, 2022 10:29 pm
by medelec35
That's great.
At least you are sorted now.
Thanks for letting us know.