<?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>LPC MicrocontrollersのトピックLPC1756 USB Communication works only during programming every time in VECTRESET mode</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1756-USB-Communication-works-only-during-programming-every/m-p/517971#M2438</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by sathyan on Wed Apr 23 03:27:23 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 have brought LPC1756 Chips and made a custom board for it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to program the chip using the LPC1768 sample codes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am able to get the output for basic GPIO, UART Programs. But, when i tried communicating with USB Mass Storage, I am getting a weird problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After flashing the code using CoFlash tool configured in VECTRESET, i am able to send and recieve data through the usb of LPC1756. but when i reset the chip, i am unable to communicate with the USB! the program halts at Write Done Back Head Interrupt! But still on every reset i am able to get the outputs from UART and other GPIO but not from the USB!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then i tried configuring the CoFlash tool in VECTRESET and clicked on blank check, then i am able to send and recieve data through USB!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But i cannot do this every time for a standalone device.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help me why am i not able to communicate through USB when the configuration is in SYSRESETREQ/HWRESET?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why am i getting output only once for every program/blank check while the configuration is in VECTRESET?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why does the reset button works only for the UART/GPIO and not the USB?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems like the memory map is simillar to both LPC1756 and LPC1768 for the UART and USB. Where am i making mistake?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;please help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sathyan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:30:10 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:30:10Z</dc:date>
    <item>
      <title>LPC1756 USB Communication works only during programming every time in VECTRESET mode</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1756-USB-Communication-works-only-during-programming-every/m-p/517971#M2438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by sathyan on Wed Apr 23 03:27:23 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 have brought LPC1756 Chips and made a custom board for it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to program the chip using the LPC1768 sample codes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am able to get the output for basic GPIO, UART Programs. But, when i tried communicating with USB Mass Storage, I am getting a weird problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After flashing the code using CoFlash tool configured in VECTRESET, i am able to send and recieve data through the usb of LPC1756. but when i reset the chip, i am unable to communicate with the USB! the program halts at Write Done Back Head Interrupt! But still on every reset i am able to get the outputs from UART and other GPIO but not from the USB!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then i tried configuring the CoFlash tool in VECTRESET and clicked on blank check, then i am able to send and recieve data through USB!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But i cannot do this every time for a standalone device.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help me why am i not able to communicate through USB when the configuration is in SYSRESETREQ/HWRESET?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why am i getting output only once for every program/blank check while the configuration is in VECTRESET?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why does the reset button works only for the UART/GPIO and not the USB?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems like the memory map is simillar to both LPC1756 and LPC1768 for the UART and USB. Where am i making mistake?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;please help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sathyan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:30:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1756-USB-Communication-works-only-during-programming-every/m-p/517971#M2438</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:30:10Z</dc:date>
    </item>
  </channel>
</rss>

