<?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: After configure the clock, how to disable the USB in BSP? in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/After-configure-the-clock-how-to-disable-the-USB-in-BSP/m-p/242616#M6867</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try it and let you know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Aug 2013 12:52:25 GMT</pubDate>
    <dc:creator>danielchai</dc:creator>
    <dc:date>2013-08-07T12:52:25Z</dc:date>
    <item>
      <title>After configure the clock, how to disable the USB in BSP?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/After-configure-the-clock-how-to-disable-the-USB-in-BSP/m-p/242614#M6865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After I re-configure the clock for my target board, I compile the bsp project. But it gives me error:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Errors caused tool to abort.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;mingw32-make: *** [Peripheral IO Drivers/usb_dcc/int/usb_dcd_int_kn_c.obj] Error 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;mingw32-make: *** [Peripheral IO Drivers/usb_dcc/polled/usb_dcd_pol_kn_c.obj] Error 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;mingw32-make: *** [Peripheral IO Drivers/usb/usb_mk60f_c.obj] Error 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Errors caused tool to abort.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;mingw32-make: *** [Peripheral IO Drivers/usb/usb_install_c.obj] Error 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;mingw32-make: *** [Peripheral IO Drivers/usb_dcc/usb_dcd_mk60_c.obj] Error 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And I checked with freescale engineer, he said the clock frequency I am using is too low to support USB part.(Just 32.768KHz from EXTAL32&amp;amp;XTAL32)&lt;/P&gt;&lt;P&gt;On my target board, I don't want to include the USB part in bsp. How could I do to disable it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2013 13:01:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/After-configure-the-clock-how-to-disable-the-USB-in-BSP/m-p/242614#M6865</guid>
      <dc:creator>danielchai</dc:creator>
      <dc:date>2013-08-06T13:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: After configure the clock, how to disable the USB in BSP?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/After-configure-the-clock-how-to-disable-the-USB-in-BSP/m-p/242615#M6866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Daniel Chai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would start by removing these "references to usb":&lt;/P&gt;&lt;P&gt;1. any usb header include from bsp.h.&lt;/P&gt;&lt;P&gt;2. Remove the following lines from init_bsp.c&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_1375854380486713" jivemacro_uid="_1375854380486713"&gt;
&lt;/PRE&gt;&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;/TD&gt;
&lt;TD&gt;/* Install the USB DCD driver */&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;#if BSPCFG_ENABLE_USBDCD&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; _kusb_dcd_polled_install("usbdcd:", &amp;amp;_bsp_usb_dcd_init);&lt;/P&gt;
&lt;P&gt;#endif&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; /* Install the USB DCD driver */&lt;/P&gt;
&lt;P&gt;#if BSPCFG_ENABLE_IUSBDCD&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; _kusb_dcd_int_install("usbdcd:", &amp;amp;_bsp_usb_dcd_init);&lt;/P&gt;
&lt;P&gt;#endif&lt;/P&gt;
&lt;P&gt;3. remove all usb functions defined in init_gpio.c (they will be removed by linker if not referenced though)&lt;/P&gt;&lt;P&gt;4. init_usb.c and init_usb_dcd.c remove from the bsp project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That should be. Let us know the aftermath.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;0xc0170&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2013 05:50:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/After-configure-the-clock-how-to-disable-the-USB-in-BSP/m-p/242615#M6866</guid>
      <dc:creator>c0170</dc:creator>
      <dc:date>2013-08-07T05:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: After configure the clock, how to disable the USB in BSP?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/After-configure-the-clock-how-to-disable-the-USB-in-BSP/m-p/242616#M6867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try it and let you know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2013 12:52:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/After-configure-the-clock-how-to-disable-the-USB-in-BSP/m-p/242616#M6867</guid>
      <dc:creator>danielchai</dc:creator>
      <dc:date>2013-08-07T12:52:25Z</dc:date>
    </item>
  </channel>
</rss>

