Issue with Device ID error

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
User avatar
John_RSD
Posts: 20
Joined: Sun May 15, 2011 9:23 pm
Location: UK
Has thanked: 3 times
Been thanked: 2 times
Contact:

Issue with Device ID error

Post 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 ?
Many thanks

John

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Issue with Device ID error

Post 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.
Martin

User avatar
John_RSD
Posts: 20
Joined: Sun May 15, 2011 9:23 pm
Location: UK
Has thanked: 3 times
Been thanked: 2 times
Contact:

Re: Issue with Device ID error

Post by John_RSD »

Martin

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

John

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Issue with Device ID error

Post by medelec35 »

That's great.
At least you are sorted now.
Thanks for letting us know.
Martin

Post Reply