<?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 Lpc1769, stops answeing after write to LPC_EMAC-&amp;gt;Command, have to use ISP to reset. in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Lpc1769-stops-answeing-after-write-to-LPC-EMAC-gt-Command-have/m-p/516027#M1455</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by baot on Thu Mar 19 08:23:29 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Iam trying to use embeddedartist's easy web example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in "ethmac.c" -&amp;gt;Init_EthMAC(void) they configure the mac with "LPC_EMAC-&amp;gt;Command" if i remove that line the code runs fine, but ethernet dosent work for obvious reasons.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if i leave the code as is the system goes into some sort of "limbo-mode" and i have to use ISP to reset it..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;iam using the code red tool chain and my phy is a lan8720, on a custom board, see attachment for code and schematic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:23:04 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:23:04Z</dc:date>
    <item>
      <title>Lpc1769, stops answeing after write to LPC_EMAC-&gt;Command, have to use ISP to reset.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Lpc1769-stops-answeing-after-write-to-LPC-EMAC-gt-Command-have/m-p/516027#M1455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by baot on Thu Mar 19 08:23:29 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Iam trying to use embeddedartist's easy web example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in "ethmac.c" -&amp;gt;Init_EthMAC(void) they configure the mac with "LPC_EMAC-&amp;gt;Command" if i remove that line the code runs fine, but ethernet dosent work for obvious reasons.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if i leave the code as is the system goes into some sort of "limbo-mode" and i have to use ISP to reset it..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;iam using the code red tool chain and my phy is a lan8720, on a custom board, see attachment for code and schematic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:23:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Lpc1769-stops-answeing-after-write-to-LPC-EMAC-gt-Command-have/m-p/516027#M1455</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Lpc1769, stops answeing after write to LPC_EMAC-&gt;Command, have to use ISP to reset.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Lpc1769-stops-answeing-after-write-to-LPC-EMAC-gt-Command-have/m-p/516028#M1456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Thu Mar 19 08:51:49 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Could be useful to post your board / schematic as PDF&amp;nbsp; :) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you compare them with LPCXpresso 1769 board?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:23:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Lpc1769-stops-answeing-after-write-to-LPC-EMAC-gt-Command-have/m-p/516028#M1456</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Lpc1769, stops answeing after write to LPC_EMAC-&gt;Command, have to use ISP to reset.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Lpc1769-stops-answeing-after-write-to-LPC-EMAC-gt-Command-have/m-p/516029#M1457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by andersrosvall on Thu Mar 19 08:55:30 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Usually if the MCU hangs like you describe it is because of problem to communicate with the external PHY. That is where I would recommend you to start looking.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anders @ EA&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:23:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Lpc1769-stops-answeing-after-write-to-LPC-EMAC-gt-Command-have/m-p/516029#M1457</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: Lpc1769, stops answeing after write to LPC_EMAC-&gt;Command, have to use ISP to reset.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Lpc1769-stops-answeing-after-write-to-LPC-EMAC-gt-Command-have/m-p/516030#M1458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MikeSimmonds on Thu Mar 19 10:36:33 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;We had an issue with LAN8270A (on a custom 1778 board)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Following Various EA and other schematics, we connected the chip reset out to the PHY reset (in) pin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sound reasonable yes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BUT ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The observed duration of the reset out pulse was on the order of 1 to 2 micro seconds; the 8270 data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sheet has a minumum reset duration of way way more than that (I can't remember the exact figure and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am too lazy to find and open the datasheet). I was going to (and we actually did) re-route the PHY reset&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to a GPIO to give me control of the PHY reset period.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On the current board, I just cut the track and that seened to do the trick. And I did not actually program&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or use the GPIO pin on the re-spin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One other thing, it may be better to set a break several steps after the failing line and let it run&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;through.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One last thing, we had an early problem with the 25MHz clock in to the PHY (bad capacitor), and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(there is a tiny note in the UM) if that clock is missing it will kill the debugger when setting up the EMAC.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Some of this may help, cheers Mike&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:23:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Lpc1769-stops-answeing-after-write-to-LPC-EMAC-gt-Command-have/m-p/516030#M1458</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Lpc1769, stops answeing after write to LPC_EMAC-&gt;Command, have to use ISP to reset.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Lpc1769-stops-answeing-after-write-to-LPC-EMAC-gt-Command-have/m-p/516031#M1459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by baot on Fri Mar 20 11:41:00 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: R2D2&lt;/STRONG&gt;&lt;BR /&gt;Could be useful to post your board / schematic as PDF&amp;nbsp; :) &lt;BR /&gt;&lt;BR /&gt;Did you compare them with LPCXpresso 1769 board?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, we did :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Schematic is attached to this post.. it is missing some rc filters thoug and the reset on our barometer and some jtag pins are missing to. but for every air wire we have learnd something! :), and we havent tested the poe part yet..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: andersrosvall&lt;/STRONG&gt;&lt;BR /&gt;Hi,&lt;BR /&gt;Usually if the MCU hangs like you describe it is because of problem to communicate with the external PHY. That is where I would recommend you to start looking.&lt;BR /&gt;Kind Regards,&lt;BR /&gt;Anders @ EA&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: MikeSimmonds&lt;/STRONG&gt;&lt;BR /&gt;We ....cheers Mike&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We resolderd our phy and now it seems to be working, and thanks som much for the input!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards baot and jeppe&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:23:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Lpc1769-stops-answeing-after-write-to-LPC-EMAC-gt-Command-have/m-p/516031#M1459</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:23:07Z</dc:date>
    </item>
  </channel>
</rss>

