<?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 Re: TWR-SER2 with TWRK60D100M in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/TWR-SER2-with-TWRK60D100M/m-p/418848#M13933</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jain,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you are trying to do is to test Ethernet packets on MAC and LLC layers so these tests cannot be achieved on Ethernet-to-serial example due this example included TCP and other layer packets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should try using Ethernet drivers where enet module is initialized and try to send packet using your Loopback cable on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These drivers are provided on (KINETIS512_V2_SC.zip):&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-K60D100M&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab" style="line-height: 1.5;" title="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-K60D100M&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab"&gt;&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-K60D100M&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab" title="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-K60D100M&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab"&gt;Kinetis K60 100 MHz MCU Tower System Module|Freescale&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although there is no Ethernet example on given sample code , you can duplicate a hello world project and try using enet drivers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attach you can find another documents where a enet module configuration is done (and other peripherals as well) and have a better idea how to implement your testing code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Isaac Avila&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jun 2015 21:36:41 GMT</pubDate>
    <dc:creator>isaacavila</dc:creator>
    <dc:date>2015-06-08T21:36:41Z</dc:date>
    <item>
      <title>TWR-SER2 with TWRK60D100M</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/TWR-SER2-with-TWRK60D100M/m-p/418845#M13930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have successfully implemented the eth-to-serial example from MQX4.1 onto TWRSER PCB. but now i want to implement the same on TWRSER2 device. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have made following changes in code but still no success. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Our changes w.r.t default TWRK60d100M BSP&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="color: #1f497d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;In init_enet.c &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;#include "phy_dp83xxx.h" instead of #include “phy_ksz8041.h” &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas;"&gt; 2.&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;In init_enet.c&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; font-size: 10.0pt; font-family: Consolas;"&gt;const&lt;/STRONG&gt; &lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #005032;"&gt;ENET_IF_STRUCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt; ENET_0 = {&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 36.0pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;MACNET_IF,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #3f7f5f;"&gt;//&amp;amp;phy_ksz8041_IF,&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 36.0pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;phy_dp83xxx_IF, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 36.0pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MACNET_DEVICE_0,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 36.0pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MACNET_DEVICE_0,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 36.0pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BSP_ENET0_PHY_ADDR, // = 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 18.0pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BSP_ENET0_PHY_MII_SPEED&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;};&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp; 3. &lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;Add files dp8xxx.c and dp8xxx.h in phy folder&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp; 4. &lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;In twrk60d100m.bat we have added copy "%ROOTDIR%\mqx\source\io\enet\phy\phy_dp83xxx.h" "%OUTPUTDIR%\phy_dp83xxx.h" /Y and removed copy "%ROOTDIR%\mqx\source\io\enet\phy\phy_ksz8041.h" "%OUTPUTDIR%\phy_ksz8041.h" /Y &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;5. &lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;TWR-SER2 setting is as per attached file Ethernet.jpg.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;6. &lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;if ((*enet_ptr-&amp;gt;PARAM_PTR-&amp;gt;ENET_IF-&amp;gt;MAC_IF-&amp;gt;PHY_READ)(enet_ptr, DP83XXX_REG_BMCR, &amp;amp;phy_status, MII_TIMEOUT)) { we are getting 0 in phy_status which I think chip is not responding. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 06:58:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/TWR-SER2-with-TWRK60D100M/m-p/418845#M13930</guid>
      <dc:creator>jainsubhav</dc:creator>
      <dc:date>2015-06-02T06:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-SER2 with TWRK60D100M</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/TWR-SER2-with-TWRK60D100M/m-p/418846#M13931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jain,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems to be a hardware problem:&lt;/P&gt;&lt;P&gt;When you power up all Tower System from TWR-K60D100M's J17 connector (OJTAG), you can see that clock signal has some distortion on it (Primary Elevator on pin B24):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Figure 2.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/1012i20752AE8A003345A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Figure 2.jpg" alt="Figure 2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;this does not happen when you use TWR-SER board.&lt;/P&gt;&lt;P&gt;However, if you power up all Tower System from Primary USB connector (J5) you can ensure that clock signal is cleaner:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Figure 1.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/23008iC9B7B60CEF84F655/image-size/large?v=v2&amp;amp;px=999" role="button" title="Figure 1.jpg" alt="Figure 1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But due to Eth-to-serial demo uses UART from J17 connector ('ittyf:') you must connect also your USB cable on J17.&lt;/P&gt;&lt;P&gt;If you test using both connections (J17 on TWR-K60D100M and Powering System up in J5 from Primary Elevator) you would see that demo is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can test it and if problem persist, please let me know it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Isaac Avila&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 20:38:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/TWR-SER2-with-TWRK60D100M/m-p/418846#M13931</guid>
      <dc:creator>isaacavila</dc:creator>
      <dc:date>2015-06-03T20:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-SER2 with TWRK60D100M</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/TWR-SER2-with-TWRK60D100M/m-p/418847#M13932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Isaac Avila,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The suggestion given by you is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My application demands me to test the DP83849 (Ethernet connections) for the various mode checking like LOOPBACK, BIST apart from normal communications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have made a Loopback cable as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.      Cut a cable with about 1 foot of cable and the RJ45 connector.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.      Bend back pairs 4/5 and 7/8 (these will not be used)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.      Solder wire 1 to wire 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.      Solder wire 2 to wire 6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am not able to test it. Kindly suggest how to test it, in your current eth-to-serial example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to test my code for these conditions.&lt;/P&gt;&lt;P&gt;1.    1) Test in BIST mode when using an external loopback plug.&lt;/P&gt;&lt;P&gt;2.    2) Test with packet traffic from the MAC while configured for internal loopback.&lt;/P&gt;&lt;P&gt;3.    3) Test with packet traffic from the MAC when using an external loopback plug.&lt;/P&gt;&lt;P&gt;4.    4) Test with packet traffic while connected to a link partner via a standard cable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me to define test procedure for above test cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 11:53:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/TWR-SER2-with-TWRK60D100M/m-p/418847#M13932</guid>
      <dc:creator>jainsubhav</dc:creator>
      <dc:date>2015-06-05T11:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-SER2 with TWRK60D100M</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/TWR-SER2-with-TWRK60D100M/m-p/418848#M13933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jain,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you are trying to do is to test Ethernet packets on MAC and LLC layers so these tests cannot be achieved on Ethernet-to-serial example due this example included TCP and other layer packets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should try using Ethernet drivers where enet module is initialized and try to send packet using your Loopback cable on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These drivers are provided on (KINETIS512_V2_SC.zip):&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-K60D100M&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab" style="line-height: 1.5;" title="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-K60D100M&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab"&gt;&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-K60D100M&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab" title="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-K60D100M&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab"&gt;Kinetis K60 100 MHz MCU Tower System Module|Freescale&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although there is no Ethernet example on given sample code , you can duplicate a hello world project and try using enet drivers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attach you can find another documents where a enet module configuration is done (and other peripherals as well) and have a better idea how to implement your testing code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Isaac Avila&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 21:36:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/TWR-SER2-with-TWRK60D100M/m-p/418848#M13933</guid>
      <dc:creator>isaacavila</dc:creator>
      <dc:date>2015-06-08T21:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-SER2 with TWRK60D100M</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/TWR-SER2-with-TWRK60D100M/m-p/418849#M13934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Mr. Isaac Avila&lt;/P&gt;&lt;P&gt;I am currently facing an issues. On my actual hardware I have DP83848t IC from TI only. Attached is the schematic of the same.&lt;/P&gt;&lt;P&gt;But my code stucks at __msgq_send_internal() at location&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (blocking)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;  if ( ! kernel_data-&amp;gt;IN_ISR)&lt;/P&gt;&lt;P&gt;  {&lt;/P&gt;&lt;P&gt;       td_ptr = kernel_data-&amp;gt;ACTIVE_PTR;&lt;/P&gt;&lt;P&gt;       td_ptr-&amp;gt;STATE = SEND_BLOCKED;&lt;/P&gt;&lt;P&gt;       &lt;U&gt;task&lt;/U&gt;block();&lt;/P&gt;&lt;P&gt;  } /* Endif */&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And never comes back from this blocking state. I am not able to establish a connection between PC and MK60DX256VLL10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help on the same issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Subhav Jain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 10:45:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/TWR-SER2-with-TWRK60D100M/m-p/418849#M13934</guid>
      <dc:creator>jainsubhav</dc:creator>
      <dc:date>2015-06-09T10:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-SER2 with TWRK60D100M</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/TWR-SER2-with-TWRK60D100M/m-p/418850#M13935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Subhav Jain,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please share your code? I need to know if configuration was done correctly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Isaac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 14:44:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/TWR-SER2-with-TWRK60D100M/m-p/418850#M13935</guid>
      <dc:creator>isaacavila</dc:creator>
      <dc:date>2015-06-11T14:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-SER2 with TWRK60D100M</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/TWR-SER2-with-TWRK60D100M/m-p/418851#M13936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Subhav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;has your problem been resolved?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Isaac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 13:30:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/TWR-SER2-with-TWRK60D100M/m-p/418851#M13936</guid>
      <dc:creator>isaacavila</dc:creator>
      <dc:date>2015-07-31T13:30:46Z</dc:date>
    </item>
  </channel>
</rss>

