<?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のトピックRe: error with ERR_API_INVALID_PARAM2</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/error-with-ERR-API-INVALID-PARAM2/m-p/576603#M19467</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by pra18 on Tue Sep 23 07:58:14 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i found from usbd_cdc_user.h file that the ERR_API_INVALID_PARAM2 is returned when CDC_Read , CDC_Write, and CDC_Verify are not defined. .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;where and how are these CDC_Read CDC_Write and CDC_Verify defined ? is there any example code? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I searched in the hitex4350 and other example folder in lpcopen but could not find it &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:02:06 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:02:06Z</dc:date>
    <item>
      <title>error with ERR_API_INVALID_PARAM2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/error-with-ERR-API-INVALID-PARAM2/m-p/576602#M19466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by pra18 on Tue Sep 16 07:54:34 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;when I try to call CDC Initialisation routine by the&amp;nbsp; call USBD_API-&amp;gt;cdc-Init&amp;nbsp; I am getting the error code ERR_API_INVALID_PARAM2. Before this step , the call to USBD_API-&amp;gt;hw-&amp;gt;Init is passing. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The manual says that error code is returned when we dont define the CDC_Read/Write callbacks. i have already registered callbacks for IN and OUT events and defined read and write calls also.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the background what I am trying to do : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to adapt an example of USB CDC from lpcopen.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; the example when run on the traget works fine but when I try to adapt the example into my codebase this problem occurs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone point out what I might be&amp;nbsp; missing and the problem. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:02:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/error-with-ERR-API-INVALID-PARAM2/m-p/576602#M19466</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: error with ERR_API_INVALID_PARAM2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/error-with-ERR-API-INVALID-PARAM2/m-p/576603#M19467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by pra18 on Tue Sep 23 07:58:14 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i found from usbd_cdc_user.h file that the ERR_API_INVALID_PARAM2 is returned when CDC_Read , CDC_Write, and CDC_Verify are not defined. .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;where and how are these CDC_Read CDC_Write and CDC_Verify defined ? is there any example code? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I searched in the hitex4350 and other example folder in lpcopen but could not find it &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:02:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/error-with-ERR-API-INVALID-PARAM2/m-p/576603#M19467</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:02:06Z</dc:date>
    </item>
  </channel>
</rss>

