<?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>MCU BootloaderのトピックRe: Write a FlashLoader</title>
    <link>https://community.nxp.com/t5/MCU-Bootloader/Write-a-FlashLoader/m-p/1711338#M1413</link>
    <description>&lt;P&gt;Hi !&lt;BR /&gt;&lt;BR /&gt;I have read what you sent. It will help me for sure.&lt;BR /&gt;Thank you so much !&lt;/P&gt;</description>
    <pubDate>Fri, 25 Aug 2023 08:26:18 GMT</pubDate>
    <dc:creator>Devyy</dc:creator>
    <dc:date>2023-08-25T08:26:18Z</dc:date>
    <item>
      <title>Write a FlashLoader</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Write-a-FlashLoader/m-p/1710563#M1411</link>
      <description>&lt;P&gt;Hello everyone,&lt;BR /&gt;&lt;BR /&gt;I'm a beginner in embedded system programmation and I want to create my own flash loader to download and write a programme using UART. I'm using a kinetis mkv58f1m0vlq24.&lt;BR /&gt;&lt;BR /&gt;I dont want to use any libraries function like "flash_memory_write". I'm just trying to improve my skills.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;My question is what are the steps to achieve to write in flash memory ?&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;I read datasheets and it seems to have a flash security but when i'm watching my registers, the security seems to not be active.&lt;BR /&gt;&lt;BR /&gt;What I understood is that before every write in memory, i have to erase the memory area.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for your answers,&lt;BR /&gt;&lt;BR /&gt;Devyy&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 09:35:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Write-a-FlashLoader/m-p/1710563#M1411</guid>
      <dc:creator>Devyy</dc:creator>
      <dc:date>2023-08-24T09:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Write a FlashLoader</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Write-a-FlashLoader/m-p/1710749#M1412</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218440"&gt;@Devyy&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;you might have a look at &lt;A href="https://mcuoneclipse.com/2013/04/28/serial-bootloader-for-the-freedom-board-with-processor-expert/" target="_blank"&gt;https://mcuoneclipse.com/2013/04/28/serial-bootloader-for-the-freedom-board-with-processor-expert/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Basically, you need&lt;/P&gt;&lt;P&gt;a) implement the UART/serial driver&lt;/P&gt;&lt;P&gt;b) define a data protocol and parser (e.g. reading S19 files)&lt;/P&gt;&lt;P&gt;c) program the flash memory. Have a look at the SDK for the flash drivers&lt;/P&gt;&lt;P&gt;d) do all the controlling around: reset handling, reset vector, vector table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;good luck!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 12:50:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Write-a-FlashLoader/m-p/1710749#M1412</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2023-08-24T12:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: Write a FlashLoader</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Write-a-FlashLoader/m-p/1711338#M1413</link>
      <description>&lt;P&gt;Hi !&lt;BR /&gt;&lt;BR /&gt;I have read what you sent. It will help me for sure.&lt;BR /&gt;Thank you so much !&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 08:26:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Write-a-FlashLoader/m-p/1711338#M1413</guid>
      <dc:creator>Devyy</dc:creator>
      <dc:date>2023-08-25T08:26:18Z</dc:date>
    </item>
  </channel>
</rss>

