<?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 Design StudioのトピックRe: PE-generated USB code does not seem to work</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/PE-generated-USB-code-does-not-seem-to-work/m-p/427597#M3589</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found the issue you are facing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem here is that device does not enumerate because descriptors can't be sent. See next image:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="GetDescriptor Fails.jpg"&gt;&lt;IMG alt="GetDescriptor Fails.jpg" src="https://community.nxp.com/t5/image/serverpage/image-id/55082i0DBD87E0504E00A8/image-size/large?v=v2&amp;amp;px=999" title="GetDescriptor Fails.jpg" /&gt;&lt;/SPAN&gt;As you can see, host requests for GetDescritpor but device is sending buffer with invalid data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PE generated descriptors (usbDsc1.c) and used const modifier for them:&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14376796247194550 jive_text_macro" data-renderedposition="381_8_1232_80" jivemacro_uid="_14376796247194550"&gt;&lt;P&gt;const uint8_t usbDsc1_FS_DeviceDescriptor[]={&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0x12,&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; /* Descriptor size: 18 bytes */&lt;/P&gt;&lt;P&gt;&amp;nbsp; USB_DEVICE_DESCRIPTOR,&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; /* Descriptor type: Device descriptor */&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0x00,0x02,&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; /* USB specification release number: USB 2.0 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0x00,&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; /* Device class code: 0x00 Class information at interface level */&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This forces compiler to save this data in Flash (due const modifier), so, when this data is passed to BDT section, this data is "corrupted".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem here is that by default, USB does not have permission to read/write to FLASH due crossbar default configuration (M4AP is 00):&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="crossbar.png"&gt;&lt;IMG alt="crossbar.png" src="https://community.nxp.com/t5/image/serverpage/image-id/55117iB140CB7D47CDD900/image-size/large?v=v2&amp;amp;px=999" title="crossbar.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;As you can see, Master 4 Access Protection (USB) is disabled by default (00) so no write/read can be achieved from FLASH. (For more details consult K22 reference manual: &lt;A href="http://cache.freescale.com/files/microcontrollers/doc/ref_manual/K22P121M120SF7RM.pdf?fasp=1&amp;amp;WT_TYPE=Reference%20Manuals&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" rel="nofollow noopener noreferrer noopener noreferrer" target="_blank" title="http://cache.freescale.com/files/microcontrollers/doc/ref_manual/K22P121M120SF7RM.pdf?fasp=1&amp;amp;WT_TYPE=Reference%20Manuals&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf"&gt;http://cache.freescale.com/files/microcontrollers/doc/ref_manual/K22P121M120SF7RM.pdf?fasp=1&amp;amp;WT_TYPE=Reference%20Manuals…&lt;/A&gt; l)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can either store these descriptors in RAM (does not declare them as const) and compile again, or leave them as const but enable read access to Master 4 (USB), you can try adding this line in hardware_init function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="_jivemacro_uid_14376799255815513 jive_macro_code jive_text_macro" data-renderedposition="1015_8_1232_80" jivemacro_uid="_14376799255815513"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Allow read USB from flash */&lt;/P&gt;&lt;P&gt;&amp;nbsp; FMC_PFAPR |= FMC_PFAPR_M4AP(1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried same code using both solutions (not const descriptors and const descriptors but setting M4AP to 1) and they work well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="GetDescriptor Completed.jpg"&gt;&lt;IMG alt="GetDescriptor Completed.jpg" src="https://community.nxp.com/t5/image/serverpage/image-id/55175i48F78E5AAABE4AB9/image-size/large?v=v2&amp;amp;px=999" title="GetDescriptor Completed.jpg" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this can help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Isaac Avila&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Nov 2020 13:19:35 GMT</pubDate>
    <dc:creator>isaacavila</dc:creator>
    <dc:date>2020-11-02T13:19:35Z</dc:date>
    <item>
      <title>PE-generated USB code does not seem to work</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/PE-generated-USB-code-does-not-seem-to-work/m-p/427594#M3586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using KDS 3.0 and KSDK 1.2.0 trying to build a barebone USB demo. Tried with FRDM-K22F and TWR-K65F180&lt;/P&gt;&lt;P&gt;Steps:&lt;/P&gt;&lt;P&gt;1. Create a new PE-enabled project, using TWR-K65F180 board. &lt;/P&gt;&lt;P&gt;2. In CPU view right-click USB0 and add KSDK 1.2.0/fsl_usb_device_msd_class&lt;/P&gt;&lt;P&gt;3. Select 115200&amp;nbsp; and UART2 for debug console when prompted to fix a problem. Enable RAM disk demo option.&lt;/P&gt;&lt;P&gt;4. Generate, build and run.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expected result: USB device enumerates as mass storage&lt;/P&gt;&lt;P&gt;Actual result: USB device fails to enumerate (attempts can be seen via dmesg)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the same board usb device mouse sample from SDK works fine.&lt;/P&gt;&lt;P&gt;Same problem occurs on a FRDM-K22F board. I must be missing something obvious.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: if using TWR-K65 board, you need to either place it in the elevator or to use the micro usb connector, move 2 resistors. This has been done.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 03:03:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/PE-generated-USB-code-does-not-seem-to-work/m-p/427594#M3586</guid>
      <dc:creator>alexfeinman</dc:creator>
      <dc:date>2015-07-21T03:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: PE-generated USB code does not seem to work</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/PE-generated-USB-code-does-not-seem-to-work/m-p/427595#M3587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please attach your project?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is also a guide in how to create a new USB-PE capable project and use KSDK sample code. It was made for FRDM-K64F but could serve as guidance.&lt;/P&gt;&lt;P&gt;You can check it on:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-106048"&gt;Creating a New USB project with KSDK and Processor Expert support in KDS&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this can help&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Isaac&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 17:56:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/PE-generated-USB-code-does-not-seem-to-work/m-p/427595#M3587</guid>
      <dc:creator>isaacavila</dc:creator>
      <dc:date>2015-07-22T17:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: PE-generated USB code does not seem to work</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/PE-generated-USB-code-does-not-seem-to-work/m-p/427596#M3588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Isaac,&amp;nbsp; the project is attached.&lt;/P&gt;&lt;P&gt;I appreciate the write-up you linked, but it's not quite the same. It used SDK as a prebuilt library. That works for me and always did. What doesn't is creating a whole MSD or HID component via PE. PE will import the relevant bits from the SDK, but not configure them correctly, resulting in a code that does not work. &lt;/P&gt;&lt;P&gt;What would be great is if you could tell me why the attached project does not work on FRDM-K22F (or I could generate an identical project for K64 if you prefer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Alex &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2015 00:18:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/PE-generated-USB-code-does-not-seem-to-work/m-p/427596#M3588</guid>
      <dc:creator>alexfeinman</dc:creator>
      <dc:date>2015-07-23T00:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: PE-generated USB code does not seem to work</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/PE-generated-USB-code-does-not-seem-to-work/m-p/427597#M3589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found the issue you are facing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem here is that device does not enumerate because descriptors can't be sent. See next image:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="GetDescriptor Fails.jpg"&gt;&lt;IMG alt="GetDescriptor Fails.jpg" src="https://community.nxp.com/t5/image/serverpage/image-id/55082i0DBD87E0504E00A8/image-size/large?v=v2&amp;amp;px=999" title="GetDescriptor Fails.jpg" /&gt;&lt;/SPAN&gt;As you can see, host requests for GetDescritpor but device is sending buffer with invalid data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PE generated descriptors (usbDsc1.c) and used const modifier for them:&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14376796247194550 jive_text_macro" data-renderedposition="381_8_1232_80" jivemacro_uid="_14376796247194550"&gt;&lt;P&gt;const uint8_t usbDsc1_FS_DeviceDescriptor[]={&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0x12,&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; /* Descriptor size: 18 bytes */&lt;/P&gt;&lt;P&gt;&amp;nbsp; USB_DEVICE_DESCRIPTOR,&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; /* Descriptor type: Device descriptor */&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0x00,0x02,&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; /* USB specification release number: USB 2.0 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0x00,&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; /* Device class code: 0x00 Class information at interface level */&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This forces compiler to save this data in Flash (due const modifier), so, when this data is passed to BDT section, this data is "corrupted".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem here is that by default, USB does not have permission to read/write to FLASH due crossbar default configuration (M4AP is 00):&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="crossbar.png"&gt;&lt;IMG alt="crossbar.png" src="https://community.nxp.com/t5/image/serverpage/image-id/55117iB140CB7D47CDD900/image-size/large?v=v2&amp;amp;px=999" title="crossbar.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;As you can see, Master 4 Access Protection (USB) is disabled by default (00) so no write/read can be achieved from FLASH. (For more details consult K22 reference manual: &lt;A href="http://cache.freescale.com/files/microcontrollers/doc/ref_manual/K22P121M120SF7RM.pdf?fasp=1&amp;amp;WT_TYPE=Reference%20Manuals&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" rel="nofollow noopener noreferrer noopener noreferrer" target="_blank" title="http://cache.freescale.com/files/microcontrollers/doc/ref_manual/K22P121M120SF7RM.pdf?fasp=1&amp;amp;WT_TYPE=Reference%20Manuals&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf"&gt;http://cache.freescale.com/files/microcontrollers/doc/ref_manual/K22P121M120SF7RM.pdf?fasp=1&amp;amp;WT_TYPE=Reference%20Manuals…&lt;/A&gt; l)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can either store these descriptors in RAM (does not declare them as const) and compile again, or leave them as const but enable read access to Master 4 (USB), you can try adding this line in hardware_init function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="_jivemacro_uid_14376799255815513 jive_macro_code jive_text_macro" data-renderedposition="1015_8_1232_80" jivemacro_uid="_14376799255815513"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Allow read USB from flash */&lt;/P&gt;&lt;P&gt;&amp;nbsp; FMC_PFAPR |= FMC_PFAPR_M4AP(1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried same code using both solutions (not const descriptors and const descriptors but setting M4AP to 1) and they work well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="GetDescriptor Completed.jpg"&gt;&lt;IMG alt="GetDescriptor Completed.jpg" src="https://community.nxp.com/t5/image/serverpage/image-id/55175i48F78E5AAABE4AB9/image-size/large?v=v2&amp;amp;px=999" title="GetDescriptor Completed.jpg" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this can help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Isaac Avila&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2020 13:19:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/PE-generated-USB-code-does-not-seem-to-work/m-p/427597#M3589</guid>
      <dc:creator>isaacavila</dc:creator>
      <dc:date>2020-11-02T13:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: PE-generated USB code does not seem to work</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/PE-generated-USB-code-does-not-seem-to-work/m-p/427598#M3590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Isaac, that was it. May I suggest a small modification - since this is a PE project, why not solve the problem PE way. Add a new FMC_Init component to the FMC pin and then in the configuration enable Master 4 - USB OTG for readonly access. This way you don't need any manual modifications in PE-generated code (that will be overwritten next time)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51774iD7DFB011413CF514/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2015 21:25:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/PE-generated-USB-code-does-not-seem-to-work/m-p/427598#M3590</guid>
      <dc:creator>alexfeinman</dc:creator>
      <dc:date>2015-07-23T21:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: PE-generated USB code does not seem to work</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/PE-generated-USB-code-does-not-seem-to-work/m-p/427599#M3591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I totally agree with you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is better to use a PE component to avoid this patch to be overwritten.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your feedback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Isaac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2015 22:08:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/PE-generated-USB-code-does-not-seem-to-work/m-p/427599#M3591</guid>
      <dc:creator>isaacavila</dc:creator>
      <dc:date>2015-07-23T22:08:27Z</dc:date>
    </item>
  </channel>
</rss>

