<?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>LPC MicrocontrollersのトピックRe: NXP LPC54xxx Reboot example</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/NXP-LPC54xxx-Reboot-example/m-p/1227294#M46609</link>
    <description>&lt;P&gt;on driver file fsl_flashaip.h there are optional commands simmilar to ISP Mode Commands but I Didnt found GoTo specific Address.&lt;/P&gt;&lt;P&gt;enum _flashiap_commands&lt;BR /&gt;{&lt;BR /&gt;kIapCmd_FLASHIAP_PrepareSectorforWrite = 50U, /*!&amp;lt; Prepare Sector for write */&lt;BR /&gt;kIapCmd_FLASHIAP_CopyRamToFlash = 51U, /*!&amp;lt; Copy RAM to flash */&lt;BR /&gt;kIapCmd_FLASHIAP_EraseSector = 52U, /*!&amp;lt; Erase Sector */&lt;BR /&gt;kIapCmd_FLASHIAP_BlankCheckSector = 53U, /*!&amp;lt; Blank check sector */&lt;BR /&gt;kIapCmd_FLASHIAP_ReadPartId = 54U, /*!&amp;lt; Read part id */&lt;BR /&gt;kIapCmd_FLASHIAP_Read_BootromVersion = 55U, /*!&amp;lt; Read bootrom version */&lt;BR /&gt;kIapCmd_FLASHIAP_Compare = 56U, /*!&amp;lt; Compare */&lt;BR /&gt;kIapCmd_FLASHIAP_ReinvokeISP = 57U, /*!&amp;lt; Reinvoke ISP */&lt;BR /&gt;kIapCmd_FLASHIAP_ReadUid = 58U, /*!&amp;lt; Read Uid isp */&lt;BR /&gt;kIapCmd_FLASHIAP_ErasePage = 59U, /*!&amp;lt; Erase Page */&lt;BR /&gt;kIapCmd_FLASHIAP_ReadMisr = 70U, /*!&amp;lt; Read Misr */&lt;BR /&gt;kIapCmd_FLASHIAP_ReinvokeI2cSpiISP = 71U /*!&amp;lt; Reinvoke I2C/SPI isp */&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Feb 2021 17:48:31 GMT</pubDate>
    <dc:creator>OliveiraKolNxp</dc:creator>
    <dc:date>2021-02-05T17:48:31Z</dc:date>
    <item>
      <title>NXP LPC54xxx Reboot example</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/NXP-LPC54xxx-Reboot-example/m-p/1227291#M46608</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a project with uses Micrcontroller NXP LPC54616J512.&lt;/P&gt;&lt;P&gt;It uses USB HID Host Communication Channel. For this We created a command with allow to load new firmware into Flash. After loaded, I need to move it to RunApplication Area and performs a GoTo Specific address. I´m looking for an Reboot example with I can pass the Image Address passed as parameter.&lt;/P&gt;&lt;P&gt;Like ISP_Mode &amp;gt;&amp;gt; GO command.&lt;/P&gt;&lt;P&gt;I´m looking for a command or function that performs it operation.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2021 17:45:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/NXP-LPC54xxx-Reboot-example/m-p/1227291#M46608</guid>
      <dc:creator>OliveiraKolNxp</dc:creator>
      <dc:date>2021-02-05T17:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: NXP LPC54xxx Reboot example</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/NXP-LPC54xxx-Reboot-example/m-p/1227294#M46609</link>
      <description>&lt;P&gt;on driver file fsl_flashaip.h there are optional commands simmilar to ISP Mode Commands but I Didnt found GoTo specific Address.&lt;/P&gt;&lt;P&gt;enum _flashiap_commands&lt;BR /&gt;{&lt;BR /&gt;kIapCmd_FLASHIAP_PrepareSectorforWrite = 50U, /*!&amp;lt; Prepare Sector for write */&lt;BR /&gt;kIapCmd_FLASHIAP_CopyRamToFlash = 51U, /*!&amp;lt; Copy RAM to flash */&lt;BR /&gt;kIapCmd_FLASHIAP_EraseSector = 52U, /*!&amp;lt; Erase Sector */&lt;BR /&gt;kIapCmd_FLASHIAP_BlankCheckSector = 53U, /*!&amp;lt; Blank check sector */&lt;BR /&gt;kIapCmd_FLASHIAP_ReadPartId = 54U, /*!&amp;lt; Read part id */&lt;BR /&gt;kIapCmd_FLASHIAP_Read_BootromVersion = 55U, /*!&amp;lt; Read bootrom version */&lt;BR /&gt;kIapCmd_FLASHIAP_Compare = 56U, /*!&amp;lt; Compare */&lt;BR /&gt;kIapCmd_FLASHIAP_ReinvokeISP = 57U, /*!&amp;lt; Reinvoke ISP */&lt;BR /&gt;kIapCmd_FLASHIAP_ReadUid = 58U, /*!&amp;lt; Read Uid isp */&lt;BR /&gt;kIapCmd_FLASHIAP_ErasePage = 59U, /*!&amp;lt; Erase Page */&lt;BR /&gt;kIapCmd_FLASHIAP_ReadMisr = 70U, /*!&amp;lt; Read Misr */&lt;BR /&gt;kIapCmd_FLASHIAP_ReinvokeI2cSpiISP = 71U /*!&amp;lt; Reinvoke I2C/SPI isp */&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2021 17:48:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/NXP-LPC54xxx-Reboot-example/m-p/1227294#M46609</guid>
      <dc:creator>OliveiraKolNxp</dc:creator>
      <dc:date>2021-02-05T17:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: NXP LPC54xxx Reboot example</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/NXP-LPC54xxx-Reboot-example/m-p/1353415#M46716</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;Oliveira,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This function code you need write by yourself, you can refer to LPC546xx UART Sendary bootloader&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com.cn/docs/en/application-note/AN12384.pdf" target="_blank"&gt;https://www.nxp.com.cn/docs/en/application-note/AN12384.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The function is:&lt;/P&gt;
&lt;P&gt;void FwBoot_BootToFwImage(uint32_t fwImageBaseAddr)&lt;BR /&gt;{&lt;BR /&gt;void (*firmwareFunc)(void);&lt;BR /&gt;uint32_t fwStackVal = *((uint32_t *)(fwImageBaseAddr)); /* the first word is for the stack&lt;BR /&gt;pointer. */&lt;BR /&gt;uint32_t fwEntryVal = *((uint32_t *)(fwImageBaseAddr+4U)); /* the second works is for the boot&lt;BR /&gt;function. */&lt;BR /&gt;firmwareFunc = (void (*)(void))fwEntryVal;&lt;/P&gt;
&lt;P&gt;SCB-&amp;gt;VTOR = fwImageBaseAddr; /* The stack address is also the start address of vector. */&lt;BR /&gt;__set_MSP(fwStackVal); /* setup the stack address for MSP. */&lt;BR /&gt;__set_PSP(fwStackVal); /* setpu the stack address for PSP. */&lt;BR /&gt;firmwareFunc();&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Mon, 11 Oct 2021 09:15:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/NXP-LPC54xxx-Reboot-example/m-p/1353415#M46716</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-10-11T09:15:15Z</dc:date>
    </item>
  </channel>
</rss>

