<?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 Uart-Bootloader in NFC</title>
    <link>https://community.nxp.com/t5/NFC/Uart-Bootloader/m-p/683993#M2302</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;I use the micro pn7362, but I'm not practical with NXP, my software requires a bootloader, I did not find an example that could help me. Can anyone tell me the best way to write a uart-bootloader? If sameone has documentation or examples, I'll be grateful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;Ivo&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Jun 2017 12:59:46 GMT</pubDate>
    <dc:creator>ivoisaia89</dc:creator>
    <dc:date>2017-06-12T12:59:46Z</dc:date>
    <item>
      <title>Uart-Bootloader</title>
      <link>https://community.nxp.com/t5/NFC/Uart-Bootloader/m-p/683993#M2302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;I use the micro pn7362, but I'm not practical with NXP, my software requires a bootloader, I did not find an example that could help me. Can anyone tell me the best way to write a uart-bootloader? If sameone has documentation or examples, I'll be grateful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;Ivo&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2017 12:59:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Uart-Bootloader/m-p/683993#M2302</guid>
      <dc:creator>ivoisaia89</dc:creator>
      <dc:date>2017-06-12T12:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Uart-Bootloader</title>
      <link>https://community.nxp.com/t5/NFC/Uart-Bootloader/m-p/683994#M2303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you mean the uart-bootloader? what is the purpose of it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 10:12:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Uart-Bootloader/m-p/683994#M2303</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2017-07-11T10:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Uart-Bootloader</title>
      <link>https://community.nxp.com/t5/NFC/Uart-Bootloader/m-p/683995#M2304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my system a gateway is connect via serial with my PN7362, the upgrade &lt;/P&gt;&lt;P&gt;will be via serial. Boot software is waiting on the serial, and the .hex &lt;/P&gt;&lt;P&gt;will be transmitted via serial. At the end of the transmission the &lt;/P&gt;&lt;P&gt;gateway send a start command and the softwarewill jump to the new &lt;/P&gt;&lt;P&gt;address. I started my project from the example DoorAccess, the tag &lt;/P&gt;&lt;P&gt;reader works, the problem is the bootloader. The first step is to jump &lt;/P&gt;&lt;P&gt;to the new address, at the moment my bootloader firmware uses the &lt;/P&gt;&lt;P&gt;following commands:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/int main(void)//&lt;/P&gt;&lt;P&gt;//{//&lt;/P&gt;&lt;P&gt;//    phFlashBoot_Main();//&lt;/P&gt;&lt;P&gt;//    /** Create &amp;amp; initialize system task *///&lt;/P&gt;&lt;P&gt;//    phExDoorAccess_SystemTaskInit();//&lt;/P&gt;&lt;P&gt;//    /** Check the Boot reason and post the message to system task OR &lt;/P&gt;&lt;P&gt;perform the corresponding boot operation. *///&lt;/P&gt;&lt;P&gt;//    phExDoorAccess_BootHandler();//&lt;/P&gt;&lt;P&gt;//    /** Start the tasks and timer running. *///&lt;/P&gt;&lt;P&gt;//    LED_RED_SetVal();//&lt;/P&gt;&lt;P&gt;//&lt;/P&gt;&lt;P&gt;/&lt;STRONG&gt;/    __DISABLE_IRQ();/&lt;/STRONG&gt;*/&lt;/P&gt;&lt;P&gt;/*&lt;STRONG&gt;/    // Create pointer to new program address/&lt;/STRONG&gt;*/&lt;/P&gt;&lt;P&gt;/*&lt;STRONG&gt;/    void (&lt;/STRONG&gt;code_ptr)(void) = (void (&lt;STRONG&gt;)(void))0x20f004;/&lt;/STRONG&gt;*/&lt;/P&gt;&lt;P&gt;/*&lt;STRONG&gt;/    // Call firmware at address 0x2000 (from pointer above)/&lt;/STRONG&gt;*/&lt;/P&gt;&lt;P&gt;/*&lt;STRONG&gt;/    code_ptr();/&lt;/STRONG&gt;/&lt;/P&gt;&lt;P&gt;//}//&lt;/P&gt;&lt;P&gt;//&lt;/P&gt;&lt;P&gt;/In the application firmware I have changed the file &lt;/P&gt;&lt;P&gt;/PN7462AU_ex_phExDoorAccess_ReleasePN7462AU_memory.ld /in this way/:&lt;/P&gt;&lt;P&gt;   /*&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;GENERATED FILE - DO NOT EDIT&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;(c) Code Red Technologies Ltd, 2008-2013&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;(c) NXP Semiconductors 2013-2017&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Generated linker script file for PN7362AU-C3-00&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Created from memory.ldt by FMCreateLinkMemory&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Using Freemarker v2.3.23&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;LPCXpresso v8.2.2    on 10-lug-2017 12.25.51&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MEMORY&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;   /* Define each memory region */&lt;/P&gt;&lt;P&gt;   Flash (rx) : ORIGIN = 0x20f000, LENGTH = 1B800////* 158K bytes - &lt;/P&gt;&lt;P&gt;49152 Bytes */ /&lt;/P&gt;&lt;P&gt;   SRAM (rwx) : ORIGIN = 0x100020, LENGTH = 0x2ee0 /* 12000 bytes (alias &lt;/P&gt;&lt;P&gt;RAM) */&lt;/P&gt;&lt;P&gt;   EEPROM (rx) : ORIGIN = 0x201200, LENGTH = 0xe00 /* 3584 bytes (alias &lt;/P&gt;&lt;P&gt;Flash2) */&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   /* Define a symbol for the top of each memory region */&lt;/P&gt;&lt;P&gt;   __base_Flash = 0x20f000  ; /* Flash */&lt;/P&gt;&lt;P&gt;   __base_Flash = 0x20f000 ; /* Flash */&lt;/P&gt;&lt;P&gt;   __top_Flash = 0x20f000 + 1B800 ; /* 158K bytes - 49152 Bytes */&lt;/P&gt;&lt;P&gt;   __top_Flash = 0x20f000 + 1B800 ; /* 158K bytes///- 49152 Bytes */ /&lt;/P&gt;&lt;P&gt;   __base_SRAM = 0x100020  ; /* SRAM */&lt;/P&gt;&lt;P&gt;   __base_RAM = 0x100020 ; /* RAM */&lt;/P&gt;&lt;P&gt;   __top_SRAM = 0x100020 + 0x2ee0 ; /* 12000 bytes */&lt;/P&gt;&lt;P&gt;   __top_RAM = 0x100020 + 0x2ee0 ; /* 12000 bytes */&lt;/P&gt;&lt;P&gt;   __base_EEPROM = 0x201200  ; /* EEPROM */&lt;/P&gt;&lt;P&gt;   __base_Flash2 = 0x201200 ; /* Flash2 */&lt;/P&gt;&lt;P&gt;   __top_EEPROM = 0x201200 + 0xe00 ; /* 3584 bytes */&lt;/P&gt;&lt;P&gt;   __top_Flash2 = 0x201200 + 0xe00 ; /* 3584 bytes */&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The .hex of the Application firmware start at the address 0x20F000.&lt;/P&gt;&lt;P&gt;With the program "Hex Workshop Hex Editor" I created the .hex boot + &lt;/P&gt;&lt;P&gt;application, I converted it to .bin, I programmed the micro, but the &lt;/P&gt;&lt;P&gt;jump didn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance, I hope I have been clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ivo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Il 11/07/2017 12:13, jimmychan ha scritto:&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;What you mean the uart-bootloader? what is the purpose of it?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 14:07:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Uart-Bootloader/m-p/683995#M2304</guid>
      <dc:creator>ivoisaia89</dc:creator>
      <dc:date>2017-07-11T14:07:16Z</dc:date>
    </item>
  </channel>
</rss>

