Helpful ReplyHot!Target device ID valid but not good.

Page: 12 > Showing page 1 of 2
Author
ffb.boy.30
Junior Member
  • Total Posts : 98
  • Reward points : 0
  • Joined: 2016/08/31 00:59:51
  • Location: 0
  • Status: offline
2017/12/05 03:25:10 (permalink)
0

Target device ID valid but not good.

Hi,
I've 20 customs board to program and only 7 program correctly. On the other I've a message that tell me
Target device ID (0x51ff053) is a valid device ID but does not match the expected device ID (0x5127053) as selected. Would you like to continue?

I can program the chip but the program doesn't works correctly , the led works but not the TCP, it is really strange.
I've seen some post with the same problem , Is someone found a solution.
I'm a little hurry I've to send my board next week.
 
Thanks you
#1
mrpackethead
packet mangler
  • Total Posts : 857
  • Reward points : 0
  • Joined: 2007/04/01 23:33:39
  • Location: 0
  • Status: offline
Re: Target device ID valid but not good. 2017/12/05 03:34:21 (permalink)
0
That means your IC is not what you've selected
#2
ffb.boy.30
Junior Member
  • Total Posts : 98
  • Reward points : 0
  • Joined: 2016/08/31 00:59:51
  • Location: 0
  • Status: offline
Re: Target device ID valid but not good. 2017/12/05 04:10:41 (permalink)
0
The ID is quite the same FF instead of 27 and the ID 0x51ff053 doesn't exist.
The chip soldered is the good one , and 7 of my board program correctly.
I think the problem is more tricky.
 
#3
rodims
Super Member
  • Total Posts : 932
  • Reward points : 0
  • Joined: 2009/02/10 11:08:59
  • Location: 51.9627, 7.6262
  • Status: offline
Re: Target device ID valid but not good. 2017/12/05 04:43:11 (permalink)
0
At least you are not the first having the same problem:(same two  IDs)
http://www.microchip.com/forums/m1015960.aspx
 
#4
NKurzman
A Guy on the Net
  • Total Posts : 15134
  • Reward points : 0
  • Joined: 2008/01/16 19:33:48
  • Location: 0
  • Status: online
Re: Target device ID valid but not good. 2017/12/05 07:41:41 (permalink)
0
First what pic?
What is powering the board?
Is it stable?
Decoupling caps?
Vcap is installed if needed? And is the correct type?
All Vcc , Vdd connected?
No caps on Mclr, pgc, pgd?
#5
ffb.boy.30
Junior Member
  • Total Posts : 98
  • Reward points : 0
  • Joined: 2016/08/31 00:59:51
  • Location: 0
  • Status: offline
Re: Target device ID valid but not good. 2017/12/05 08:11:57 (permalink)
0
The pic is a 32MZ2048ECH144
The board is powered by a 24V laboratory Supply and behind I've some regulators to get the 3.3V.
All the Vdd have a 100nF and 10nF Cap for decoupling Avdd too.
On the MCLR I've a pull up resistor 4.7k.
I don't see anything different between the working board and the boards impossible to program.
 
 
 
 
 
#6
NKurzman
A Guy on the Net
  • Total Posts : 15134
  • Reward points : 0
  • Joined: 2008/01/16 19:33:48
  • Location: 0
  • Status: online
Re: Target device ID valid but not good. 2017/12/05 08:14:25 (permalink)
5 (1)
You are starting a project with EC chips??
#7
NorthGuy
Super Member
  • Total Posts : 4607
  • Reward points : 0
  • Joined: 2014/02/23 14:23:23
  • Location: Northern Canada
  • Status: online
Re: Target device ID valid but not good. 2017/12/05 08:27:36 (permalink)
0
Have you tried to read back the "bad" devices which you managed to program, but they don't work. Do they match the hex file being programmed?
 
#8
ffb.boy.30
Junior Member
  • Total Posts : 98
  • Reward points : 0
  • Joined: 2016/08/31 00:59:51
  • Location: 0
  • Status: offline
Re: Target device ID valid but not good. 2017/12/05 08:53:14 (permalink)
0
I can read something but for me it is not the same
The program is a UDP bootloader
On the original hex I've
:020000040000fa
:020000041fc01b
:04ffc000ffffff8eb2
:020000040000fa
:020000041fc01b
:04ffc4001ab1f9ff76
:020000040000fa
:020000041fc01b
:04ffc80039fc745f2d
:020000040000fa
:020000041fc01b
:04ffcc00d3ffffff61
:020000040000fa
:020000041fc01b
:04ffdc00ffffffff25
:020000040000fa
:020000041fc01b
:04fffc000000ffff03
:020000040000fa
:020000041fc01b
:100000000300001000000000f0f3060000000000f4...

 
But on the hex I read lot of ff at sartup and after
10100000C39F1A3C68CE5A27080040030000000026
:101010003C00828C4000A73011000424010003240E
:101020000B1887000200A4300800801088BF043C21
:101030000400C730080064340B1887000800C6306D
:10104000040064340B18860088BF043C002283AC83
:101050002000A630B6400324B24004240A188600BB
...

 
For me it is not the same.
A part of the prog works :  LED blinking at good frequency
but the UDP don't works ping don't works.
It is very strange.
 
