<?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 Error 'm_Text' overflowed with ---- bytes?? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Error-m-Text-overflowed-with-bytes/m-p/303938#M12852</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am using Codewarrior 10.5. while compiling a program in KL05Z32VLF4 I was getting the following error. I didn't get what the issue is and how to overcome this. Kindly help.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="mtext.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/43708iBCA9D7EF208A370D/image-size/large?v=v2&amp;amp;px=999" role="button" title="mtext.jpg" alt="mtext.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P class="western"&gt;while evaluating I found out that in the below code when I am commenting "&lt;SPAN style="color: #000000; font-size: 10pt; font-family: Courier New,monospace;"&gt;DMAT1_EnableChannel(dmap);" the error is not coming. I think it has something to do with DMA.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New,monospace;"&gt;&lt;SPAN style="color: #7f0055;"&gt;&lt;STRONG&gt;int&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;main&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #7f0055;"&gt;&lt;STRONG&gt;void&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt; font-family: Courier New,monospace;"&gt;/*lint -restore Enable MISRA rule (6.3) checking. */&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: Courier New,monospace;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt; font-family: Courier New,monospace;"&gt;/* Write your local variable definition here */&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;BR /&gt; &lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New,monospace;"&gt;&lt;SPAN style="color: #3f7f5f;"&gt;/*** Processor Expert internal &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; text-decoration: underline;"&gt;initialization&lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f;"&gt;. DON'T REMOVE THIS CODE!!! ***/&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000;"&gt; &lt;SPAN style="font-size: 10pt; font-family: Courier New,monospace;"&gt;PE_low_level_init();&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000;"&gt; &lt;SPAN style="font-size: 10pt; font-family: Courier New,monospace;"&gt;serial = AS1_Init(NULL);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000;"&gt; &lt;SPAN style="font-size: 10pt; font-family: Courier New,monospace;"&gt;dmap = DMAT1_Init(NULL);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000;"&gt; &lt;SPAN style="font-family: Courier New,monospace;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;UART0_C5_REG(UART0_BASE_PTR) = UART0_C5_RDMAE_MASK;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f;"&gt;//enable DMA on &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; text-decoration: underline;"&gt;uart&lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f;"&gt; receiver&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt; &lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000;"&gt; &lt;SPAN style="font-size: 10pt; font-family: Courier New,monospace;"&gt;DMAT1_AllocateChannel(dmap);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000;"&gt; &lt;SPAN style="font-size: 10pt; font-family: Courier New,monospace;"&gt;DMAT1_EnableChannel(dmap);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: Courier New,monospace;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: Courier New,monospace;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #7f0055; font-size: 10pt; font-family: Courier New,monospace;"&gt;&lt;STRONG&gt;for&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: Courier New,monospace;"&gt;&lt;STRONG&gt;(;;){}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: Courier New,monospace;"&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: Courier New,monospace;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: Courier New,monospace;"&gt;I am using the following DMA Settings&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: Courier New,monospace;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="dma.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/43778iDF3E53EB316D8122/image-size/large?v=v2&amp;amp;px=999" role="button" title="dma.jpg" alt="dma.jpg" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Amit Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 May 2014 08:47:11 GMT</pubDate>
    <dc:creator>Amit_Kumar1</dc:creator>
    <dc:date>2014-05-23T08:47:11Z</dc:date>
    <item>
      <title>Error 'm_Text' overflowed with ---- bytes??</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Error-m-Text-overflowed-with-bytes/m-p/303938#M12852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am using Codewarrior 10.5. while compiling a program in KL05Z32VLF4 I was getting the following error. I didn't get what the issue is and how to overcome this. Kindly help.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="mtext.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/43708iBCA9D7EF208A370D/image-size/large?v=v2&amp;amp;px=999" role="button" title="mtext.jpg" alt="mtext.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P class="western"&gt;while evaluating I found out that in the below code when I am commenting "&lt;SPAN style="color: #000000; font-size: 10pt; font-family: Courier New,monospace;"&gt;DMAT1_EnableChannel(dmap);" the error is not coming. I think it has something to do with DMA.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New,monospace;"&gt;&lt;SPAN style="color: #7f0055;"&gt;&lt;STRONG&gt;int&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;main&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #7f0055;"&gt;&lt;STRONG&gt;void&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt; font-family: Courier New,monospace;"&gt;/*lint -restore Enable MISRA rule (6.3) checking. */&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: Courier New,monospace;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt; font-family: Courier New,monospace;"&gt;/* Write your local variable definition here */&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;BR /&gt; &lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New,monospace;"&gt;&lt;SPAN style="color: #3f7f5f;"&gt;/*** Processor Expert internal &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; text-decoration: underline;"&gt;initialization&lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f;"&gt;. DON'T REMOVE THIS CODE!!! ***/&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000;"&gt; &lt;SPAN style="font-size: 10pt; font-family: Courier New,monospace;"&gt;PE_low_level_init();&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000;"&gt; &lt;SPAN style="font-size: 10pt; font-family: Courier New,monospace;"&gt;serial = AS1_Init(NULL);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000;"&gt; &lt;SPAN style="font-size: 10pt; font-family: Courier New,monospace;"&gt;dmap = DMAT1_Init(NULL);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000;"&gt; &lt;SPAN style="font-family: Courier New,monospace;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;UART0_C5_REG(UART0_BASE_PTR) = UART0_C5_RDMAE_MASK;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f;"&gt;//enable DMA on &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; text-decoration: underline;"&gt;uart&lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f;"&gt; receiver&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt; &lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000;"&gt; &lt;SPAN style="font-size: 10pt; font-family: Courier New,monospace;"&gt;DMAT1_AllocateChannel(dmap);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000;"&gt; &lt;SPAN style="font-size: 10pt; font-family: Courier New,monospace;"&gt;DMAT1_EnableChannel(dmap);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: Courier New,monospace;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: Courier New,monospace;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #7f0055; font-size: 10pt; font-family: Courier New,monospace;"&gt;&lt;STRONG&gt;for&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: Courier New,monospace;"&gt;&lt;STRONG&gt;(;;){}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: Courier New,monospace;"&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: Courier New,monospace;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: Courier New,monospace;"&gt;I am using the following DMA Settings&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: Courier New,monospace;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="dma.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/43778iDF3E53EB316D8122/image-size/large?v=v2&amp;amp;px=999" role="button" title="dma.jpg" alt="dma.jpg" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Amit Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2014 08:47:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Error-m-Text-overflowed-with-bytes/m-p/303938#M12852</guid>
      <dc:creator>Amit_Kumar1</dc:creator>
      <dc:date>2014-05-23T08:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error 'm_Text' overflowed with ---- bytes??</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Error-m-Text-overflowed-with-bytes/m-p/303939#M12853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That kind of errors means that the linker is not able to allocate your code into the flash, since the code size is bigger than the size specified in the linker file, which usually is the max flash available on your MCU. Removing that function from your code, makes it to not being linked, hence the code size is smaller and fits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, it seems your application won't fit the 32Kb available on your MCU.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2014 15:25:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Error-m-Text-overflowed-with-bytes/m-p/303939#M12853</guid>
      <dc:creator>carlos_neri</dc:creator>
      <dc:date>2014-05-23T15:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error 'm_Text' overflowed with ---- bytes??</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Error-m-Text-overflowed-with-bytes/m-p/303940#M12854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos&lt;/P&gt;&lt;P&gt;Thanks for the quick response. Might be that is the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Amit Kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 May 2014 12:53:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Error-m-Text-overflowed-with-bytes/m-p/303940#M12854</guid>
      <dc:creator>Amit_Kumar1</dc:creator>
      <dc:date>2014-05-24T12:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error 'm_Text' overflowed with ---- bytes??</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Error-m-Text-overflowed-with-bytes/m-p/303941#M12855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;&amp;nbsp; try to use DMAChannel_LDD component instead of DMATransfer_LDD. It doesn't require so much memory resources.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="DMA.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/44284i3BCC6A6239F60042/image-size/large?v=v2&amp;amp;px=999" role="button" title="DMA.jpg" alt="DMA.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;MVa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 May 2014 20:26:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Error-m-Text-overflowed-with-bytes/m-p/303941#M12855</guid>
      <dc:creator>MVa</dc:creator>
      <dc:date>2014-05-24T20:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error 'm_Text' overflowed with ---- bytes??</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Error-m-Text-overflowed-with-bytes/m-p/303942#M12856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI &lt;SPAN class="j-post-author"&gt;&lt;STRONG&gt;&lt;A href="https://community.nxp.com/people/MVa"&gt;MVa&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks for the suggestion. I was wondering what is the difference b/w DMAChannel_LDD and DMATransfer_LDD ? and one more query I had regarding DMA, Plese follow this link &lt;A href="https://community.nxp.com/thread/324306"&gt;How to Make DMA-UART work with KL05 and series?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Kind Regards&lt;/P&gt;&lt;P&gt;Amit Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 03:36:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Error-m-Text-overflowed-with-bytes/m-p/303942#M12856</guid>
      <dc:creator>Amit_Kumar1</dc:creator>
      <dc:date>2014-05-26T03:36:35Z</dc:date>
    </item>
  </channel>
</rss>

