<?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: Increasing memory size to store variables in FRDM-KL26Z in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671093#M8917</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Danyon,&lt;/P&gt;&lt;P&gt;Which .bin file do you copy ? How ?&lt;/P&gt;&lt;P&gt;The MKL26Z128 has 128K flash in total,&amp;nbsp; from the message we can see there is 384K about your file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jun 2017 06:59:42 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2017-06-15T06:59:42Z</dc:date>
    <item>
      <title>Increasing memory size to store variables in FRDM-KL26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671078#M8902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to store a large byte array (size 20-30,000) inside of memory that I receive from another FRDM-KL26z uController over I2C. When I try to store data into that array, I get the 'm_data overflowed by xxxx bytes' error. From what I think is happening is that variables get written to RAM during runtime and I don't have enough of that. What is m_data and is there a way to increase m_data size? Or instead is there a way to write to flash? If that first option isn't possible/feasible, are there any precompiled functions that already do this in the SDK? I am using SDK v1.x and programming using Kinetis Design studio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 14:31:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671078#M8902</guid>
      <dc:creator>danyonchu</dc:creator>
      <dc:date>2017-05-31T14:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing memory size to store variables in FRDM-KL26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671079#M8903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Danyon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can relocate the large array to RAM or FLASH memory , please refer to this tutorial :&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-104433"&gt;Relocating Code and Data Using the KDS GCC Linker File for Kinetis&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2017 01:46:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671079#M8903</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-06-02T01:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing memory size to store variables in FRDM-KL26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671080#M8904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I took a look at the file and I believe point 5 answers my question but that leads to another questions. How do I get access to&amp;nbsp;the *.Id file&amp;nbsp;for my project&amp;nbsp;in KDS? Does this&amp;nbsp;need to be generated through some project settings?&amp;nbsp;I have been looking into a couple documents on google and most of them just explain what a linker file is, but not how I can find it to edit. Would you be able to guide me on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been referencing this document: &lt;A href="https://mcuoneclipse.com/2014/10/06/putting-code-of-files-into-special-section-with-the-gnu-linker/"&gt;https://mcuoneclipse.com/2014/10/06/putting-code-of-files-into-special-section-with-the-gnu-linker/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but I haven't been able to find the settings/files the person talks about.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: I am not using a processor expert project. I found that if I create a new Processor Explorer project using the *.peb file for my board, it will automatically have the *.Id file. Is it possible to use that file and link it in my original project? Or do I need to redo my project as a processor expert project? What is the difference between a PE project and a regular one made using the Project-Generator?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2017 13:41:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671080#M8904</guid>
      <dc:creator>danyonchu</dc:creator>
      <dc:date>2017-06-02T13:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing memory size to store variables in FRDM-KL26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671081#M8905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Danyon,&lt;/P&gt;&lt;P&gt;Could you please send your project to me ?&lt;/P&gt;&lt;P&gt;If your project is made on KDS, it automatic has the linker file :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19689i0615CE36AC4B85B4/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 06:08:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671081#M8905</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-06-05T06:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing memory size to store variables in FRDM-KL26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671082#M8906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not too sure if you would be able to open the project with just these files. Let me know if you need any other files.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 12:34:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671082#M8906</guid>
      <dc:creator>danyonchu</dc:creator>
      <dc:date>2017-06-05T12:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing memory size to store variables in FRDM-KL26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671083#M8907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; Danyon,&lt;/P&gt;&lt;P&gt;Does your project created on KDS, or ported from other IDE?&lt;/P&gt;&lt;P&gt;I can't open it without the whole project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 04:47:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671083#M8907</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-06-06T04:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing memory size to store variables in FRDM-KL26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671084#M8908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It was created using the KDS-project-generator. It is based off of the i2c_slave driver example given in sdk 1.x. I am trying to modify it so that I can transfer large bitmaps to display to the screen. I am trying to receive a 20kbyte bitmap and store it in the slave rather than throwing it right away onto an LCD screen, however am running into the issue of storage space in RAM, which is why I am exploring the possibility of storing the variables in other types of memory.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 12:29:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671084#M8908</guid>
      <dc:creator>danyonchu</dc:creator>
      <dc:date>2017-06-06T12:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing memory size to store variables in FRDM-KL26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671085#M8909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Danyon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please right click your project, then select "Properties", then you can find the linker file path:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19751i844A42120DB3E0A2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2017 03:46:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671085#M8909</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-06-07T03:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing memory size to store variables in FRDM-KL26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671086#M8910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That screen helped a lot. Unfortunately while following the tutorial in the PDF, I still get build errors. I believe this is because I am only relocating my data within RAM. And given the fact that my array is 20kB and I only have 16kB RAM, I get overlapping section errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error code:&lt;/P&gt;&lt;P&gt;make -k -j4 all&lt;/P&gt;&lt;P&gt;Building target: Display_slave_MKL26Z128VLH4.elf&lt;/P&gt;&lt;P&gt;Invoking: Cross ARM C Linker&lt;/P&gt;&lt;P&gt;arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -T ../../../../../../platform/devices/MKL26Z4/linker/gcc/MKL26Z128xxx4_flash.ld -Xlinker --gc-sections -Wl,-Map,"Display_slave_MKL26Z128VLH4.map" -Xlinker -z -Xlinker muldefs --specs=nano.specs -Wall -fno-common -ffunction-sections -fdata-sections -ffreestanding -fno-builtin -Os -mapcs -Xlinker -static -o "Display_slave_MKL26Z128VLH4.elf" -Xlinker --start-group ./utilities/fsl_debug_console.o ./utilities/print_scan.o ./startup/startup.o ./startup/startup_MKL26Z4.o ./startup/system_MKL26Z4.o ./sources/fsl_i2c_irq.o ./sources/main.o ./board/board.o ./board/gpio_pins.o ./board/hardware_init.o ./board/pin_mux.o ../../../../../../lib/ksdk_platform_lib/kds/KL26Z4/debug/libksdk_platform.a -lm -lg -lgcc -lnosys -Xlinker --end-group&lt;/P&gt;&lt;P&gt;c:/freescale/kds_v3/toolchain/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld.exe:../../../../../../platform/devices/MKL26Z4/linker/gcc/MKL26Z128xxx4_flash.ld:77: warning: memory region `m_data_1FFFF000' not declared&lt;/P&gt;&lt;P&gt;c:/freescale/kds_v3/toolchain/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld.exe: section .interrupts loaded at [00000000,000000bf] overlaps section .mySection loaded at [00000000,00004e1f]&lt;/P&gt;&lt;P&gt;collect2.exe: error: ld returned 1 exit status&lt;/P&gt;&lt;P&gt;make: *** [Display_slave_MKL26Z128VLH4.elf] Error 1&lt;/P&gt;&lt;P&gt;makefile:45: recipe for target 'Display_slave_MKL26Z128VLH4.elf' failed&lt;/P&gt;&lt;P&gt;make: Target 'all' not remade because of errors.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2017 12:49:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671086#M8910</guid>
      <dc:creator>danyonchu</dc:creator>
      <dc:date>2017-06-07T12:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing memory size to store variables in FRDM-KL26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671087#M8911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Danyon,&lt;/P&gt;&lt;P&gt;Please check the two error message:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20958i8C6086E828682CDD/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can also send your whole project to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2017 09:02:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671087#M8911</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-06-08T09:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing memory size to store variables in FRDM-KL26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671088#M8912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the project zipped&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2017 12:37:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671088#M8912</guid>
      <dc:creator>danyonchu</dc:creator>
      <dc:date>2017-06-08T12:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing memory size to store variables in FRDM-KL26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671089#M8913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Danyon,&lt;/P&gt;&lt;P&gt;1. You haven't send your&amp;nbsp; linker file .&lt;/P&gt;&lt;P&gt;2. In&amp;nbsp; your code&amp;nbsp; I haven't find the code about&lt;/P&gt;&lt;P&gt;__attribute__ ((section(".xxx"))) xxx;&lt;/P&gt;&lt;P&gt;The two points are mainly we need to check .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 06:42:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671089#M8913</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-06-09T06:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing memory size to store variables in FRDM-KL26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671090#M8914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mistakenly sent you the project when I was reverting back to the original code to make sure everything still worked. Here is the correct version. I actually do not encounter any errors on build in this version. I am not sure what is different, however the code will not run when uploaded to the board. What I mean by this is all of the initializations and setup code that&amp;nbsp;previously worked would no longer run. I verified this by printf's to a terminal such as puTTY. I did notice&amp;nbsp;that on line 61, when I define IMG_LENGTH as 10,000, the code will run. but not when IMG_LENGTH is defined as 20,000. Is this a space limitation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #7f0055; font-size: small;"&gt;&lt;STRONG&gt;#define&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; IMG_LENGTH 10000 //&amp;lt;-this works&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #7f0055; font-size: small;"&gt;&lt;STRONG&gt;#define&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; IMG_LENGTH 20000 //&amp;lt;-this does not work&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 12:34:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671090#M8914</guid>
      <dc:creator>danyonchu</dc:creator>
      <dc:date>2017-06-09T12:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing memory size to store variables in FRDM-KL26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671091#M8915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Danyon,&lt;/P&gt;&lt;P&gt;1&amp;gt; The chip MKL26Z128VLH4 on FRDM-KL26 board only have 16K RAM,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19978iA81A69C50F8018E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So when configure &lt;SPAN style="color: #7f0055; font-size: small;"&gt;&lt;STRONG&gt;#define&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; IMG_LENGTH 20000&lt;/SPAN&gt; , it overflow. May be you can take place the array to&lt;/P&gt;&lt;P&gt;flash into account.&lt;/P&gt;&lt;P&gt;2&amp;gt; And the linker file you send me has a mistake :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20080iAC239BDDC3D00DB9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 08:42:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671091#M8915</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-06-13T08:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing memory size to store variables in FRDM-KL26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671092#M8916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are correct that I do not have enough RAM. This is the reason&amp;nbsp;I have been trying to move this array into flash.&lt;/P&gt;&lt;P&gt;I have made the changes you have mentioned. When copying the .bin file into the microcontroller, i get a&amp;nbsp;'not enough space' error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 12:36:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671092#M8916</guid>
      <dc:creator>danyonchu</dc:creator>
      <dc:date>2017-06-13T12:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing memory size to store variables in FRDM-KL26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671093#M8917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Danyon,&lt;/P&gt;&lt;P&gt;Which .bin file do you copy ? How ?&lt;/P&gt;&lt;P&gt;The MKL26Z128 has 128K flash in total,&amp;nbsp; from the message we can see there is 384K about your file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 06:59:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671093#M8917</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-06-15T06:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing memory size to store variables in FRDM-KL26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671094#M8918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The .bin file that I copy is from the image below. I copy it by dragging it into the drive that appears when you connect the FRDM-KL26Z board&amp;nbsp;through a USB port in the computer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only lines I changed in the linker file were:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Specify the memory areas */&lt;/P&gt;&lt;P&gt;MEMORY&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; m_interrupts&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x00000000, LENGTH = 0x00000100&lt;BR /&gt;&amp;nbsp; m_flash_config&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x00000400, LENGTH = 0x00000010&lt;BR /&gt;&amp;nbsp; m_text&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x00000410, LENGTH = 0x0001FBF0&lt;BR /&gt;&amp;nbsp; m_data&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RW)&amp;nbsp; : ORIGIN = 0x1FFFF000, LENGTH = 0x00004000&lt;/P&gt;&lt;P&gt;&amp;nbsp;m_data_1FFF0000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RW)&amp;nbsp; : ORIGIN = 0x1FFF0000, LENGTH = 0x00006000&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;/* Define output sections */&lt;BR /&gt;SECTIONS&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;/*.mySection : { &lt;BR /&gt;&amp;nbsp;&amp;nbsp;*(.myRAM) &lt;BR /&gt;&amp;nbsp;} &amp;gt; m_data_1FFF0000*/&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this only declares a mem space of ~25KB. If these lines are removed, I can upload the code without an error to the FRDM board. What is going on? How can the code size be increased by at least 226KB to reach 384KB?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/22319iC4E2E9463DC31EBB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 12:31:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671094#M8918</guid>
      <dc:creator>danyonchu</dc:creator>
      <dc:date>2017-06-15T12:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing memory size to store variables in FRDM-KL26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671095#M8919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Danyon,&lt;/P&gt;&lt;P&gt;1) What about this memory ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/22577iFCB9C72C3C625E7A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please check the SRAM ranges on Reference manual of your chip.&lt;/P&gt;&lt;P&gt;2) About the chip of " MKL26Z128VLH4", the largest internal FLASH is 128K , largest internal SRAM is 16KB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jun 2017 09:45:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671095#M8919</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-06-16T09:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing memory size to store variables in FRDM-KL26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671096#M8920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will be looking into external memory as well as SPI communication in order to transfer the information at faster speeds rather than to store it in the microcontroller&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jun 2017 12:31:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Increasing-memory-size-to-store-variables-in-FRDM-KL26Z/m-p/671096#M8920</guid>
      <dc:creator>danyonchu</dc:creator>
      <dc:date>2017-06-16T12:31:12Z</dc:date>
    </item>
  </channel>
</rss>

