<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: LPC-Link2 : Unable to parse register descriptor: not matched:AP_ID = 0x04770021 in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-Link2-Unable-to-parse-register-descriptor-not-matched-AP-ID/m-p/543584#M8315</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Trimpim on Tue Oct 28 01:11:09 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Debug mmessages&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
LPCXpresso RedlinkMulti Driver v7.4 (Sep 11 2014 00:18:29 - crt_emu_cm_redlink build 154)
============= SCRIPT: LPC12XXConnect.scp =============
LPC12XX Connect Script
DpID = 0BB11477
AP_ID = 0x04770021
============= END SCRIPT =============================
Emu(0): Conn&amp;amp;Reset. DpID: 0BB11477. CpuID: 410CC200. Info: (null)
Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
Loaded LPC11_12_13_128K_8K.cfx: LPC11_12_13 (128K Flash, min 8K RAM) Sep 15 2014 17:39:41&amp;nbsp; On-chip Flash Memory
Connected: was_reset=true. was_stopped=true
v LPCXpresso Free License - Download limit is 256K
Writing 9456 bytes to address 0x00000000 in Flash
Erased/Wrote page&amp;nbsp; 0-2 with 9456 bytes in 1843msec
Flash Write Done
Flash Program Summary: 9456 bytes in 1.84 seconds (5.01 KB/sec)
============= SCRIPT: LPC12XXReset.scp =============
LPC12XX Reset Script
AP_ID = 0x04770021
============= END SCRIPT ===========================

Stopped: Breakpoint #1
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;environment variables&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\Pirmin\AppData\Roaming
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=WS-PIRMIN
ComSpec=C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Users\Pirmin
LOCALAPPDATA=C:\Users\Pirmin\AppData\Local
LOGONSERVER=\\WS-PIRMIN
NUMBER_OF_PROCESSORS=8
OS=Windows_NT
Path=C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShe
ll\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\PROGRA~1\CONDUS~1\DISKEE~1\;C:\Program Files (x86)\QuickTime
\QTSystem\
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 62 Stepping 4, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=3e04
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\Pirmin\AppData\Local\Temp
TMP=C:\Users\Pirmin\AppData\Local\Temp
USERDOMAIN=WS-Pirmin
USERNAME=Pirmin
USERPROFILE=C:\Users\Pirmin
VBOX_MSI_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\
windir=C:\Windows
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I deleted all my launch configurations for one of the projects and started the debug session from the Quickstart Panel. This displayed a box where I could select the debug probe. The error messages were displayed again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This morning when I first started debugging went well. But after about 4 short sessions the problem reapeared. Closing and restarting LPCXpresso did not resolve the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards, Pirmin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 00:31:14 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T00:31:14Z</dc:date>
    <item>
      <title>LPC-Link2 : Unable to parse register descriptor: not matched:AP_ID = 0x04770021</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-Link2-Unable-to-parse-register-descriptor-not-matched-AP-ID/m-p/543582#M8313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Trimpim on Mon Oct 27 00:42:51 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use LPCExpresso 7.4 on Windows 7(64Bit) and a LPC-Link2 debug probe.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Often I get the two error boxes with the error message &lt;/SPAN&gt;&lt;STRONG&gt;Unable to parse register descriptor: not matched:AP_ID = 0x04770021&lt;/STRONG&gt;&lt;SPAN&gt; right after startup. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I still can debug, but on every breakpoint I get the two error boxes again. Except the error message debugging works (but is seems to be much more slow). Sometimes there are no error messages and debugging works just fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Details in first error box&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