#9
NorthGuy
Super Member
  • Total Posts : 4607
  • Reward points : 0
  • Joined: 2014/02/23 14:23:23
  • Location: Northern Canada
  • Status: online
Re: Target device ID valid but not good. 2017/12/05 09:42:51 (permalink)
0
ffb.boy.30
For me it is not the same.



These are different parts of the memory - HEX files are not necessarily ordered - cannot compare line by line. Can you somehow verify the programming? I think IPE has a Verify button.
 
If it verifies correctly, then something wrong with the PICs - power, capacitors etc., or perhaps PICs are damaged. If it doesn't verify, then this is a programming issue.
 
#10
NKurzman
A Guy on the Net
  • Total Posts : 15134
  • Reward points : 0
  • Joined: 2008/01/16 19:33:48
  • Location: 0
  • Status: online
Re: Target device ID valid but not good. 2017/12/05 10:49:06 (permalink)
0
To Get an Apples to Apple Comparison:
Import the Hex File in to IPE.  The Export it under a different Name.
It will them Match what you read from the PIC and export.
#11
Larry.Standage
Super Member
  • Total Posts : 768
  • Reward points : 0
  • Joined: 2011/12/30 09:50:47
  • Location: 0
  • Status: offline
Re: Target device ID valid but not good. 2017/12/05 11:12:37 (permalink)
0
How long ago did you obtain these parts? You might need to return them for new parts.
#12
ffb.boy.30
Junior Member
  • Total Posts : 98
  • Reward points : 0
  • Joined: 2016/08/31 00:59:51
  • Location: 0
  • Status: offline
Re: Target device ID valid but not good. 2017/12/05 12:32:04 (permalink)
0
The board have been soldered 2 weeks ago.
 
#13
ffb.boy.30
Junior Member
  • Total Posts : 98
  • Reward points : 0
  • Joined: 2016/08/31 00:59:51
  • Location: 0
  • Status: offline
Re: Target device ID valid but not good. 2017/12/07 07:40:45 (permalink)
0
Today I changed 3 PIC and now the board works properly.
Maybe the pic are buggy ? actually I use 2048ECH144 maybe I should change for 2048EFH144.
 
#14
Jim Nickerson
User 452 _
  • Total Posts : 4362
  • Reward points : 0
  • Joined: 2003/11/07 12:35:10
  • Location: San Diego, CA
  • Status: offline
Re: Target device ID valid but not good. 2017/12/07 08:01:37 (permalink)
0
interesting 

Attached Image(s)

#15
NKurzman
A Guy on the Net
  • Total Posts : 15134
  • Reward points : 0
  • Joined: 2008/01/16 19:33:48
  • Location: 0
  • Status: online
Re: Target device ID valid but not good. 2017/12/07 08:03:08 (permalink)
0
Did you read the reed the for the ECH chip?
Does everything you need work?
#16
ffb.boy.30
Junior Member
  • Total Posts : 98
  • Reward points : 0
  • Joined: 2016/08/31 00:59:51
  • Location: 0
  • Status: offline
Re: Target device ID valid but not good. 2017/12/07 08:52:13 (permalink)
0
What is the signification of reed ? (errata)
The board was designed long time ago, but it is the first time I made them.
For me the CH works fine : CAN / USART / USB / ETHERNET /SDCARD and some switch and led.
Is it possible to replace an ECH by an EFH at the same place only recompile the code.
#17
NKurzman
A Guy on the Net
  • Total Posts : 15134
  • Reward points : 0
  • Joined: 2008/01/16 19:33:48
  • Location: 0
  • Status: online
Re: Target device ID valid but not good. 2017/12/07 13:42:49 (permalink)
0
Sorry read the eratta for that PIC.
Other than the A/D section the chips are similar. The EFH has less hardware bugs. But if you are done coding and have no issues it is not manditory to update. And if you used Harmony, it maybe it if work to update.
#18
ffb.boy.30
Junior Member
  • Total Posts : 98
  • Reward points : 0
  • Joined: 2016/08/31 00:59:51
  • Location: 0
  • Status: offline
Re: Target device ID valid but not good. 2017/12/07 14:11:29 (permalink)
0
For me the ECH works, but for the next series I will try with EFM .
Tomorrow I will look for the equivalence between PIC32MZ2048ECH144 and PIC32MZ2048EFM144.
Thanks you
#19
NKurzman
A Guy on the Net
  • Total Posts : 15134
  • Reward points : 0
  • Joined: 2008/01/16 19:33:48
  • Location: 0
  • Status: online
Re: Target device ID valid but not good. 2017/12/07 16:36:18 (permalink) ☄ Helpfulby ffb.boy.30 2017/12/07 23:38:35
0
The PIC32MZ2048ECH144 would go to the PIC32MZ2048EFH144  not the EFM
#20
Page: 12 > Showing page 1 of 2
Jump to:
© 2017 APG vNext Commercial Version 4.5