<?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>LPCXpresso IDEのトピックErrors while Debugging</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Errors-while-Debugging/m-p/596127#M31676</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by HalC on Tue Mar 27 02:48:26 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i am using LPCXpresso board with LPC1114 MCU and want to communicate via the SPI interface with an PN512 NFC reader chip. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The downloading and starting works fine. Also reading the version of the PN512 works. I go through the progam step-by-step and when I want to reset the RF-field with the NXP-library-function, i get the error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"16: Target error from status-poll&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Bad ACK returned from status - wire error."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; When I stop the debugging another error occured:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"15: Target error from Register access&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Cannot access core regs when target running."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone help me?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 23:00:32 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T23:00:32Z</dc:date>
    <item>
      <title>Errors while Debugging</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Errors-while-Debugging/m-p/596127#M31676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by HalC on Tue Mar 27 02:48:26 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i am using LPCXpresso board with LPC1114 MCU and want to communicate via the SPI interface with an PN512 NFC reader chip. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The downloading and starting works fine. Also reading the version of the PN512 works. I go through the progam step-by-step and when I want to reset the RF-field with the NXP-library-function, i get the error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"16: Target error from status-poll&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Bad ACK returned from status - wire error."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; When I stop the debugging another error occured:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"15: Target error from Register access&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Cannot access core regs when target running."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone help me?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:00:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Errors-while-Debugging/m-p/596127#M31676</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Errors while Debugging</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Errors-while-Debugging/m-p/596128#M31677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Tue Mar 27 22:59:52 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Sounds like you are resetting the core. Which functions are you using? Please provide a code listing around the point of the failures.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:00:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Errors-while-Debugging/m-p/596128#M31677</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: Errors while Debugging</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Errors-while-Debugging/m-p/596129#M31678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by NXP_Europe on Wed Mar 28 08:30:56 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: HalC&lt;/STRONG&gt;&lt;BR /&gt;Hello,&lt;BR /&gt;i am using LPCXpresso board with LPC1114 MCU and want to communicate via the SPI interface with an PN512 NFC reader chip. &lt;BR /&gt; &lt;BR /&gt;The downloading and starting works fine. Also reading the version of the PN512 works. I go through the progam step-by-step and when I want to reset the RF-field with the NXP-library-function, i get the error:&lt;BR /&gt; &lt;BR /&gt;"16: Target error from status-poll&lt;BR /&gt;&amp;nbsp; Bad ACK returned from status - wire error."&lt;BR /&gt;.&lt;BR /&gt;&amp;nbsp; When I stop the debugging another error occured:&lt;BR /&gt; &lt;BR /&gt;"15: Target error from Register access&lt;BR /&gt;&amp;nbsp; Cannot access core regs when target running."&lt;BR /&gt; &lt;BR /&gt;Can someone help me?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you attach your code so that we can help on this problem?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:00:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Errors-while-Debugging/m-p/596129#M31678</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: Errors while Debugging</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Errors-while-Debugging/m-p/596130#M31679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by HalC on Mon Apr 02 00:49:17 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I stepped through the code while debugging. I use the library-function phhalHw_FieldReset to initialize the RF-Field. The reset function calls the function phhalHw_Rc523_FieldOff which should turn off the field, but in my case it turns on. Here is the field off function:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;phStatus_t phhalHw_Rc523_FieldOff(
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; phhalHw_Rc523_DataParams_t * pDataParams
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )
{
&amp;nbsp;&amp;nbsp;&amp;nbsp; phStatus_t&amp;nbsp; PH_MEMLOC_REM statusTmp;
&amp;nbsp;&amp;nbsp;&amp;nbsp; uint8_t&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PH_MEMLOC_REM bTxControlReg;

&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Retrieve the content of the TxControl register */
&amp;nbsp;&amp;nbsp;&amp;nbsp; PH_CHECK_SUCCESS_FCT(statusTmp, phhalHw_ReadRegister(pDataParams, PHHAL_HW_RC523_REG_TXCONTROL, &amp;amp;bTxControlReg));

&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Switch off the field */
&amp;nbsp;&amp;nbsp;&amp;nbsp; bTxControlReg &amp;amp;= (uint8_t)~(uint8_t)(PHHAL_HW_RC523_BIT_TX1RFEN | PHHAL_HW_RC523_BIT_TX2RFEN);
&amp;nbsp;&amp;nbsp;&amp;nbsp; PH_CHECK_SUCCESS_FCT(statusTmp, phhalHw_WriteRegister(pDataParams, PHHAL_HW_RC523_REG_TXCONTROL, bTxControlReg));

&amp;nbsp;&amp;nbsp;&amp;nbsp; return PH_ADD_COMPCODE(PH_ERR_SUCCESS, PH_COMP_HAL);
}&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;SPAN&gt;The bTxControlReg-value is here 0x80 which is the reset code of the TxControlReg. By stepping over the write-register function the RF-field turns on. I think this isn't right because it is the RF_FieldOff function.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:00:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Errors-while-Debugging/m-p/596130#M31679</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:00:34Z</dc:date>
    </item>
  </channel>
</rss>

