<?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: USB and AHB for LPC4337 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-and-AHB-for-LPC4337/m-p/523580#M6216</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Tsuneo on Thu Dec 11 08:59:43 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Answered to your another post,&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%2Fforum%2Fahb-sram-or-loading-cause-cdcvcom-usb-stop-working-lpc4337" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/forum/ahb-sram-or-loading-cause-cdcvcom-usb-stop-working-lpc4337&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tsuneo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 16:45:21 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T16:45:21Z</dc:date>
    <item>
      <title>USB and AHB for LPC4337</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-and-AHB-for-LPC4337/m-p/523579#M6215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jpplus on Tue Dec 09 21:46:54 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I get a strange issue that USB cannot work when any code accessing of AHB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I get below code, the debug_printf function is basically print out msg via USB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;when I comment out the code of memcpy to avoid access AHB SRAM, then USB can print out hello world.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if I add that memcpy, then USB cannot print out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess there is some setting of AHB priority, but basically I need the higher priority of the memcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The hardware is 4337.&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;
&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; while(1) {
&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; void * dest=(void *)0x20000000; //an example of accessing AHB SRAM
memcpy(dest, (void *)buffer, sizeof(buffer)); //comment out this line, then USB works, if adding this line, USB does not print anything.
count++;
buffer[0]=count;
count = debug_printf("Hello world!!\n\r");


}&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:45:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-and-AHB-for-LPC4337/m-p/523579#M6215</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: USB and AHB for LPC4337</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-and-AHB-for-LPC4337/m-p/523580#M6216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Tsuneo on Thu Dec 11 08:59:43 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Answered to your another post,&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%2Fforum%2Fahb-sram-or-loading-cause-cdcvcom-usb-stop-working-lpc4337" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/forum/ahb-sram-or-loading-cause-cdcvcom-usb-stop-working-lpc4337&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tsuneo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:45:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-and-AHB-for-LPC4337/m-p/523580#M6216</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:45:21Z</dc:date>
    </item>
  </channel>
</rss>

