<?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 mcb4300 usbd_rom_msc_ram save to flash. in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/mcb4300-usbd-rom-msc-ram-save-to-flash/m-p/525369#M8005</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by esso on Thu Feb 12 08:10:25 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using LPCXpresso_7.5.0_254 sample for&amp;nbsp; usbd_rom_msc_ram sample.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to save data received in flash instead of RAM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that translate_wr() doesn't receive the data, which prevents me from writing it to flash.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I get the written data?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Another issue, does translate_wr() is called from isr context?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If so, how can i do the write to flash not from ist context?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TIA,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 16:53:30 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T16:53:30Z</dc:date>
    <item>
      <title>mcb4300 usbd_rom_msc_ram save to flash.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/mcb4300-usbd-rom-msc-ram-save-to-flash/m-p/525369#M8005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by esso on Thu Feb 12 08:10:25 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using LPCXpresso_7.5.0_254 sample for&amp;nbsp; usbd_rom_msc_ram sample.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to save data received in flash instead of RAM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that translate_wr() doesn't receive the data, which prevents me from writing it to flash.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I get the written data?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Another issue, does translate_wr() is called from isr context?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If so, how can i do the write to flash not from ist context?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TIA,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:53:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/mcb4300-usbd-rom-msc-ram-save-to-flash/m-p/525369#M8005</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: mcb4300 usbd_rom_msc_ram save to flash.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/mcb4300-usbd-rom-msc-ram-save-to-flash/m-p/525370#M8006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mc on Thu Feb 12 09:30:10 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Tia,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;See below thread.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fforum%2Fusbdrommscram-example-shows-wrong-disk-size-while-connecting-it-pc" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/forum/usbdrommscram-example-shows-wrong-disk-size-while-connecting-it-pc&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:53:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/mcb4300-usbd-rom-msc-ram-save-to-flash/m-p/525370#M8006</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: mcb4300 usbd_rom_msc_ram save to flash.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/mcb4300-usbd-rom-msc-ram-save-to-flash/m-p/525371#M8007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by esso on Sun Feb 15 02:29:28 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: mc&lt;/STRONG&gt;&lt;BR /&gt;Hi Tia,&lt;BR /&gt;See below thread.&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fforum%2Fusbdrommscram-example-shows-wrong-disk-size-while-connecting-it-pc" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/forum/usbdrommscram-example-shows-wrong-disk-size-while-connecting-it-pc&lt;/A&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello mc,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;According to the above link, if i want to write the data into flash, i need to replace the 'g_memDiskArea' with DMA buffer of the flash instead?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Another question, does translate_wr() is called before the data is written to 'g_memDiskArea'? if it called after, then how do i get the data of the last write?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;btw, my name is esso. TIA means 'Thanks In Advanced"... :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:53:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/mcb4300-usbd-rom-msc-ram-save-to-flash/m-p/525371#M8007</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: mcb4300 usbd_rom_msc_ram save to flash.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/mcb4300-usbd-rom-msc-ram-save-to-flash/m-p/525372#M8008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mc on Sat Mar 07 11:59:06 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Tia,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can store data in a buffer and write flash using IAP as mentioned in that thread.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:53:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/mcb4300-usbd-rom-msc-ram-save-to-flash/m-p/525372#M8008</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:53:32Z</dc:date>
    </item>
  </channel>
</rss>

