<?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 Link Error: L1822: Symbol TO1_Disable in file in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Link-Error-L1822-Symbol-TO1-Disable-in-file/m-p/128101#M1555</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Hello:&lt;/DIV&gt;&lt;DIV&gt;I´m ussing a MC9S08AW16. I have created a bean called TO1 which is a TimerOutBean. I have selected the methods Enable, Unable and SetValue and I add this methods to my code in the next way:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #330000;"&gt;#define BEEP_ON&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TO1_Enable()&lt;BR /&gt;#define BEEP_OFF&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TO1_Disable()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Then I use this macros in the next way:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;SPAN style="color: #330000;"&gt;void ResetBeepX(void)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;TiempoON=0;&lt;BR /&gt;&amp;nbsp;TiempoOFF=0;&lt;BR /&gt;&amp;nbsp;NumeroBeeps=0;&lt;BR /&gt;&amp;nbsp;TimeoutBeep=0;&lt;BR /&gt;&amp;nbsp;Beep.BYTE=0;&lt;BR /&gt;&amp;nbsp;BEEP_OFF;&lt;BR /&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;When I compile I receive this message:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #330000;"&gt;Link Error&amp;nbsp;&amp;nbsp; : L1822: Symbol TO1_Disable in file C:\proyecto\teka\KAG\KAG 6300\software\KAG6300_Data\Standard\ObjectCode\beep.C.o is undefined&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;SPAN style="color: #330000;"&gt;Link Error&amp;nbsp;&amp;nbsp; : L1822: Symbol TO1_Enable in file C:\proyecto\teka\KAG\KAG 6300\software\KAG6300_Data\Standard\ObjectCode\beep.C.o is undefined&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;SPAN style="color: #330000;"&gt;Link Error&amp;nbsp;&amp;nbsp; : Link failed&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;What are the causes than can yield this problem?&lt;/DIV&gt;&lt;DIV&gt;Please, I need help because I have spent lot of time and I can solve this problem.&lt;/DIV&gt;&lt;DIV&gt;Thanks a lot&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Aug 2006 23:41:36 GMT</pubDate>
    <dc:creator>FordFairlaneBen</dc:creator>
    <dc:date>2006-08-24T23:41:36Z</dc:date>
    <item>
      <title>Link Error: L1822: Symbol TO1_Disable in file</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Link-Error-L1822-Symbol-TO1-Disable-in-file/m-p/128101#M1555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Hello:&lt;/DIV&gt;&lt;DIV&gt;I´m ussing a MC9S08AW16. I have created a bean called TO1 which is a TimerOutBean. I have selected the methods Enable, Unable and SetValue and I add this methods to my code in the next way:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #330000;"&gt;#define BEEP_ON&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TO1_Enable()&lt;BR /&gt;#define BEEP_OFF&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TO1_Disable()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Then I use this macros in the next way:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;SPAN style="color: #330000;"&gt;void ResetBeepX(void)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;TiempoON=0;&lt;BR /&gt;&amp;nbsp;TiempoOFF=0;&lt;BR /&gt;&amp;nbsp;NumeroBeeps=0;&lt;BR /&gt;&amp;nbsp;TimeoutBeep=0;&lt;BR /&gt;&amp;nbsp;Beep.BYTE=0;&lt;BR /&gt;&amp;nbsp;BEEP_OFF;&lt;BR /&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;When I compile I receive this message:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #330000;"&gt;Link Error&amp;nbsp;&amp;nbsp; : L1822: Symbol TO1_Disable in file C:\proyecto\teka\KAG\KAG 6300\software\KAG6300_Data\Standard\ObjectCode\beep.C.o is undefined&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;SPAN style="color: #330000;"&gt;Link Error&amp;nbsp;&amp;nbsp; : L1822: Symbol TO1_Enable in file C:\proyecto\teka\KAG\KAG 6300\software\KAG6300_Data\Standard\ObjectCode\beep.C.o is undefined&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;SPAN style="color: #330000;"&gt;Link Error&amp;nbsp;&amp;nbsp; : Link failed&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;What are the causes than can yield this problem?&lt;/DIV&gt;&lt;DIV&gt;Please, I need help because I have spent lot of time and I can solve this problem.&lt;/DIV&gt;&lt;DIV&gt;Thanks a lot&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2006 23:41:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Link-Error-L1822-Symbol-TO1-Disable-in-file/m-p/128101#M1555</guid>
      <dc:creator>FordFairlaneBen</dc:creator>
      <dc:date>2006-08-24T23:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Link Error: L1822: Symbol TO1_Disable in file</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Link-Error-L1822-Symbol-TO1-Disable-in-file/m-p/128102#M1556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;These errors mean you did not declare the functions TO1_ ...&lt;BR /&gt;You need to include the file where these functions are declared.&lt;BR /&gt;And at the start of this file, you need to declare the prototype of these functions starting with "extern" to explain they are declared somewhere else and are not a new object.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="msg_source_code"&gt;&lt;SPAN class="text_smallest"&gt;Code:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;extern void TO1_Enable(void);&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Alban.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Aug 2006 00:16:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Link-Error-L1822-Symbol-TO1-Disable-in-file/m-p/128102#M1556</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2006-08-25T00:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Link Error: L1822: Symbol TO1_Disable in file</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Link-Error-L1822-Symbol-TO1-Disable-in-file/m-p/128103#M1557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hello again:&lt;/P&gt;&lt;P&gt;I have tried what you explain but I am getting the same error. I don´t know what it´s happening but I´m becoming crazy. For more information I have to say that when I add the bean to my proyect,&amp;nbsp; draging and droping, it seems that methods Enable and Disable aren´t&amp;nbsp; recognized because they don´t appear in light blue, they remain in black.&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Aug 2006 13:15:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Link-Error-L1822-Symbol-TO1-Disable-in-file/m-p/128103#M1557</guid>
      <dc:creator>FordFairlaneBen</dc:creator>
      <dc:date>2006-08-25T13:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: Link Error: L1822: Symbol TO1_Disable in file</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Link-Error-L1822-Symbol-TO1-Disable-in-file/m-p/128104#M1558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello&lt;BR /&gt;&lt;BR /&gt;According to the messages you are getting you are referencing symbols called TO1_Disable and TO1_Enable in file beep.C.&lt;BR /&gt;&lt;BR /&gt;You need to provide a definition for these symbols or remove the references if you do not need them.&lt;BR /&gt;&lt;BR /&gt;I do not have enough information to investigate further than that.&lt;BR /&gt;&lt;BR /&gt;CrasyCat&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Aug 2006 15:03:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Link-Error-L1822-Symbol-TO1-Disable-in-file/m-p/128104#M1558</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-08-25T15:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Link Error: L1822: Symbol TO1_Disable in file</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Link-Error-L1822-Symbol-TO1-Disable-in-file/m-p/128105#M1559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi:&lt;BR /&gt;&lt;BR /&gt;You need to explicitly indicate Processor Expert to generate the _Enable and Disable methods for your bean. In the Processor Expert tab (left hand) double click in the TI0 bean. A list of all methods appear. The ones with a red X cross won't be generated. The ones with a green check mark will be generated. Simply double click the Enable and Disable methods and they will be generated. &lt;BR /&gt;&lt;BR /&gt;You will need to run full code generation again, though.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Alex.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Aug 2006 02:12:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Link-Error-L1822-Symbol-TO1-Disable-in-file/m-p/128105#M1559</guid>
      <dc:creator>alex_spotw</dc:creator>
      <dc:date>2006-08-26T02:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Link Error: L1822: Symbols are undefined</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Link-Error-L1822-Symbol-TO1-Disable-in-file/m-p/128106#M1560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;This is not related to the original thread. Creating a new thread for the new question.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Dec 2008 09:26:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Link-Error-L1822-Symbol-TO1-Disable-in-file/m-p/128106#M1560</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2008-12-24T09:26:13Z</dc:date>
    </item>
  </channel>
</rss>

