<?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: LPC55S69 : USB RAM wiped ? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-USB-RAM-wiped/m-p/1004009#M39428</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/ZhangJennie"&gt;ZhangJennie&lt;/A&gt;‌ !&lt;/P&gt;&lt;P&gt;I'm using direct pointer to USB_SRAM location and recognized data to it.&lt;/P&gt;&lt;P&gt;Reboot done be pressing Reset button and dump beginning of&amp;nbsp; of USB_SRAM data after that.&lt;/P&gt;&lt;P&gt;USB_SRAM is not mentioned in any linker sections for avoid compiler impact.&lt;/P&gt;&lt;P&gt;Or it can be mentioned in linker script directly as NOINIT section&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.data_USB_SRAM 0x50100000 (NOLOAD) :&lt;BR /&gt;/*.data_SRAM4 0x30042000 (NOLOAD) :*/&lt;BR /&gt; { &lt;BR /&gt; __reboot_storage_start = .;&lt;BR /&gt; KEEP(*(.reboot_sram_storage*))&lt;BR /&gt; __reboot_storage_end = .;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SRAM4 area is able to keep data and a lot of other areas as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But USB_SRAM is always set to 0x00 via reboot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Feb 2020 12:09:12 GMT</pubDate>
    <dc:creator>EugeneHiihtaja</dc:creator>
    <dc:date>2020-02-21T12:09:12Z</dc:date>
    <item>
      <title>LPC55S69 : USB RAM wiped ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-USB-RAM-wiped/m-p/1004007#M39426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Hi !&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;I try to see if USB_SRAM at ox50100000 can be used for keep some data over reboot.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;And it seems to me it is wiped by 0x00 by ROM code every reboot even ISP USB flashing is not used.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;SRAM4 area at 0x30040000 is keep data over reboot for example.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Could you look in what cases USB_RAM wiped ? All the time over reboot or in some cases.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Can it be disabled some how in any setting if USB ISP flashing is&amp;nbsp; not planned to be used at all ?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;My application need a lot of SRAM and USB_SRAM need as well.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;USB_SRAM is not mentioned in any Linked files and regular firmware is not counted it as bss are and not zeroed it for sure.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Regards,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2020 06:32:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-USB-RAM-wiped/m-p/1004007#M39426</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2020-02-10T06:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : USB RAM wiped ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-USB-RAM-wiped/m-p/1004008#M39427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;We need to know the detailed steps of how to reproduce the problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You power off then power on again, then you can't see USB_RAM data? or press on board reset button? or click on restart with debugger button?&lt;BR /&gt;Besides, If you want to use USB_RAM as common RAM, you need define it in linker file as other memory sections.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2020 11:53:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-USB-RAM-wiped/m-p/1004008#M39427</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2020-02-21T11:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : USB RAM wiped ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-USB-RAM-wiped/m-p/1004009#M39428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/ZhangJennie"&gt;ZhangJennie&lt;/A&gt;‌ !&lt;/P&gt;&lt;P&gt;I'm using direct pointer to USB_SRAM location and recognized data to it.&lt;/P&gt;&lt;P&gt;Reboot done be pressing Reset button and dump beginning of&amp;nbsp; of USB_SRAM data after that.&lt;/P&gt;&lt;P&gt;USB_SRAM is not mentioned in any linker sections for avoid compiler impact.&lt;/P&gt;&lt;P&gt;Or it can be mentioned in linker script directly as NOINIT section&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.data_USB_SRAM 0x50100000 (NOLOAD) :&lt;BR /&gt;/*.data_SRAM4 0x30042000 (NOLOAD) :*/&lt;BR /&gt; { &lt;BR /&gt; __reboot_storage_start = .;&lt;BR /&gt; KEEP(*(.reboot_sram_storage*))&lt;BR /&gt; __reboot_storage_end = .;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SRAM4 area is able to keep data and a lot of other areas as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But USB_SRAM is always set to 0x00 via reboot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2020 12:09:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-USB-RAM-wiped/m-p/1004009#M39428</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2020-02-21T12:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : USB RAM wiped ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-USB-RAM-wiped/m-p/1004010#M39429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You use the default SDK project without any modification?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2020 12:38:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-USB-RAM-wiped/m-p/1004010#M39429</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2020-02-21T12:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : USB RAM wiped ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-USB-RAM-wiped/m-p/1004011#M39430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/ZhangJennie"&gt;ZhangJennie&lt;/A&gt;‌ !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is already my real project but few month ago I have tried with some simple SDK example ( hello_world_s) and result was the same.&lt;/P&gt;&lt;P&gt;And USB_SRAM was never ever defined in linker or MCU setting of IDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2020 13:16:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-USB-RAM-wiped/m-p/1004011#M39430</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2020-02-21T13:16:18Z</dc:date>
    </item>
  </channel>
</rss>

