<?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>Kinetis MicrocontrollersのトピックRe: TWR-K40X256 - MQX with Processor Expert enabled BSP - CDC Virtual COM demo - device will not enumerate</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K40X256-MQX-with-Processor-Expert-enabled-BSP-CDC-Virtual/m-p/146044#M18</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The clock settings are set correctly. Seet attached screenshot of my settings. I did not modify these settings at all after a clean install of MQX 3.7, which means the settings in my screenshot represent the settings that ship with MQX 3.7.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I contacted a Freescale rep. and received the following as the reply:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Have Robotronics run the demo file in C:\Program Files\Freescale\Freescale MQX 3.7\usb\device\examples\cdc\virtual_com\cw10 When run, they will be asked to install a .inf file for the CDC.&amp;nbsp; It’s in C:\Program Files\Freescale\Freescale MQX 3.7\usb\device\examples\cdc\virtual_com\inf Run both the P&amp;amp;E Terminal Program (which reports status) and open a terminal program (Hyperterm, PuTTY, TerraTerm) using the COM port assigned by Windows."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The P&amp;amp;E Terminal is not necessary to successfully run the CDC demo (cdc_vcom_twr40x256)&amp;nbsp;using the default BSP and&lt;/P&gt;&lt;P&gt;attaching the P&amp;amp;E Terminal to the USB COM to monitor status didn't help solve the problem when using the Processor Expert enabled BSP. The P&amp;amp;E Terminal reported no status while flashing the processor or when attempting to enumerate the tower module as a CDC USB device.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 21 Aug 2011 01:38:30 GMT</pubDate>
    <dc:creator>niroc</dc:creator>
    <dc:date>2011-08-21T01:38:30Z</dc:date>
    <item>
      <title>TWR-K40X256 - MQX with Processor Expert enabled BSP - CDC Virtual COM demo - device will not enumerate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K40X256-MQX-with-Processor-Expert-enabled-BSP-CDC-Virtual/m-p/146041#M15</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The USB CDC Virtual COM demo (cdc_vcom_twrk40x256) that ships with MQX 3.7 stops working (device will not enumerate)&amp;nbsp;as soon as MQX&amp;nbsp;3.7 is updated to use the Processor Expert Logical Level Device Driver enabled BSP (bsp_twrk40x256_pe) instead of the default BSP (bsp_twrk40x256).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My configuration:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Operating&amp;nbsp;System: Windows XP SP2&amp;nbsp;&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; IDE: CodeWarrior 10.1&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;RTOS: MQX 3.7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After a clean installation of CW 10.1 and MQX 3.7...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Steps to reproduce USB CDC device enumeration problem:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Verify that the CDC Virtual COM demo (cdc_vcom_twrk40x256)&amp;nbsp;works.&lt;/LI&gt;&lt;LI&gt;Import and&amp;nbsp;rebuild bsp_twrk40x256_pe and psp_twrk40x256.&lt;/LI&gt;&lt;LI&gt;Rebuild cdc_vcom_twrk40x256.&lt;/LI&gt;&lt;LI&gt;Verify that the CDC Virtual COM demo no longer works (device will not enumerate).&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I did a clean&amp;nbsp;build of all MQX libs and the device will still not enumerate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bsp_twrk40x256_pe&lt;/P&gt;&lt;P&gt;psp_twrk40x256&lt;/P&gt;&lt;P&gt;mfs_twrk40x256&lt;/P&gt;&lt;P&gt;rtcs_twrk40x256&lt;/P&gt;&lt;P&gt;shell_twrk40x256&lt;/P&gt;&lt;P&gt;usb_ddk_twrk40x256&lt;/P&gt;&lt;P&gt;usb_hdk_twrk40x256&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Jul 2011 01:43:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K40X256-MQX-with-Processor-Expert-enabled-BSP-CDC-Virtual/m-p/146041#M15</guid>
      <dc:creator>niroc</dc:creator>
      <dc:date>2011-07-03T01:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K40X256 - MQX with Processor Expert enabled BSP - CDC Virtual COM demo - device will not enumerate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K40X256-MQX-with-Processor-Expert-enabled-BSP-CDC-Virtual/m-p/146042#M16</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This may or may or may not be related, but I am having problems with opening serial ports between simple terminal apps like TeraTerm and a C# windows program that utilizes the Serial Port API within Visual Studio.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tracked this problem down to code in the top part of USB_Notif_Callback﻿.&amp;nbsp; This&amp;nbsp;start_transactions ﻿variable only gets set if there is an event_type = 24 (USB_APP_CDC_DTE_ACTIVATED﻿).&amp;nbsp; Although this makes good sense, opening up a port in Visual Studio sends a sequence (three times) of 22, 23.&amp;nbsp; (USB_APP_CDC_CARRIER_ACTIVATED﻿), (USB_APP_CDC_DTE_DEACTIVATED﻿).&amp;nbsp; If event_type = 24 is never sent, then the port will stall on attempting to write a character, and then throw an exception if any additional characters are send after the first.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;void USB_Notif_Callback(uint_8 event_type,void* val,pointer arg)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint_32 handle;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint_8 index;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; handle = *((uint_32 *)arg);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(start_app == TRUE)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(&lt;FONT color="#ff0000"&gt;event_type == USB_APP_CDC_DTE_ACTIVATED&lt;/FONT&gt;)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color="#ff0000"&gt;start_transactions = TRUE&lt;/FONT&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } ﻿&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using TeraTerm, when opeing up a COM port sends 22 (USB_APP_CDC_CARRIER_ACTIVATED﻿) ,24 &lt;FONT color="#000000"&gt;(USB_APP_CDC_DTE_ACTIVATED﻿), which makes good sense.&amp;nbsp; So this appears to be a limitation of Visual Studio.&amp;nbsp; I'm looking into how to change this behavior if at all possible within the serial windows driver.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 01:08:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K40X256-MQX-with-Processor-Expert-enabled-BSP-CDC-Virtual/m-p/146042#M16</guid>
      <dc:creator>aerodame</dc:creator>
      <dc:date>2011-08-09T01:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K40X256 - MQX with Processor Expert enabled BSP - CDC Virtual COM demo - device will not enumerate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K40X256-MQX-with-Processor-Expert-enabled-BSP-CDC-Virtual/m-p/146043#M17</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Verify the USB clock frequency in the CPU component. See" CPU component \ Clock configurations \ Clock configuration 0 \ System clocks \ PLLFLL clock selection \ USB clock settings \ USB clock". USB module requires 48 MHz clock . .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 20:39:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K40X256-MQX-with-Processor-Expert-enabled-BSP-CDC-Virtual/m-p/146043#M17</guid>
      <dc:creator>MVa</dc:creator>
      <dc:date>2011-08-11T20:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K40X256 - MQX with Processor Expert enabled BSP - CDC Virtual COM demo - device will not enumerate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K40X256-MQX-with-Processor-Expert-enabled-BSP-CDC-Virtual/m-p/146044#M18</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The clock settings are set correctly. Seet attached screenshot of my settings. I did not modify these settings at all after a clean install of MQX 3.7, which means the settings in my screenshot represent the settings that ship with MQX 3.7.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I contacted a Freescale rep. and received the following as the reply:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Have Robotronics run the demo file in C:\Program Files\Freescale\Freescale MQX 3.7\usb\device\examples\cdc\virtual_com\cw10 When run, they will be asked to install a .inf file for the CDC.&amp;nbsp; It’s in C:\Program Files\Freescale\Freescale MQX 3.7\usb\device\examples\cdc\virtual_com\inf Run both the P&amp;amp;E Terminal Program (which reports status) and open a terminal program (Hyperterm, PuTTY, TerraTerm) using the COM port assigned by Windows."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The P&amp;amp;E Terminal is not necessary to successfully run the CDC demo (cdc_vcom_twr40x256)&amp;nbsp;using the default BSP and&lt;/P&gt;&lt;P&gt;attaching the P&amp;amp;E Terminal to the USB COM to monitor status didn't help solve the problem when using the Processor Expert enabled BSP. The P&amp;amp;E Terminal reported no status while flashing the processor or when attempting to enumerate the tower module as a CDC USB device.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Aug 2011 01:38:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K40X256-MQX-with-Processor-Expert-enabled-BSP-CDC-Virtual/m-p/146044#M18</guid>
      <dc:creator>niroc</dc:creator>
      <dc:date>2011-08-21T01:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K40X256 - MQX with Processor Expert enabled BSP - CDC Virtual COM demo - device will not enumerate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K40X256-MQX-with-Processor-Expert-enabled-BSP-CDC-Virtual/m-p/146045#M19</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the following posting for the solution:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.freescale.com/message/89074#89074" title="https://community.freescale.com/message/89074#89074"&gt;https://community.freescale.com/message/89074#89074&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Aug 2011 20:19:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K40X256-MQX-with-Processor-Expert-enabled-BSP-CDC-Virtual/m-p/146045#M19</guid>
      <dc:creator>niroc</dc:creator>
      <dc:date>2011-08-27T20:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K40X256 - MQX with Processor Expert enabled BSP - CDC Virtual COM demo - device will not enumerate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K40X256-MQX-with-Processor-Expert-enabled-BSP-CDC-Virtual/m-p/146046#M20</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know this post is 4.5 years old but did you ever find a solution? I am having the exact same issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 16:28:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K40X256-MQX-with-Processor-Expert-enabled-BSP-CDC-Virtual/m-p/146046#M20</guid>
      <dc:creator>ryanlush</dc:creator>
      <dc:date>2016-02-18T16:28:54Z</dc:date>
    </item>
  </channel>
</rss>

