LPC1313/01 error (Invalid, mismatched or unknown part)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC1313/01 error (Invalid, mismatched or unknown part)

940 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by vasanth on Tue Sep 06 07:34:54 MST 2011
Hi,
[LEFT]    I am checking the newer [COLOR=blue]LPC1313FBD48/01 [/COLOR]samples which i received yesterday. The problem is that the debugger cannot connect to the micro.

I am using LPCXpresso 4.0.6 and CMSISv2. I see no example project code  for this newer lpc1313FBD48/01 part in NxP website. Hence i compiled the  systick example for lpc1300 present in the example projects in lpcxpresso. I changed the part number of the  project to match this one. While debugging it shows the following.
[/LEFT]

LPCXpresso Debug Driver v4.0 (Jul 22 2011 23:32:27)
Looked for chip XML file in C:/nxp/LPCXpresso_4.0.6_152/lpcxpresso/bin/LPC1313/01.xml
Looked for vendor directory XML file in C:/nxp/LPCXpresso_4.0.6_152/lpcxpresso/bin/nxp_directory.xml
Found generic directory XML file in C:/nxp/LPCXpresso_4.0.6_152/lpcxpresso/bin/crt_directory.xml
Emu(0): Conn&Reset. DpID: 2BA01477. Info: T1S6RGRIA
SWD Frequency: 3000 KHz. RTCK: False. Vector catch: False.
Packet delay: 0  Poll delay: 0.
Invalid LPC1313/01 Part ID: 0x1830102B
Known LPC1313/01 ID(s): 0xFFFFFFFF
03: Failed on chip setup: Ec(01). Invalid, mismatched, or unknown part
I tried ISP. I tried Vector catch. Debugger somehow doesn't recognize the chip. I created a new project with this newer part.  Debugger still can't connect. I verified the device ID from user manual. It shows
[COLOR=blue]0x1830 102B = LPC1313FBD48/01[/COLOR].

The hardware board i am using is designed for LPC1313FBD48. Now i have changed another board, soldered another chip, but same result.
What is the problem here? device ID or lpcxpresso or startupcode?
I am stuck at this. Please help...:o
0 Kudos
9 Replies

918 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Tue Nov 01 19:42:09 MST 2011
Is there a way I can reset the on-board device ID?
No, of course not

If you are reading an absurd Part ID, reading is failing :eek:

Are you trying to connect a LPCXpresso1769?
0 Kudos

918 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Roman.Dunduk on Tue Nov 01 19:29:05 MST 2011

Quote: CodeRedSupport
The attached zip file should allow you to connect to your LPC1313/01 part.

Please extract the xme file from the zip and place it into...

[FONT=Courier New][SIZE=2]C:\nxp\LPCXpresso_4.0.6_152\lpcxpresso\bin[/SIZE][/FONT]

[Change the above to match your install directory. I also suggest taking a backup of the[FONT=Courier New][SIZE=2] bin[/SIZE][/FONT] directory first.]

Let us know if this solves the problem for you.

Regards,
CodeRedSupport.



I have an error with opposite results - my default ID is intact but the part id is 0xFFFFFFFF
Is there a way I can reset the on-board device ID?

Here is what I got in the debug log:

LPCXpresso Debug Driver v4.0 (Sep 21 2011 20:05:40)
Looked for chip XML file in C:/nxp/LPCXpresso_4.1.0_190/lpcxpresso/bin/LPC1769.xml
Looked for vendor directory XML file in C:/nxp/LPCXpresso_4.1.0_190/lpcxpresso/bin/nxp_directory.xml
Found generic directory XML file in C:/nxp/LPCXpresso_4.1.0_190/lpcxpresso/bin/crt_directory.xml
Emu(0): Conn&Reset. DpID: 2BA01477. Info: T1S6RGRIA
SWD Frequency: 3000 KHz. RTCK: False. Vector catch: False.
Packet delay: 0  Poll delay: 0.
Invalid LPC1769 Part ID: 0xFFFFFFFF
Known LPC1769 ID(s): 0x26113F37
03: Failed on chip setup: Ec(01). Invalid, mismatched, or unknown part

