<?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>i.MX RT Crossover MCUs中的主题 Re: How to Jump into Programming mode and Flash Program into Custom pcb IMXRT1062DVJ6B?</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-Jump-into-Programming-mode-and-Flash-Program-into-Custom/m-p/1795643#M28633</link>
    <description>&lt;DIV&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;SPAN&gt;Hello, my name is Pavel,&amp;nbsp;and I will&amp;nbsp;be supporting you.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;I have gone through the schematic of the&amp;nbsp;&lt;STRONG&gt;MIMXRT1060-EVKB&lt;/STRONG&gt;, where I found a JTAG (SWD) 20-pin connector labeled as J2. If I connect these pins directly to the&amp;nbsp;&lt;STRONG&gt;MIMXRT1062DVJ6B&lt;/STRONG&gt;&amp;nbsp;processor, is it possible to flash the program directly using the&amp;nbsp;&lt;STRONG&gt;Segger J-Link V2&lt;/STRONG&gt;?&lt;/FONT&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;It is possible, but the JTAG connector is used as SWD as default, for changing the interface may need to do a rework on the EVK, if you want because the SWD works to flash too.&lt;/DIV&gt;
&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pavel_Hernandez_0-1706214759539.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/260137i74F02CAE47CA6B76/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pavel_Hernandez_0-1706214759539.png" alt="Pavel_Hernandez_0-1706214759539.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pavel_Hernandez_1-1706214797359.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/260138i9A5E84BA2D0E6ABC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pavel_Hernandez_1-1706214797359.png" alt="Pavel_Hernandez_1-1706214797359.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;I am also gone through&amp;nbsp;&lt;STRONG&gt;MKL02Z16VFG4&amp;nbsp;&lt;/STRONG&gt;pre-programmed IC. but i don't want to use that IC in our custom board.&lt;/FONT&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;Sorry, I do not understand, your EVK has the MKL02? The EVK uses the LPC4322 as a debugger on board just to offer all-in-one and this is not recommended to put on the new design if you use an external debugger. Let me know if I understand well about the MKL02.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;I also noticed in the MIMXRT1060-EVKB schematic that there is a default QSPI Flash. Does this QSPI Flash serve the purpose of storing our .hex code? If Yes, then do I need to develop any firmware on our custom board to interface with the QSPI Flash for storing the programming code? Or are there any hardware-side changes required to utilise&amp;nbsp;the default QSPI Flash? Can it work directly for flashing using J-Link?&lt;/FONT&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;The RT1060 does not have internal Flash and uses the QSPI to store the .hex, some QSPI memory&amp;nbsp;can execute in place you can see as XIP, for the communication&amp;nbsp;NXP offers generic&amp;nbsp;drivers SFDP you could test it on the SDK flexspi_nor_polling_transfer using the J-Link.&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;In the MIMXRT1060-EVKB Board, Switch SW4[3:4] is used to select the boot mode. Is it necessary to implement the same functionality in the custom board to switch between boot mode and main application mode before flashing the program?&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;Is necessary is using as back door when the RT1060 is halted in an unknown state, if this happens there is some thread to recovery the control.&lt;/DIV&gt;
&lt;DIV&gt;&lt;A href="https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/RT-board-recovery-for-debugger-connect-issues/ta-p/1635260" target="_blank" rel="noopener"&gt;RT board recovery for debugger connect issues - NXP Community&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;Is there any reference design available for the same? please provide.&amp;nbsp;&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;attached.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Best regards,&lt;/DIV&gt;
&lt;DIV&gt;Pavel&lt;/DIV&gt;</description>
    <pubDate>Thu, 25 Jan 2024 20:56:41 GMT</pubDate>
    <dc:creator>Pavel_Hernandez</dc:creator>
    <dc:date>2024-01-25T20:56:41Z</dc:date>
    <item>
      <title>How to Jump into Programming mode and Flash Program into Custom pcb IMXRT1062DVJ6B?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-Jump-into-Programming-mode-and-Flash-Program-into-Custom/m-p/1794693#M28606</link>
      <description>&lt;DIV&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;SPAN&gt;Hello NXP Team,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;SPAN&gt;I am using &lt;STRONG&gt;MIMXRT1062DVJ6B &lt;/STRONG&gt;processor in our custom board and for programming use&amp;nbsp;MCUXpresso&amp;nbsp;IDE.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;SPAN&gt;I have gone through the schematic of the &lt;STRONG&gt;MIMXRT1060-EVKB&lt;/STRONG&gt;, where I found a JTAG (SWD) 20-pin connector labeled as J2. If I connect these pins directly to the &lt;STRONG&gt;MIMXRT1062DVJ6B&lt;/STRONG&gt; processor, is it possible to flash the program directly using the &lt;STRONG&gt;Segger J-Link V2&lt;/STRONG&gt;?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;SPAN&gt;I am also gone through&amp;nbsp;&lt;STRONG&gt;MKL02Z16VFG4&amp;nbsp;&lt;/STRONG&gt;pre-programmed IC. but i don't want to use that IC in our custom board.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;SPAN&gt;I also noticed in the MIMXRT1060-EVKB schematic that there is a default QSPI Flash. Does this QSPI Flash serve the purpose of storing our .hex code? If Yes, then do I need to develop any firmware on our custom board to interface with the QSPI Flash for storing the programming code? Or are there any hardware-side changes required to utilise&amp;nbsp;the default QSPI Flash? Can it work directly for flashing using J-Link?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;In the MIMXRT1060-EVKB Board, Switch SW4[3:4] is used to select the boot mode. Is it necessary to implement the same functionality in the custom board to switch between boot mode and main application mode before flashing the program?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Is there any reference design available for the same? please provide.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 Jan 2024 13:52:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-Jump-into-Programming-mode-and-Flash-Program-into-Custom/m-p/1794693#M28606</guid>
      <dc:creator>AnilRathod</dc:creator>
      <dc:date>2024-01-24T13:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to Jump into Programming mode and Flash Program into Custom pcb IMXRT1062DVJ6B?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-Jump-into-Programming-mode-and-Flash-Program-into-Custom/m-p/1795643#M28633</link>
      <description>&lt;DIV&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;SPAN&gt;Hello, my name is Pavel,&amp;nbsp;and I will&amp;nbsp;be supporting you.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;I have gone through the schematic of the&amp;nbsp;&lt;STRONG&gt;MIMXRT1060-EVKB&lt;/STRONG&gt;, where I found a JTAG (SWD) 20-pin connector labeled as J2. If I connect these pins directly to the&amp;nbsp;&lt;STRONG&gt;MIMXRT1062DVJ6B&lt;/STRONG&gt;&amp;nbsp;processor, is it possible to flash the program directly using the&amp;nbsp;&lt;STRONG&gt;Segger J-Link V2&lt;/STRONG&gt;?&lt;/FONT&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;It is possible, but the JTAG connector is used as SWD as default, for changing the interface may need to do a rework on the EVK, if you want because the SWD works to flash too.&lt;/DIV&gt;