Unable to parse register descriptor: not matched:AP_ID = 0x04770021
&amp;nbsp; at com.crt.debugcommon.stub.StubRegister.parseRegisterDescriptor(StubRegister.java:1003)
&amp;nbsp; at com.crt.debugcommon.stub.StubRegister.&amp;lt;init&amp;gt;(StubRegister.java:673)
&amp;nbsp; at com.crt.debugcommon.stub.StubRegister.parse(StubRegister.java:384)
&amp;nbsp; at com.crt.dsfdebug.dsf.commands.info.StubRegisterDisplayCoreRegInfo.getResult(StubRegisterDisplayCoreRegInfo.java:91)
&amp;nbsp; at com.crt.dsfdebug.register.mi.CRTMIRegisters$3.handleSuccess(CRTMIRegisters.java:1047)
&amp;nbsp; at org.eclipse.cdt.dsf.concurrent.RequestMonitor.handleCompleted(RequestMonitor.java:376)
&amp;nbsp; at org.eclipse.cdt.dsf.concurrent.RequestMonitor$2.run(RequestMonitor.java:303)
&amp;nbsp; at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
&amp;nbsp; at java.util.concurrent.FutureTask.run(Unknown Source)
&amp;nbsp; at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
&amp;nbsp; at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
&amp;nbsp; at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
&amp;nbsp; at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
&amp;nbsp; at java.lang.Thread.run(Unknown Source)
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Details in second error box&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
Unable to parse register descriptor: not matched:AP_ID = 0x04770021
&amp;nbsp; Nt: Flash Write Done
&amp;nbsp; Nt: Flash Program Summary: 9456 bytes in 1.85 seconds (5.00 KB/sec)
&amp;nbsp; Wc: ============= SCRIPT: LPC12XXReset.scp =============
&amp;nbsp; Os: LPC12XX Reset Script
&amp;nbsp; AP_ID = 0x04770021
&amp;nbsp; Wc: ============= END SCRIPT ===========================
&amp;nbsp; Nt:
&amp;nbsp; [Core Registers]
&amp;nbsp; {r0}R0=0x00000000
&amp;nbsp; {r1}R1=0x00040020
&amp;nbsp; {r2}R2=0x00000002
&amp;nbsp; {r3}R3=0xFFF80000
&amp;nbsp; {r4}R4=0x40048000
&amp;nbsp; {r5}R5=0x40048000
&amp;nbsp; {r6}R6=0x12345678
&amp;nbsp; {r7}R7=0x000000E4
&amp;nbsp; {r8}R8=0x20070402
&amp;nbsp; {r9}R9=0x00410182
&amp;nbsp; {r10}R10=0x00B18500
&amp;nbsp; {r11}R11=0x80048400
&amp;nbsp; {r12}R12=0x0000C186
&amp;nbsp; {sp}SP=0x10002000
&amp;nbsp; {lr}LR=0x1FFF0ADD
&amp;nbsp; {pc}PC=0x000000FC
&amp;nbsp; {cpsr}PSR=0x21000000
&amp;nbsp; !Flags=0x21000000:nzCvq
&amp;nbsp; !EPSR=0x21000000:none
&amp;nbsp; !IPSR=0x21000000:0&amp;nbsp; (Base)
&amp;nbsp; !PSP=0x10000248
&amp;nbsp; !CONTROL=0x0:Privileged/MSP (Now)
&amp;nbsp; [+IntMask]
&amp;nbsp; BasePri=0x00
&amp;nbsp; PriMask=disabled
&amp;nbsp; FaultMask=disabled
&amp;nbsp; []
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On the LPC-Link2 I have installed the &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CMSIS-DAP LPC-Link2 debugger image&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The target MCU is a LPC1227 on two different target boards (Olimex P1227 and my own).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pirmin &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:31:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-Link2-Unable-to-parse-register-descriptor-not-matched-AP-ID/m-p/543582#M8313</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: LPC-Link2 : Unable to parse register descriptor: not matched:AP_ID = 0x04770021</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-Link2-Unable-to-parse-register-descriptor-not-matched-AP-ID/m-p/543583#M8314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Mon Oct 27 01:41:55 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;To try to reproduce your problem, I have just tried debugging an IAR LPC1227 board, and do not see any such error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you make *any* changes to you Launch Configuration, or to the connect/reset scripts?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please post the output of your Debug Log&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Flpcxpresso%2Fdebug-log" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/debug-log&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It may also help if you post your environment variables (type "set" into a command prompt and select and the output)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;Having done that, please try deleting your Launch Configuration and starting another Debug session from the Quickstart panel. (See &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Flpcxpresso%2Flaunch-configuration-menu" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/launch-configuration-menu&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:31:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-Link2-Unable-to-parse-register-descriptor-not-matched-AP-ID/m-p/543583#M8314</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: LPC-Link2 : Unable to parse register descriptor: not matched:AP_ID = 0x04770021</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-Link2-Unable-to-parse-register-descriptor-not-matched-AP-ID/m-p/543584#M8315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Trimpim on Tue Oct 28 01:11:09 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Debug mmessages&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
LPCXpresso RedlinkMulti Driver v7.4 (Sep 11 2014 00:18:29 - crt_emu_cm_redlink build 154)
============= SCRIPT: LPC12XXConnect.scp =============
LPC12XX Connect Script
DpID = 0BB11477
AP_ID = 0x04770021
============= END SCRIPT =============================
Emu(0): Conn&amp;amp;Reset. DpID: 0BB11477. CpuID: 410CC200. Info: (null)
Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
Loaded LPC11_12_13_128K_8K.cfx: LPC11_12_13 (128K Flash, min 8K RAM) Sep 15 2014 17:39:41&amp;nbsp; On-chip Flash Memory
Connected: was_reset=true. was_stopped=true
v LPCXpresso Free License - Download limit is 256K
Writing 9456 bytes to address 0x00000000 in Flash
Erased/Wrote page&amp;nbsp; 0-2 with 9456 bytes in 1843msec
Flash Write Done
Flash Program Summary: 9456 bytes in 1.84 seconds (5.01 KB/sec)
============= SCRIPT: LPC12XXReset.scp =============
LPC12XX Reset Script
AP_ID = 0x04770021
============= END SCRIPT ===========================

Stopped: Breakpoint #1
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;environment variables&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\Pirmin\AppData\Roaming
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=WS-PIRMIN
ComSpec=C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Users\Pirmin
LOCALAPPDATA=C:\Users\Pirmin\AppData\Local
LOGONSERVER=\\WS-PIRMIN
NUMBER_OF_PROCESSORS=8
OS=Windows_NT
Path=C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShe
ll\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\PROGRA~1\CONDUS~1\DISKEE~1\;C:\Program Files (x86)\QuickTime
\QTSystem\
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 62 Stepping 4, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=3e04
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\Pirmin\AppData\Local\Temp
TMP=C:\Users\Pirmin\AppData\Local\Temp
USERDOMAIN=WS-Pirmin
USERNAME=Pirmin
USERPROFILE=C:\Users\Pirmin
VBOX_MSI_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\
windir=C:\Windows
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I deleted all my launch configurations for one of the projects and started the debug session from the Quickstart Panel. This displayed a box where I could select the debug probe. The error messages were displayed again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This morning when I first started debugging went well. But after about 4 short sessions the problem reapeared. Closing and restarting LPCXpresso did not resolve the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards, Pirmin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:31:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-Link2-Unable-to-parse-register-descriptor-not-matched-AP-ID/m-p/543584#M8315</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:31:14Z</dc:date>
    </item>
  </channel>
</rss>

