<?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>MQX Software SolutionsのトピックRe: MQX K60N512 ethernet bootloader using FNET</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-K60N512-ethernet-bootloader-using-FNET/m-p/267813#M8126</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nikhil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That ISR tells me that the project has an incorrect entry point... when the bootloader passes control to the application it does not start at the correct address. I had the same experience when developing MQX applications with AN4367. By the way, I was using IAR development environment. Here is my findings, and fixes....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Ethernet Bootloader MQX example&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;An MQX project needs to have user_config,h modified so that it uses RAM vectors... FNET is using the default vector table at 0x0000_0000.&lt;/P&gt;&lt;P&gt;In user_config.h for the BSP, make the following additions:&lt;/P&gt;&lt;P&gt;#DEFINE MQX_ROM_VECTORS 0&lt;/P&gt;&lt;P&gt;Build the libs.&lt;/P&gt;&lt;P&gt;Take an existing MQX example program. It needs some modifications.&lt;BR /&gt;1) Needs a new linker file - see intflash_fnet.icf in the project&lt;BR /&gt;2) Entry point needs to be fixed: MQX begins execution in cortex.boot.s at the symbol __boot, which is a public symbol. In IAR project options [Alt-F7] Linker | Library view, Override default program entry and specify symbol __boot&lt;BR /&gt;3) Not essential, but in IAR project options [Alt-F7] Output Converter | Output view, give the output SREC a helpful name, eg &amp;lt;projectname&amp;gt;_fnet.srec&lt;/P&gt;&lt;P&gt;Build the project. You can modify the BUILD #define to program varying delays into the LED blinking to test you've actually changed the image.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;RUNNING THE EXAMPLE&lt;BR /&gt;===================&lt;/P&gt;&lt;P&gt;Build FNET bootloader twrk60n512_boot.eww in the FNET 1.0.0 installation. Doesn't need any fixing up. Ethernet project, so TWR-K60N512 uses clock from TWR-SER. Flash image. Console output on 115,200 8N1 as it boots, so run HyperTerminal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Run tftpd32.exe. &lt;BR /&gt;Copy the SREC from step 3 above into short path on harddrive, and point tftpd32.exe to that path. Note IP address assigned to tftpd32.exe displayed in window, in my example is was .10&lt;/P&gt;&lt;P&gt;In HyperTerminal, get IP address assigned to board. Use command sequence:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Parameters loaded from Flash.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;************************************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;FNET Bootloader&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;************************************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;FNET TCP/IP Stack for MK60N512&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Version 1.0.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Built Apr&amp;nbsp; 3 2012 at 15:23:51 by IAR&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Copyright 2005-2011 by Freescale Semiconductor&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;GNU LGPLv3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;************************************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Interface&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : eth0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;IP address&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 192.168.1.22 (set manually)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Subnet mask&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 255.255.255.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Gateway&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 192.168.0.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;MAC address&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 00:04:9F:15:23:57&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Link status&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : connected&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;TX Packets&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 4&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;RX Packets&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Free Heap&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 14144&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;DHCP client&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : disabled&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;TFTP server&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : disabled&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Enter 'help' for command list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;************************************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Startup script: tftps&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;************************************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; TFTP server (192.168.1.22) started.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;************************************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;BOOT&amp;gt; dhcp &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; Type this&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Press [Ctr+C] to cancel.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Sending DHCP discover...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;************************************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;DHCP has updated/renewed parameters:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;************************************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Interface&amp;nbsp;&amp;nbsp;&amp;nbsp; : eth0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;IP address&amp;nbsp;&amp;nbsp; : 192.168.0.11&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Subnet mask&amp;nbsp; : 255.255.255.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Gateway&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 192.168.0.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;BOOT&amp;gt; erase all &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; Type this&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Erasing...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;0x00000000 to 0x0000BFFF skipped&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;0x0000C000 to 0x0007F7FF erased&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;0x0007F800 to 0x0007FFFF skipped&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;BOOT&amp;gt; tftp blinky_fnet.srec 192.168.0.10 &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; Type this&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Press [Ctr+C] to cancel.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;TFTP downloading 'blinky_fnet.srec' (srec) from 192.168.0.10: |&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;Entry point set to 0x0000C46D&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;TFTP completed (121654 bytes)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;BOOT&amp;gt; set go 0xc421&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;go&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 0xC421&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;BOOT&amp;gt; save&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Parameters saved&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;BOOT&amp;gt; go&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Initialize IO&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LED1_TASK created&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LED2_TASK created&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LED3_TASK created&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LED4_TASK created&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;led1 task&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;led2 task&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;led3 task&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;led4 task&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;POWER CYCLE BOARD&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 02 Jun 2013 20:27:25 GMT</pubDate>
    <dc:creator>UK_CF_FAE</dc:creator>
    <dc:date>2013-06-02T20:27:25Z</dc:date>
    <item>
      <title>MQX K60N512 ethernet bootloader using FNET</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-K60N512-ethernet-bootloader-using-FNET/m-p/267810#M8123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.3333px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;Hi guys,&lt;/P&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.3333px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;I am using the FNET 1.0 bootloader to download the file for K60N512 via tftp. &lt;/P&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.3333px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;I followed the steps mentioned in the AN4367. I am able to download the file correctly as shown by the log screen.&lt;/P&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.3333px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.3333px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture1.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119449i42F3F145EDC6251E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.PNG" alt="Capture1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.3333px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.3333px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;but when i enter command go and reboot the controller keep getting interrupted and default_irs 3 gets called continuosly. Has anyone seen something like this before:&lt;/P&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.3333px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture2.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119450iC78545E98BA1C6D3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.PNG" alt="Capture2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.3333px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.3333px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;Thanks in advance&lt;/P&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.3333px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;Nikhil&lt;/P&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.3333px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 13:01:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-K60N512-ethernet-bootloader-using-FNET/m-p/267810#M8123</guid>
      <dc:creator>nikhilsarnaik</dc:creator>
      <dc:date>2013-05-31T13:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: MQX K60N512 ethernet bootloader using FNET</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-K60N512-ethernet-bootloader-using-FNET/m-p/267811#M8124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PS:&lt;/P&gt;&lt;P&gt;I did edit the intflash.icf file as per the AN4367 to generate the .srec file for downlaoding via tftp. But the document only shows modification in IAR for K60 bareboard application and my application is based on MQX3.8. I am not sure if that makes any difference. &lt;/P&gt;&lt;P&gt;Any light on the topic would be much helpful and appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Nikhil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 13:05:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-K60N512-ethernet-bootloader-using-FNET/m-p/267811#M8124</guid>
      <dc:creator>nikhilsarnaik</dc:creator>
      <dc:date>2013-05-31T13:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: MQX K60N512 ethernet bootloader using FNET</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-K60N512-ethernet-bootloader-using-FNET/m-p/267812#M8125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nikhil Sarnaik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;does the application work by itself? Can you also share your "new" linker command file, provide what you have done so far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;c0170&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 18:46:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-K60N512-ethernet-bootloader-using-FNET/m-p/267812#M8125</guid>
      <dc:creator>c0170</dc:creator>
      <dc:date>2013-05-31T18:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: MQX K60N512 ethernet bootloader using FNET</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-K60N512-ethernet-bootloader-using-FNET/m-p/267813#M8126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nikhil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That ISR tells me that the project has an incorrect entry point... when the bootloader passes control to the application it does not start at the correct address. I had the same experience when developing MQX applications with AN4367. By the way, I was using IAR development environment. Here is my findings, and fixes....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Ethernet Bootloader MQX example&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;An MQX project needs to have user_config,h modified so that it uses RAM vectors... FNET is using the default vector table at 0x0000_0000.&lt;/P&gt;&lt;P&gt;In user_config.h for the BSP, make the following additions:&lt;/P&gt;&lt;P&gt;#DEFINE MQX_ROM_VECTORS 0&lt;/P&gt;&lt;P&gt;Build the libs.&lt;/P&gt;&lt;P&gt;Take an existing MQX example program. It needs some modifications.&lt;BR /&gt;1) Needs a new linker file - see intflash_fnet.icf in the project&lt;BR /&gt;2) Entry point needs to be fixed: MQX begins execution in cortex.boot.s at the symbol __boot, which is a public symbol. In IAR project options [Alt-F7] Linker | Library view, Override default program entry and specify symbol __boot&lt;BR /&gt;3) Not essential, but in IAR project options [Alt-F7] Output Converter | Output view, give the output SREC a helpful name, eg &amp;lt;projectname&amp;gt;_fnet.srec&lt;/P&gt;&lt;P&gt;Build the project. You can modify the BUILD #define to program varying delays into the LED blinking to test you've actually changed the image.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;RUNNING THE EXAMPLE&lt;BR /&gt;===================&lt;/P&gt;&lt;P&gt;Build FNET bootloader twrk60n512_boot.eww in the FNET 1.0.0 installation. Doesn't need any fixing up. Ethernet project, so TWR-K60N512 uses clock from TWR-SER. Flash image. Console output on 115,200 8N1 as it boots, so run HyperTerminal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Run tftpd32.exe. &lt;BR /&gt;Copy the SREC from step 3 above into short path on harddrive, and point tftpd32.exe to that path. Note IP address assigned to tftpd32.exe displayed in window, in my example is was .10&lt;/P&gt;&lt;P&gt;In HyperTerminal, get IP address assigned to board. Use command sequence:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Parameters loaded from Flash.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;************************************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;FNET Bootloader&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;************************************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;FNET TCP/IP Stack for MK60N512&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Version 1.0.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Built Apr&amp;nbsp; 3 2012 at 15:23:51 by IAR&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Copyright 2005-2011 by Freescale Semiconductor&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;GNU LGPLv3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;************************************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Interface&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : eth0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;IP address&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 192.168.1.22 (set manually)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Subnet mask&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 255.255.255.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Gateway&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 192.168.0.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;MAC address&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 00:04:9F:15:23:57&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Link status&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : connected&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;TX Packets&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 4&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;RX Packets&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Free Heap&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 14144&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;DHCP client&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : disabled&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;TFTP server&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : disabled&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Enter 'help' for command list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;************************************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Startup script: tftps&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;************************************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; TFTP server (192.168.1.22) started.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;************************************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;BOOT&amp;gt; dhcp &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; Type this&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Press [Ctr+C] to cancel.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Sending DHCP discover...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;************************************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;DHCP has updated/renewed parameters:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;************************************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Interface&amp;nbsp;&amp;nbsp;&amp;nbsp; : eth0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;IP address&amp;nbsp;&amp;nbsp; : 192.168.0.11&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Subnet mask&amp;nbsp; : 255.255.255.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Gateway&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 192.168.0.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;BOOT&amp;gt; erase all &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; Type this&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Erasing...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;0x00000000 to 0x0000BFFF skipped&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;0x0000C000 to 0x0007F7FF erased&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;0x0007F800 to 0x0007FFFF skipped&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;BOOT&amp;gt; tftp blinky_fnet.srec 192.168.0.10 &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; Type this&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Press [Ctr+C] to cancel.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;TFTP downloading 'blinky_fnet.srec' (srec) from 192.168.0.10: |&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;Entry point set to 0x0000C46D&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;TFTP completed (121654 bytes)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;BOOT&amp;gt; set go 0xc421&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;go&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 0xC421&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;BOOT&amp;gt; save&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Parameters saved&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;BOOT&amp;gt; go&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Initialize IO&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LED1_TASK created&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LED2_TASK created&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LED3_TASK created&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LED4_TASK created&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;led1 task&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;led2 task&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;led3 task&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;led4 task&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;POWER CYCLE BOARD&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Jun 2013 20:27:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-K60N512-ethernet-bootloader-using-FNET/m-p/267813#M8126</guid>
      <dc:creator>UK_CF_FAE</dc:creator>
      <dc:date>2013-06-02T20:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: MQX K60N512 ethernet bootloader using FNET</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-K60N512-ethernet-bootloader-using-FNET/m-p/267814#M8127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mark, &lt;/P&gt;&lt;P&gt;That fix did work like charm, Although I did not do the modification 2, but setting the correct entry point in the intflash.icf file as per the attached linker file did fix my issue. Probably we need to include the example linker file that you attached into the AN4367. Anyways&amp;nbsp; I will try doing the modification 2 sometime later to see what good/bad effects it has sometime later. &lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;P&gt;Nikhil Sarnaik &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 10:34:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-K60N512-ethernet-bootloader-using-FNET/m-p/267814#M8127</guid>
      <dc:creator>nikhilsarnaik</dc:creator>
      <dc:date>2013-06-03T10:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: MQX K60N512 ethernet bootloader using FNET</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-K60N512-ethernet-bootloader-using-FNET/m-p/1676811#M18803</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am involved in board testing with this CPU but now, we have to use the MK60DN512ZVLQ10 instead of MK60DN512VLQ10. The issue is that the chip with version "Z", is not working and I see with debug that it jumps forever at the "default_isr" function ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am sure that the bootloader works fine and I can see the point where is the final Jump to the app code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From the bootloader, I see the jump instruction:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(( void(*)() )FNET_CPU_INSTRUCTION_ADDR(address))(); /* Jump. */&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where the macro is: ((address) | 0x1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this code correct for both CPUs?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you help me?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;PS: I am using MQX41&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Stefano&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 08:11:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-K60N512-ethernet-bootloader-using-FNET/m-p/1676811#M18803</guid>
      <dc:creator>stefano_conegia</dc:creator>
      <dc:date>2023-06-27T08:11:26Z</dc:date>
    </item>
  </channel>
</rss>