&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pavel_Hernandez_0-1706214759539.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/260137i74F02CAE47CA6B76/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pavel_Hernandez_0-1706214759539.png" alt="Pavel_Hernandez_0-1706214759539.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pavel_Hernandez_1-1706214797359.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/260138i9A5E84BA2D0E6ABC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pavel_Hernandez_1-1706214797359.png" alt="Pavel_Hernandez_1-1706214797359.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;I am also gone through&amp;nbsp;&lt;STRONG&gt;MKL02Z16VFG4&amp;nbsp;&lt;/STRONG&gt;pre-programmed IC. but i don't want to use that IC in our custom board.&lt;/FONT&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;Sorry, I do not understand, your EVK has the MKL02? The EVK uses the LPC4322 as a debugger on board just to offer all-in-one and this is not recommended to put on the new design if you use an external debugger. Let me know if I understand well about the MKL02.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;I also noticed in the MIMXRT1060-EVKB schematic that there is a default QSPI Flash. Does this QSPI Flash serve the purpose of storing our .hex code? If Yes, then do I need to develop any firmware on our custom board to interface with the QSPI Flash for storing the programming code? Or are there any hardware-side changes required to utilise&amp;nbsp;the default QSPI Flash? Can it work directly for flashing using J-Link?&lt;/FONT&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;The RT1060 does not have internal Flash and uses the QSPI to store the .hex, some QSPI memory&amp;nbsp;can execute in place you can see as XIP, for the communication&amp;nbsp;NXP offers generic&amp;nbsp;drivers SFDP you could test it on the SDK flexspi_nor_polling_transfer using the J-Link.&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;In the MIMXRT1060-EVKB Board, Switch SW4[3:4] is used to select the boot mode. Is it necessary to implement the same functionality in the custom board to switch between boot mode and main application mode before flashing the program?&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;Is necessary is using as back door when the RT1060 is halted in an unknown state, if this happens there is some thread to recovery the control.&lt;/DIV&gt;
&lt;DIV&gt;&lt;A href="https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/RT-board-recovery-for-debugger-connect-issues/ta-p/1635260" target="_blank" rel="noopener"&gt;RT board recovery for debugger connect issues - NXP Community&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;Is there any reference design available for the same? please provide.&amp;nbsp;&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;attached.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Best regards,&lt;/DIV&gt;
&lt;DIV&gt;Pavel&lt;/DIV&gt;</description>
      <pubDate>Thu, 25 Jan 2024 20:56:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-Jump-into-Programming-mode-and-Flash-Program-into-Custom/m-p/1795643#M28633</guid>
      <dc:creator>Pavel_Hernandez</dc:creator>
      <dc:date>2024-01-25T20:56:41Z</dc:date>
    </item>
  </channel>
</rss>