Never mind - have found another solution
Thank you
0 Kudos

918 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by vasanth on Wed Sep 07 05:20:06 MST 2011
Done. The fix has worked...:D. Now the systick blinky program for LPC1313/01 toggles the LED on board.
The debugger, breakpoints and everything works fine. Hope all other examples would work too.

Thanks CodeRedSupport for your excellent and quick support.... :). Thanks Zero for your suggestions....:).
0 Kudos

918 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Wed Sep 07 02:37:03 MST 2011
The attached zip file should allow you to connect to your LPC1313/01 part.

Please extract the xme file from the zip and place it into...

[FONT=Courier New][SIZE=2]C:\nxp\LPCXpresso_4.0.6_152\lpcxpresso\bin[/SIZE][/FONT]

[Change the above to match your install directory. I also suggest taking a backup of the[FONT=Courier New][SIZE=2] bin[/SIZE][/FONT] directory first.]

Let us know if this solves the problem for you.

Regards,
CodeRedSupport.
0 Kudos

918 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Tue Sep 06 14:23:51 MST 2011
The LPCXpresso Part ID lookup appears to be failing for an as yet unknown reason. We'll investigate.

Regards,

CodeRedSupport
0 Kudos

918 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by vasanth on Tue Sep 06 12:20:29 MST 2011
I tried to program an LPC1313 with LPC1313/01 mcu setting, as like you, the same lpcxpresso now outputs correct error message.

Invalid LPC1313/01 Part ID: 0x2C40102B
Known LPC1313/01 ID(s): 0x1830102B

Any how i reinstalled LPCXpressov4.0.6...rechecked.....Uninstalled and installed earlier v4.0.5....but the problem persists.

Now i tried the opposite way. I tried to program an LPC1313/01 with LPC1313 setting. The error message once again is correct.

Invalid LPC1313 Part ID: 0x1830102B
Known LPC1313 ID(s): 0x2C40102B

But when i try to program LPC1313/01 with the correct mcu setting, the [COLOR=red]

Invalid LPC1313/01 Part ID: 0x1830102B
Known LPC1313/01 ID(s): 0xFFFFFFFF
[/COLOR]
problem reappears..:confused:. This is indeed strange. I will re-check my board connections and pin status again.
What can i do....:(? This is a catastrophic success...:rolleyes:
0 Kudos

918 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Tue Sep 06 10:32:37 MST 2011
Of course the known ID should be 0x1830102B :)

Trying to program a LPC1114 with LPC1313 MCU setting shows me a correct error message:

Invalid LPC1313/01 Part ID: 0x2540102B
Known LPC1313/01 ID(s): 0x1830102B

So LPCXpresso should know this ID :eek:

Can you use another LPCXpresso or reinstall it?
0 Kudos

918 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by vasanth on Tue Sep 06 09:03:56 MST 2011
Yes. I can confirm the Reset and Power lines are normal.
SWD and SWCLK shows activity while debugger tries to connect.

For the purpose of programming and debugging, atleast, i believe there is nothing wrong with a common board for both LPC1313 and LPC1313/01 as long as the pin diagram for both of them are exactly same. In fact i have used an LPC1114 earlier on a similar board since it is pin and peripheral compatible with an LPC1313.
Tell me if i am wrong here.

I am suspicious about the Known device ID value from the debug log that shows 0xFFFFFFFF. Is that a correct one? Because what it shows as invalid ID is actually the correct one for LPC1313/01.
0 Kudos

918 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Tue Sep 06 08:01:42 MST 2011

Quote: vasanth
The hardware board i am using is designed for LPC1313FBD48.

:confused:

Did you check / scope SWD / Reset / Power connections ?
0 Kudos