<?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>NFCのトピックRe: Run primary bootloader from user code - PN7462</title>
    <link>https://community.nxp.com/t5/NFC/Run-primary-bootloader-from-user-code-PN7462/m-p/957001#M6035</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kamil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sorry, but so it is not possible to do what you expected, as the ROM boot loader has the activities fixed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Jul 2019 06:11:17 GMT</pubDate>
    <dc:creator>Kan_Li</dc:creator>
    <dc:date>2019-07-26T06:11:17Z</dc:date>
    <item>
      <title>Run primary bootloader from user code - PN7462</title>
      <link>https://community.nxp.com/t5/NFC/Run-primary-bootloader-from-user-code-PN7462/m-p/956996#M6030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;need have possibility to upgrade firmware. I read at Quick Start Customer Board about primary downloader. It can be run if I press "DWL_REQ" during reset IC. (I didn't find any other information except how to disabled it permanently)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is possible to start / request primary downloader from user app/code? It will&amp;nbsp;pass my requirements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Kamil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2019 08:03:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Run-primary-bootloader-from-user-code-PN7462/m-p/956996#M6030</guid>
      <dc:creator>benten</dc:creator>
      <dc:date>2019-07-23T08:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Run primary bootloader from user code - PN7462</title>
      <link>https://community.nxp.com/t5/NFC/Run-primary-bootloader-from-user-code-PN7462/m-p/956997#M6031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kamil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The PN7462 contains 40 kB of on-chip ROM memory. The on-chip ROM contains bootloader, USB mass storage primary download and the following Application Programming Interfaces (APIs). What is your requirement?&amp;nbsp; Invoking the In-Application Programming (IAP) support for flash from user app/code? Or restart from the ROM and jump into the primary downloader? Please kindly clarify. Thanks for your patience!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2019 06:27:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Run-primary-bootloader-from-user-code-PN7462/m-p/956997#M6031</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2019-07-24T06:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: Run primary bootloader from user code - PN7462</title>
      <link>https://community.nxp.com/t5/NFC/Run-primary-bootloader-from-user-code-PN7462/m-p/956998#M6032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirements are not describe how to achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my opinion - optimal way it will be "jump to bootloader" without rebooting. Our user app implement CCID protocol. I want to send "escape frame" with "jump to bootloader" command . IC should disconnect CCID usb staff and switch to USB mass storage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;/P&gt;&lt;P&gt;Kamil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2019 06:52:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Run-primary-bootloader-from-user-code-PN7462/m-p/956998#M6032</guid>
      <dc:creator>benten</dc:creator>
      <dc:date>2019-07-24T06:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Run primary bootloader from user code - PN7462</title>
      <link>https://community.nxp.com/t5/NFC/Run-primary-bootloader-from-user-code-PN7462/m-p/956999#M6033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kamil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is possible to jump to bootloader without rebooting, but it still has to check the state of DWL_REQ pin, please refer to the following for details.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/82703iDDB1EBE2D1846462/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;maybe you need an external circuit for help with this action.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2019 02:20:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Run-primary-bootloader-from-user-code-PN7462/m-p/956999#M6033</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2019-07-25T02:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Run primary bootloader from user code - PN7462</title>
      <link>https://community.nxp.com/t5/NFC/Run-primary-bootloader-from-user-code-PN7462/m-p/957000#M6034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read this instruction some time ago - but it suggested that: external cirtcut need set dwl_req to HIGH/LOW and reset the PN7462. So I asked it is possible to do without IC (from user app, not external circuit).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;/P&gt;&lt;P&gt;Kamil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2019 06:16:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Run-primary-bootloader-from-user-code-PN7462/m-p/957000#M6034</guid>
      <dc:creator>benten</dc:creator>
      <dc:date>2019-07-25T06:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Run primary bootloader from user code - PN7462</title>
      <link>https://community.nxp.com/t5/NFC/Run-primary-bootloader-from-user-code-PN7462/m-p/957001#M6035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kamil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sorry, but so it is not possible to do what you expected, as the ROM boot loader has the activities fixed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2019 06:11:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Run-primary-bootloader-from-user-code-PN7462/m-p/957001#M6035</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2019-07-26T06:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Run primary bootloader from user code - PN7462</title>
      <link>https://community.nxp.com/t5/NFC/Run-primary-bootloader-from-user-code-PN7462/m-p/957002#M6036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created secondary bootloader...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2019 12:16:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Run-primary-bootloader-from-user-code-PN7462/m-p/957002#M6036</guid>
      <dc:creator>benten</dc:creator>
      <dc:date>2019-08-01T12:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Run primary bootloader from user code - PN7462</title>
      <link>https://community.nxp.com/t5/NFC/Run-primary-bootloader-from-user-code-PN7462/m-p/1224762#M8144</link>
      <description>&lt;P&gt;Hi Kan_Li,&lt;/P&gt;&lt;P&gt;could you please clarify:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;How can the primary code downloader (aka USB mass storage) be called from user code? I don't find any API function connected to it.&lt;/LI&gt;&lt;LI&gt;Can the primary code downloader be called if it was is deactivated to run at boot via phhalSysSer_USB_PrimaryDnldConfig() ?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Thank you and best regards!&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 13:37:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Run-primary-bootloader-from-user-code-PN7462/m-p/1224762#M8144</guid>
      <dc:creator>johannesdev</dc:creator>
      <dc:date>2021-02-02T13:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: Run primary bootloader from user code - PN7462</title>
      <link>https://community.nxp.com/t5/NFC/Run-primary-bootloader-from-user-code-PN7462/m-p/1281796#M8542</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/171824"&gt;@benten&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Will you please help me to know, How you have implemented the secondary bootloader to the CCID example code.&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 11:26:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Run-primary-bootloader-from-user-code-PN7462/m-p/1281796#M8542</guid>
      <dc:creator>shiv_patil</dc:creator>
      <dc:date>2021-05-25T11:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Run primary bootloader from user code - PN7462</title>
      <link>https://community.nxp.com/t5/NFC/Run-primary-bootloader-from-user-code-PN7462/m-p/1281806#M8543</link>
      <description>&lt;P&gt;Dear Shiv,&lt;/P&gt;&lt;P&gt;I write bootloader (with limited memory) which:&lt;/P&gt;&lt;P&gt;a) handle all interrups form NXP (register them in&amp;nbsp;&lt;SPAN&gt;VECTOR_TABLE_NAME)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;b) redirect it to main program, for example (i had to compute address of IRQ/Vector table of main program, for example):&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;void RF_IRQHandler(void)
{
	/* Re-direct interrupt, get handler address from application vector table */
	asm volatile("ldr r0, =0x207048");
	asm volatile("ldr r0, [r0]");
	asm volatile("mov pc, r0");
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;c) in main jump to main program:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;if(is_in_app){
		/* Load main stack pointer with application stack pointer initial value,
		   stored at first location of application area */
		asm volatile("ldr r0, =0x207000");
		asm volatile("ldr r0, [r0]");
		asm volatile("mov sp, r0");

		/* Load program counter with application reset vector address, located at
		   second word of application area. */
		asm volatile("ldr r0, =0x207004");
		asm volatile("ldr r0, [r0]");
		asm volatile("mov pc, r0");
	}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Main program:&lt;/P&gt;&lt;P&gt;I create interrups in main program normaly&lt;/P&gt;&lt;P&gt;That is all what I rememeber from this project...&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 11:47:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Run-primary-bootloader-from-user-code-PN7462/m-p/1281806#M8543</guid>
      <dc:creator>benten</dc:creator>
      <dc:date>2021-05-25T11:47:36Z</dc:date>
    </item>
  </channel>
</rss>

