<?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: HID device SetReport gets zero bytes when host sends 65 bytes  in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/HID-device-SetReport-gets-zero-bytes-when-host-sends-65-bytes/m-p/864273#M34464</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;According to your documentation, In SetReport --length  Amount of data&lt;/P&gt;&lt;P&gt;copied to destination buffer. Since we are not seeing the data host sends&lt;/P&gt;&lt;P&gt;and Length is zero is it fair to assume that  data has not been copied to&lt;/P&gt;&lt;P&gt;the destination  buffer despite   pSetup..wLength indicating so.? And also&lt;/P&gt;&lt;P&gt;how to fix it?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Apr 2019 15:09:29 GMT</pubDate>
    <dc:creator>ssudhir</dc:creator>
    <dc:date>2019-04-04T15:09:29Z</dc:date>
    <item>
      <title>HID device SetReport gets zero bytes when host sends 65 bytes</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HID-device-SetReport-gets-zero-bytes-when-host-sends-65-bytes/m-p/864265#M34456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We have a small HID host program written in Python.&amp;nbsp; At the host end, we can get Feature report from the device. &amp;nbsp;However, when the host sends a feature report using setReport, at our device SetReport gets executed (we hit a &amp;nbsp;breakpoint in our SetReport handler) but length it receives &amp;nbsp;is ‘0’. AT the host side, we are sending 65 buffer including Report ID.&lt;/P&gt;&lt;P&gt;static ErrorCode_t HID_SetReport(USBD_HANDLE_T hHid, USB_SETUP_PACKET *pSetup, uint8_t * *pBuffer, uint16_t length)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint8_t j =0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint16_t i = 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint8_t buf[10];&lt;/P&gt;&lt;P&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; /* we will reuse standard EP0Buf */&lt;/P&gt;&lt;P&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; if (length == 0) {&lt;/P&gt;&lt;P&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;&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; return LPC_OK;&lt;/P&gt;&lt;P&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; }&lt;/P&gt;&lt;P&gt;Since length is zero , it return LPC_OK&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2019 19:27:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HID-device-SetReport-gets-zero-bytes-when-host-sends-65-bytes/m-p/864265#M34456</guid>
      <dc:creator>ssudhir</dc:creator>
      <dc:date>2019-03-28T19:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: HID device SetReport gets zero bytes when host sends 65 bytes</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HID-device-SetReport-gets-zero-bytes-when-host-sends-65-bytes/m-p/864266#M34457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please let me know the specific MCU and example code you are working on?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2019 16:15:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HID-device-SetReport-gets-zero-bytes-when-host-sends-65-bytes/m-p/864266#M34457</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2019-04-02T16:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: HID device SetReport gets zero bytes when host sends 65 bytes</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HID-device-SetReport-gets-zero-bytes-when-host-sends-65-bytes/m-p/864267#M34458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are working on LPC4357 controller and generic HID&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2019 16:47:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HID-device-SetReport-gets-zero-bytes-when-host-sends-65-bytes/m-p/864267#M34458</guid>
      <dc:creator>ssudhir</dc:creator>
      <dc:date>2019-04-02T16:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: HID device SetReport gets zero bytes when host sends 65 bytes</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HID-device-SetReport-gets-zero-bytes-when-host-sends-65-bytes/m-p/864268#M34459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this thread it is mentioned that GetReport and SetReport are  coded just&lt;/P&gt;&lt;P&gt;for single byte.. It is also  mentioned that we need to change but doesn't&lt;/P&gt;&lt;P&gt;specify what needs to be changed.  Any idea what needs to be done?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/425616" target="test_blank"&gt;https://community.nxp.com/thread/425616&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here is our SetReport we took from the sample code&lt;/P&gt;&lt;P&gt;static ErrorCode_t HID_SetReport(USBD_HANDLE_T hHid, USB_SETUP_PACKET&lt;/P&gt;&lt;P&gt;*pSetup, uint8_t * *pBuffer, uint16_t length)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;        //bns testing  buffer&lt;/P&gt;&lt;P&gt;         uint8_t j =0;&lt;/P&gt;&lt;P&gt;         uint16_t i = 0;&lt;/P&gt;&lt;P&gt;         uint8_t buf[10];&lt;/P&gt;&lt;P&gt;/* we will reuse standard EP0Buf */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (length == 0) {&lt;/P&gt;&lt;P&gt;return LPC_OK;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;         uint8_t ReportID = pSetup-&amp;gt;wValue.WB.L;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* ReportID = SetupPacket.wValue.WB.L; */&lt;/P&gt;&lt;P&gt;switch (pSetup-&amp;gt;wValue.WB.H) {&lt;/P&gt;&lt;P&gt;case HID_REPORT_INPUT:&lt;/P&gt;&lt;P&gt;return ERR_USBD_STALL; /* Not Supported */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case HID_REPORT_OUTPUT:&lt;/P&gt;&lt;P&gt;                //bns 3/8/2018 commenting the below line because using&lt;/P&gt;&lt;P&gt;separate buffer for input, output and feature reports&lt;/P&gt;&lt;P&gt;//*loopback_report = **pBuffer;&lt;/P&gt;&lt;P&gt;                //bns 3/82018 - save the set report buffer for time being&lt;/P&gt;&lt;P&gt;and think of how to set this report , however this works for one bytes&lt;/P&gt;&lt;P&gt;                //if our  report is more than one byte need to copy this&lt;/P&gt;&lt;P&gt;                *output_report = **pBuffer;&lt;/P&gt;&lt;P&gt;                //need the length too&lt;/P&gt;&lt;P&gt;                out_feature_length = length;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;break;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case HID_REPORT_FEATURE:&lt;/P&gt;&lt;P&gt;             switch (ReportID)&lt;/P&gt;&lt;P&gt;             {&lt;/P&gt;&lt;P&gt;             case 0:&lt;/P&gt;&lt;P&gt;                     //bns just fo testing so wrapping the copy&lt;/P&gt;&lt;P&gt;                    for (i = 0; i&amp;lt; length; i++)&lt;/P&gt;&lt;P&gt;                    {&lt;/P&gt;&lt;P&gt;                      buf[j++] = *pBuffer[i];&lt;/P&gt;&lt;P&gt;                        if (j%10 == 0)&lt;/P&gt;&lt;P&gt;                          j =0;&lt;/P&gt;&lt;P&gt;                    }&lt;/P&gt;&lt;P&gt;                    break;&lt;/P&gt;&lt;P&gt;             case 3:&lt;/P&gt;&lt;P&gt;                //bns just fo testing so wrapping the copy&lt;/P&gt;&lt;P&gt;                    for (i = 0; i&amp;lt; length; i++)&lt;/P&gt;&lt;P&gt;                    {&lt;/P&gt;&lt;P&gt;                      buf[j++] = *pBuffer[i];&lt;/P&gt;&lt;P&gt;                        if (j%10 == 0)&lt;/P&gt;&lt;P&gt;                          j =0;&lt;/P&gt;&lt;P&gt;                    }&lt;/P&gt;&lt;P&gt;                    break;&lt;/P&gt;&lt;P&gt;              case 4:&lt;/P&gt;&lt;P&gt;                //bns just fo testogn so wrapping the copy&lt;/P&gt;&lt;P&gt;                    for (i = 0; i&amp;lt; length; i++)&lt;/P&gt;&lt;P&gt;                    {&lt;/P&gt;&lt;P&gt;                      buf[j++] = *pBuffer[i];&lt;/P&gt;&lt;P&gt;                        if (j%10 == 0)&lt;/P&gt;&lt;P&gt;                          j =0;&lt;/P&gt;&lt;P&gt;                    }&lt;/P&gt;&lt;P&gt;                    break;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             }&lt;/P&gt;&lt;P&gt;//return ERR_USBD_STALL;&lt;/P&gt;&lt;P&gt;                break;&lt;/P&gt;&lt;P&gt;             }&lt;/P&gt;&lt;P&gt;return LPC_OK;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shobha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2019 20:10:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HID-device-SetReport-gets-zero-bytes-when-host-sends-65-bytes/m-p/864268#M34459</guid>
      <dc:creator>ssudhir</dc:creator>
      <dc:date>2019-04-03T20:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: HID device SetReport gets zero bytes when host sends 65 bytes</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HID-device-SetReport-gets-zero-bytes-when-host-sends-65-bytes/m-p/864269#M34460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HID Generic example supports 1 byte report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To change the report length I recommend you to read the following community post.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/422249"&gt;https://community.nxp.com/thread/422249&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2019 20:52:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HID-device-SetReport-gets-zero-bytes-when-host-sends-65-bytes/m-p/864269#M34460</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2019-04-03T20:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: HID device SetReport gets zero bytes when host sends 65 bytes</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HID-device-SetReport-gets-zero-bytes-when-host-sends-65-bytes/m-p/864270#M34461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response.&lt;/P&gt;&lt;P&gt;However, we have done all those things  and able to get 64 bytes output&lt;/P&gt;&lt;P&gt;report and able to send input and feature report. When the Host wants to&lt;/P&gt;&lt;P&gt;fetch feature or input report, our GetReport gets invoked and we can send&lt;/P&gt;&lt;P&gt;64 bytes. When the host sends output report our EP handler gets invoked.&lt;/P&gt;&lt;P&gt;When the host sends feature report, our SetReport gets invoked and there we&lt;/P&gt;&lt;P&gt;see 0 bytes despite of host sending 65 bytes ( I guess first byte is the&lt;/P&gt;&lt;P&gt;report ID so is the zero length).&lt;/P&gt;&lt;P&gt;The below link suggests that apart from  changing the packet size, EPBuffer&lt;/P&gt;&lt;P&gt;size,, defining MAX report size etc. we need to do something else to&lt;/P&gt;&lt;P&gt;receive more than a byte in SetReport. What is that we need to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2019 12:46:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HID-device-SetReport-gets-zero-bytes-when-host-sends-65-bytes/m-p/864270#M34461</guid>
      <dc:creator>ssudhir</dc:creator>
      <dc:date>2019-04-04T12:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: HID device SetReport gets zero bytes when host sends 65 bytes</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HID-device-SetReport-gets-zero-bytes-when-host-sends-65-bytes/m-p/864271#M34462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HID_SetReport - function does the length parameter indicate the number of&lt;/P&gt;&lt;P&gt;bytes received?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2019 13:04:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HID-device-SetReport-gets-zero-bytes-when-host-sends-65-bytes/m-p/864271#M34462</guid>
      <dc:creator>ssudhir</dc:creator>
      <dc:date>2019-04-04T13:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: HID device SetReport gets zero bytes when host sends 65 bytes</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HID-device-SetReport-gets-zero-bytes-when-host-sends-65-bytes/m-p/864272#M34463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HID_SetReport(USBD_HANDLE_T hHid, USB_SETUP_PACKET *pSetup, uint8_t *&lt;/P&gt;&lt;P&gt;*pBuffer, uint16_t length)&lt;/P&gt;&lt;P&gt;We assumed that the length indicates the number of bytes received and it&lt;/P&gt;&lt;P&gt;was zero, It looks like  length doesn't indicate number of bytes received.&lt;/P&gt;&lt;P&gt;When we checked pSetup..wLength that shows that 65 bytes. So&lt;/P&gt;&lt;P&gt;pSetup..wLength  is the one indicates how many bytes we received? We are&lt;/P&gt;&lt;P&gt;guessing **pBuffer points to the buffer pointer, however that buffer&lt;/P&gt;&lt;P&gt;doesn't contain the data we are sending.. How can we access the data ?&lt;/P&gt;&lt;P&gt;Where does the stack store the data ?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2019 14:37:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HID-device-SetReport-gets-zero-bytes-when-host-sends-65-bytes/m-p/864272#M34463</guid>
      <dc:creator>ssudhir</dc:creator>
      <dc:date>2019-04-04T14:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: HID device SetReport gets zero bytes when host sends 65 bytes</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HID-device-SetReport-gets-zero-bytes-when-host-sends-65-bytes/m-p/864273#M34464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;According to your documentation, In SetReport --length  Amount of data&lt;/P&gt;&lt;P&gt;copied to destination buffer. Since we are not seeing the data host sends&lt;/P&gt;&lt;P&gt;and Length is zero is it fair to assume that  data has not been copied to&lt;/P&gt;&lt;P&gt;the destination  buffer despite   pSetup..wLength indicating so.? And also&lt;/P&gt;&lt;P&gt;how to fix it?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2019 15:09:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HID-device-SetReport-gets-zero-bytes-when-host-sends-65-bytes/m-p/864273#M34464</guid>
      <dc:creator>ssudhir</dc:creator>
      <dc:date>2019-04-04T15:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: HID device SetReport gets zero bytes when host sends 65 bytes</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HID-device-SetReport-gets-zero-bytes-when-host-sends-65-bytes/m-p/864274#M34465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok after further debugging this is what it looks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When host sends HID_Request_Set_Report – SetReport call back function gets&lt;/P&gt;&lt;P&gt;called twice. First time we need to give the buffer address where we want&lt;/P&gt;&lt;P&gt;the data to be coped – at that time length is zero since nothing has been&lt;/P&gt;&lt;P&gt;copied. Then it gets called the second time after the data gets copied to&lt;/P&gt;&lt;P&gt;the destination buffer and this time length indicates the number of bytes&lt;/P&gt;&lt;P&gt;received (or copied). Now the question is should this buffer we pass be in&lt;/P&gt;&lt;P&gt;USB RAM area assigned to USB ROM stack or it can be in different Ram region&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2019 17:16:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HID-device-SetReport-gets-zero-bytes-when-host-sends-65-bytes/m-p/864274#M34465</guid>
      <dc:creator>ssudhir</dc:creator>
      <dc:date>2019-04-04T17:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: HID device SetReport gets zero bytes when host sends 65 bytes</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HID-device-SetReport-gets-zero-bytes-when-host-sends-65-bytes/m-p/864275#M34466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;USB ROM stack are is a memory location from where the stack can allocate data and buffers. I recommend you to allocate your buffer in that section.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2019 18:44:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HID-device-SetReport-gets-zero-bytes-when-host-sends-65-bytes/m-p/864275#M34466</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2019-04-04T18:44:34Z</dc:date>
    </item>
  </channel>
</rss>

