<?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 Reading CREG locks up LPC4357 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Reading-CREG-locks-up-LPC4357/m-p/863617#M34432</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using LPC4357 with Keil, and when I&amp;nbsp;view the contents of CREG (in either the memory viewer or the system viewer) the MCU locks up and I get the error "Could not halt Cortex-M device". It seems to be most sensitive to views in the&amp;nbsp;USB0FLADJ&amp;nbsp; and&amp;nbsp;USB1FLADJ regions, because I can view lower regions of CREG with the IDE only complaining about not being able to access some these memory locations. I can't tell if it's going off into the weeds, or actually locks up, but the LED's stop flashing for a Blinky example, and requires a power cycle to be able to connect to the LPC again.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are investigating the Keil side.&amp;nbsp; Is there&amp;nbsp;anything on the NXP side that would cause this behavior?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jan 2019 19:08:44 GMT</pubDate>
    <dc:creator>cameron_lafolle</dc:creator>
    <dc:date>2019-01-09T19:08:44Z</dc:date>
    <item>
      <title>Reading CREG locks up LPC4357</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Reading-CREG-locks-up-LPC4357/m-p/863617#M34432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using LPC4357 with Keil, and when I&amp;nbsp;view the contents of CREG (in either the memory viewer or the system viewer) the MCU locks up and I get the error "Could not halt Cortex-M device". It seems to be most sensitive to views in the&amp;nbsp;USB0FLADJ&amp;nbsp; and&amp;nbsp;USB1FLADJ regions, because I can view lower regions of CREG with the IDE only complaining about not being able to access some these memory locations. I can't tell if it's going off into the weeds, or actually locks up, but the LED's stop flashing for a Blinky example, and requires a power cycle to be able to connect to the LPC again.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are investigating the Keil side.&amp;nbsp; Is there&amp;nbsp;anything on the NXP side that would cause this behavior?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 19:08:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Reading-CREG-locks-up-LPC4357/m-p/863617#M34432</guid>
      <dc:creator>cameron_lafolle</dc:creator>
      <dc:date>2019-01-09T19:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Reading CREG locks up LPC4357</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Reading-CREG-locks-up-LPC4357/m-p/863618#M34433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The information in the LPC43xx User's Manual implies, that this issue is based on the chip specific implementation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Remark:&lt;/STRONG&gt; The FLADJ register must be read only after initializing the USB interface.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Reading this register before initialization of the USB causes the MCU to stall.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I would say that it is not an issue with KEIL µVision.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bernhard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2019 09:26:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Reading-CREG-locks-up-LPC4357/m-p/863618#M34433</guid>
      <dc:creator>bernhardfink</dc:creator>
      <dc:date>2019-01-10T09:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: Reading CREG locks up LPC4357</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Reading-CREG-locks-up-LPC4357/m-p/863619#M34434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Bernhard!&lt;/P&gt;&lt;P&gt;Any clue as to why Keil is unable to read CREG addresses below the FLADJ registers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Cameron P. LaFollette&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2019 16:23:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Reading-CREG-locks-up-LPC4357/m-p/863619#M34434</guid>
      <dc:creator>cameron_lafolle</dc:creator>
      <dc:date>2019-01-10T16:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Reading CREG locks up LPC4357</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Reading-CREG-locks-up-LPC4357/m-p/863620#M34435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cameron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's the means of "why Keil is unable to read CREG addresses below the FLADJ registers?"&lt;/P&gt;&lt;P&gt;I could read the CREG registers info from system view window:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/76680iA579EE8845D3EF15/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Mike&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2019 03:12:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Reading-CREG-locks-up-LPC4357/m-p/863620#M34435</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2019-01-11T03:12:59Z</dc:date>
    </item>
  </channel>
</rss>

