<?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>Processor Expert Software中的主题 Re: MCF51JM  USB (CDC) and Processor Expert.</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/MCF51JM-USB-CDC-and-Processor-Expert/m-p/212680#M958</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are very welcome.&lt;/P&gt;&lt;P&gt;I have an updated version in the works which is much easier to use:&lt;/P&gt;&lt;P&gt;- it generates the cdc.inf (unified version for 64bit and 32bit hosts)&lt;/P&gt;&lt;P&gt;- configuration of the PID/VID and other settings of the USB driver&lt;/P&gt;&lt;P&gt;- using the USB_Init as inherited component (solving the dependency problem and does not require any user changes with Processor Expert templates)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to try it out for the S08JM60 as well, and once it works, I'll post a new version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Mar 2012 03:33:11 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2012-03-12T03:33:11Z</dc:date>
    <item>
      <title>MCF51JM  USB (CDC) and Processor Expert.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/MCF51JM-USB-CDC-and-Processor-Expert/m-p/212675#M953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an existing project,&amp;nbsp; built with the MCF51JM part,&amp;nbsp; and it functions quite well.&amp;nbsp; I am at the point of adding additional features,&amp;nbsp; and the JM part was originally chosen so that the USB could be "easily" added.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The project is built in Codewarrior 6.3 with Processor Expert.&amp;nbsp; Many of PE's features work extremely well,&amp;nbsp; and I have grown accustomed to using it.&amp;nbsp; It is the main reason I stick with Freescale's parts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Integrating the CDC class "should" be a straightforward task.&amp;nbsp; put the required files in an appropriate spot,&amp;nbsp; and add them to the project.&amp;nbsp; add a few "include" lines and then call the functions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All of the USB app notes,&amp;nbsp; sample code, etc are all built around the non-PE environment. &amp;nbsp; So lots of 'manipulations' of the files becomes necessary.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Well,&amp;nbsp; after searching around for all the stuff in target.c&amp;nbsp; target.h, and the low-level assembler stuff that the USB functions seem to want,&amp;nbsp; and modifying the code as required,&amp;nbsp; I can get it to compile with no errors (there were several warnings, however)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Simple,&amp;nbsp; right?&amp;nbsp;&amp;nbsp;&amp;nbsp; Not so much.&amp;nbsp; PE takes control of the interrupt vectors.&amp;nbsp;&amp;nbsp; So,&amp;nbsp; I add an interrupt vector bean,&amp;nbsp; and call the USB interrupt function from there.&amp;nbsp; Ok,&amp;nbsp; fine.&amp;nbsp; it all compiles,&amp;nbsp; and the init calls seem to return without error,&amp;nbsp; the software is executing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Great?&amp;nbsp;&amp;nbsp; Nope.&amp;nbsp; The usb init functions have shut off all the peripherals that Processor Expert initializes.&amp;nbsp; I can move the USB init to before the PE_Init,&amp;nbsp; or after.&amp;nbsp; The timers are not running.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sure I can dig thru it all,&amp;nbsp; and figure out how to "patch" this "proven code",&amp;nbsp; but this is getting old fast.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I really have to pay big bucks for the PE 'Bean' just so I can spit data out the USB?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for the tirade,&amp;nbsp; its been a long afternoon.&amp;nbsp;&amp;nbsp; Has anyone sucessfully made the CDC class easily integrated into PE based projects?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for listening.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bob Bailey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2012 05:14:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/MCF51JM-USB-CDC-and-Processor-Expert/m-p/212675#M953</guid>
      <dc:creator>TurboBob</dc:creator>
      <dc:date>2012-03-05T05:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: MCF51JM  USB (CDC) and Processor Expert.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/MCF51JM-USB-CDC-and-Processor-Expert/m-p/212676#M954</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;we are sorry for inconvenience but PEx does not offer any USB solution for CodlFireV1 now. However as far as I know that MQX provides usb solution for CFV1. For details please see: &lt;A href="http://www.freescale.com/mqx" rel="nofollow" target="_blank"&gt;www.freescale.com/mqx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In PEx there is currently available USB_LDD component for low level acces to device on Kinetis family. The USB stack for Kinetis would be ready till end of this year.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also passed your request to our management.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;BR /&gt;Vojtech Filip&lt;BR /&gt;Processor Expert Support Team&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 16:57:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/MCF51JM-USB-CDC-and-Processor-Expert/m-p/212676#M954</guid>
      <dc:creator>ProcessorExpert</dc:creator>
      <dc:date>2012-03-09T16:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: MCF51JM  USB (CDC) and Processor Expert.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/MCF51JM-USB-CDC-and-Processor-Expert/m-p/212677#M955</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;even though PEx does not provide a built in solution, I have just found that there is available 3rd party party component, for more details please follow the links below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.steinerberg.com/EmbeddedComponents/home.htm" rel="nofollow" target="_blank"&gt;http://www.steinerberg.com/EmbeddedComponents/home.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.steinerberg.com/EmbeddedComponents/FSL_USB_Stack/home.htm" rel="nofollow" target="_blank"&gt;http://www.steinerberg.com/EmbeddedComponents/FSL_USB_Stack/home.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;BR /&gt;Vojtech Filip&lt;BR /&gt;Processor Expert Support Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 17:05:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/MCF51JM-USB-CDC-and-Processor-Expert/m-p/212677#M955</guid>
      <dc:creator>ProcessorExpert</dc:creator>
      <dc:date>2012-03-09T17:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: MCF51JM  USB (CDC) and Processor Expert.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/MCF51JM-USB-CDC-and-Processor-Expert/m-p/212678#M956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;there is an article available on&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.wordpress.com/2012/03/10/usb-or-not-cdc-with-processor-expert/" rel="nofollow" target="_blank"&gt;http://mcuoneclipse.wordpress.com/2012/03/10/usb-or-not-cdc-with-processor-expert/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The examples for it (two MCU10.2 and one MCU 6.4) are available on&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.steinerberg.com/EmbeddedComponents/Examples/Example_PE_CDC_V1JM128" rel="nofollow" target="_blank"&gt;http://www.steinerberg.com/EmbeddedComponents/Examples/Example_PE_CDC_V1JM128&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Mar 2012 06:01:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/MCF51JM-USB-CDC-and-Processor-Expert/m-p/212678#M956</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2012-03-11T06:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: MCF51JM  USB (CDC) and Processor Expert.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/MCF51JM-USB-CDC-and-Processor-Expert/m-p/212679#M957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many huge thanks to BlackKnight for your assistance on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have integrated the component into my project.&amp;nbsp; I found a couple dependency issues,&amp;nbsp; and tweaked the demo code a bit,&amp;nbsp; and its working properly.&amp;nbsp; I have some questions regarding error handling if I feed the send routine too fast,&amp;nbsp; but if I pace the data it runs without issue.&amp;nbsp; I'll send you an email on these as they are not specific to the component.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to try the HCS08 version,&amp;nbsp; as I had similar pain integrating the CMX generic HID drivers about 2 years ago.&amp;nbsp; Bugs and incomplete documentation were rampant in that code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again,&amp;nbsp; many thanks!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bob&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 00:44:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/MCF51JM-USB-CDC-and-Processor-Expert/m-p/212679#M957</guid>
      <dc:creator>TurboBob</dc:creator>
      <dc:date>2012-03-12T00:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: MCF51JM  USB (CDC) and Processor Expert.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/MCF51JM-USB-CDC-and-Processor-Expert/m-p/212680#M958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are very welcome.&lt;/P&gt;&lt;P&gt;I have an updated version in the works which is much easier to use:&lt;/P&gt;&lt;P&gt;- it generates the cdc.inf (unified version for 64bit and 32bit hosts)&lt;/P&gt;&lt;P&gt;- configuration of the PID/VID and other settings of the USB driver&lt;/P&gt;&lt;P&gt;- using the USB_Init as inherited component (solving the dependency problem and does not require any user changes with Processor Expert templates)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to try it out for the S08JM60 as well, and once it works, I'll post a new version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 03:33:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/MCF51JM-USB-CDC-and-Processor-Expert/m-p/212680#M958</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2012-03-12T03:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: MCF51JM  USB (CDC) and Processor Expert.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/MCF51JM-USB-CDC-and-Processor-Expert/m-p/212681#M959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;the new component is now available:&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.wordpress.com/2012/03/15/usb-cdc-reloaded/" rel="nofollow" target="_blank"&gt;http://mcuoneclipse.wordpress.com/2012/03/15/usb-cdc-reloaded/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It supports unified .inf file generation, PID/VID settings, and uses USB_Init as inherited component.&lt;/P&gt;&lt;P&gt;Additionally it runs on S08JM60.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2012 12:17:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/MCF51JM-USB-CDC-and-Processor-Expert/m-p/212681#M959</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2012-03-16T12:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: MCF51JM  USB (CDC) and Processor Expert.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/MCF51JM-USB-CDC-and-Processor-Expert/m-p/212682#M960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for creating this for us mortals......&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2012 12:32:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/MCF51JM-USB-CDC-and-Processor-Expert/m-p/212682#M960</guid>
      <dc:creator>TurboBob</dc:creator>
      <dc:date>2012-03-16T12:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: MCF51JM  USB (CDC) and Processor Expert.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/MCF51JM-USB-CDC-and-Processor-Expert/m-p/212683#M961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FYI: I have found a problem with the FSL USB Stack and CDC with sending either exactly 16 or 32 bytes (all other sizes were working fine so far). The solution was to send a dummy block.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Solution is described here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.wordpress.com/2012/04/17/fsl_usb_stack-updated-sending-16-or-32-byte-blocks/" rel="nofollow" target="_blank"&gt;http://mcuoneclipse.wordpress.com/2012/04/17/fsl_usb_stack-updated-sending-16-or-32-byte-blocks/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I passed that to the group maintaining the stack. Until there is another fix, the above workaround works well for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2012 01:10:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/MCF51JM-USB-CDC-and-Processor-Expert/m-p/212683#M961</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2012-04-18T01:10:39Z</dc:date>
    </item>
  </channel>
</rss>

