<?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>LPCXpresso IDEのトピックRe: g_pfnVectors Error</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/g-pfnVectors-Error/m-p/556875#M14318</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Thu Mar 03 12:24:46 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, don't know the error :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there an error?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. You've copied a working sample&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. How to transmit a simple frame was described before&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. I asked you to use a simple 1 sec loop to find your problem&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Result?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you don't know what you are doing and don't do what you have been asked for, what are you expecting?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is your concept to solve this problem copying code to main?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Your creating problems instead of solving them. If you don't want to do what I've asked you for, that's not my problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've no crystal ball and I'm not convinced that you know what you are doing. So the first step would be to find out if hardware is working and therefore a loop is a good start.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:08:59 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:08:59Z</dc:date>
    <item>
      <title>g_pfnVectors Error</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/g-pfnVectors-Error/m-p/556871#M14314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Prithvi on Thu Mar 03 03:52:35 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am getting a error while debugging. It's screenshot is attached. At times it goes to the hard fault handler also. It started occurring once I added this innocent piece of code in the main().&lt;/SPAN&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;unsigned int abc;
&amp;nbsp;&amp;nbsp;&amp;nbsp; index = LPC_EMAC-&amp;gt;TxProduceIndex;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if (++index == NUM_TX_FRAG)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; index = 0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; LPC_EMAC-&amp;gt;TxProduceIndex = index;&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;SPAN&gt;How can I resolve this error?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Prithvi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:08:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/g-pfnVectors-Error/m-p/556871#M14314</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: g_pfnVectors Error</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/g-pfnVectors-Error/m-p/556872#M14315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Thu Mar 03 04:45:53 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;There are 2 simple solutions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Read the manual :mad:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Don't mutilate CopyToFrame_EthMAC() function :mad::mad:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Manual:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[Quote]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;...the Ethernet block will start transmitting the frame as&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;soon as it detects the TxProduceIndex is not equal to TxConsumeIndex...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/Quote]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So obviously you try to transmit some sh.....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Why do you destroy working samples?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:08:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/g-pfnVectors-Error/m-p/556872#M14315</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: g_pfnVectors Error</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/g-pfnVectors-Error/m-p/556873#M14316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Prithvi on Thu Mar 03 07:50:01 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hey Zero,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. I've read the manual.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. I am just trying to get my hands dirty by working with the codes&amp;nbsp; and trying to make this work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not just incrementing producer index, before that I am the also configuring the TX control register and copying the data to be sent to the TX_Buffer of the current index. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So if you know why the error is occurring please tell me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:08:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/g-pfnVectors-Error/m-p/556873#M14316</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: g_pfnVectors Error</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/g-pfnVectors-Error/m-p/556874#M14317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Thu Mar 03 09:59:41 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;In your screenshot I see disassembly at address zero. The interesting thing is this code is all zeroes. If your vector base has not been modified, address zero should contain the reset stack pointer, followed by the reset vector. So, the question is do you use a vector base at a non-zero address? If not, you have a build problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:08:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/g-pfnVectors-Error/m-p/556874#M14317</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: g_pfnVectors Error</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/g-pfnVectors-Error/m-p/556875#M14318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Thu Mar 03 12:24:46 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, don't know the error :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there an error?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. You've copied a working sample&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. How to transmit a simple frame was described before&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. I asked you to use a simple 1 sec loop to find your problem&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Result?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you don't know what you are doing and don't do what you have been asked for, what are you expecting?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is your concept to solve this problem copying code to main?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Your creating problems instead of solving them. If you don't want to do what I've asked you for, that's not my problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've no crystal ball and I'm not convinced that you know what you are doing. So the first step would be to find out if hardware is working and therefore a loop is a good start.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:08:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/g-pfnVectors-Error/m-p/556875#M14318</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: g_pfnVectors Error</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/g-pfnVectors-Error/m-p/556876#M14319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Prithvi on Thu Mar 03 12:31:42 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes that's strange. I have not modified the vector base ( I have not touched the startup code). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The confusing part is that when the code that I put in the first post is commented completely, the error does not occur. Otherwise it occurs, sometimes as hard fault if I comment different parts of that code. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you think it is a build error? How can I overcome it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:09:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/g-pfnVectors-Error/m-p/556876#M14319</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: g_pfnVectors Error</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/g-pfnVectors-Error/m-p/556877#M14320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Prithvi on Thu Mar 03 13:33:58 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Got to know what causes the error! But don't know why. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I after updating the producer index manually I overlooked that I was also calling the CopyToFrame_EthMAC() function also. Now that its removed its debugging. :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:09:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/g-pfnVectors-Error/m-p/556877#M14320</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:09:00Z</dc:date>
    </item>
  </channel>
</rss>

