<?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 Copy and execution of a routine at runtime for cortex-m0 architecture in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Copy-and-execution-of-a-routine-at-runtime-for-cortex-m0/m-p/847537#M51017</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm developing a bootloader. I need to receive the flash erasing and writing routines from an external channel (via CAN). So I need to copy and then perform these routines in RAM. The prototypes of these routines are as follows:&lt;BR /&gt;uint16_t FLASH_Program (uint32_t wNVMTargetAddress, uint8_t * pData, uint16_t sizeBytes);&lt;BR /&gt;uint16_t FLASH_EraseSector (uint32_t wNVMTargetAddress);&lt;BR /&gt;How can I do it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Dec 2018 09:21:52 GMT</pubDate>
    <dc:creator>angelocalabrese</dc:creator>
    <dc:date>2018-12-07T09:21:52Z</dc:date>
    <item>
      <title>Copy and execution of a routine at runtime for cortex-m0 architecture</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Copy-and-execution-of-a-routine-at-runtime-for-cortex-m0/m-p/847537#M51017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm developing a bootloader. I need to receive the flash erasing and writing routines from an external channel (via CAN). So I need to copy and then perform these routines in RAM. The prototypes of these routines are as follows:&lt;BR /&gt;uint16_t FLASH_Program (uint32_t wNVMTargetAddress, uint8_t * pData, uint16_t sizeBytes);&lt;BR /&gt;uint16_t FLASH_EraseSector (uint32_t wNVMTargetAddress);&lt;BR /&gt;How can I do it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2018 09:21:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Copy-and-execution-of-a-routine-at-runtime-for-cortex-m0/m-p/847537#M51017</guid>
      <dc:creator>angelocalabrese</dc:creator>
      <dc:date>2018-12-07T09:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Copy and execution of a routine at runtime for cortex-m0 architecture</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Copy-and-execution-of-a-routine-at-runtime-for-cortex-m0/m-p/847538#M51018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi，&lt;/P&gt;&lt;P&gt;it is depend on what IDE do you use. There&amp;nbsp;are some links you can refer to&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/message/996492"&gt;https://community.nxp.com/message/996492&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/message/925104"&gt;https://community.nxp.com/message/925104&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/message/962586?commentID=962586#comment-962586"&gt;https://community.nxp.com/message/962586?commentID=962586#comment-962586&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2018 08:32:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Copy-and-execution-of-a-routine-at-runtime-for-cortex-m0/m-p/847538#M51018</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2018-12-12T08:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Copy and execution of a routine at runtime for cortex-m0 architecture</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Copy-and-execution-of-a-routine-at-runtime-for-cortex-m0/m-p/847539#M51019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I posted some of the related Flash code in this thread a while ago:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/message/577798?commentID=577798#comment-577798" title="https://community.nxp.com/message/577798?commentID=577798#comment-577798"&gt;https://community.nxp.com/message/577798?commentID=577798#comment-577798&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 'Copy' code is in the attached startup and linker files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Real Soon Now I'm going to write a book with all of this stuff in it,&lt;/P&gt;&lt;P&gt;that should have been in Freescale/NXP documentation in the first place...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2018 13:01:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Copy-and-execution-of-a-routine-at-runtime-for-cortex-m0/m-p/847539#M51019</guid>
      <dc:creator>bobpaddock</dc:creator>
      <dc:date>2018-12-13T13:01:50Z</dc:date>
    </item>
  </channel>
</rss>

