<?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: Application note on memory usage in DSC in Digital Signal Controllers</title>
    <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248870#M37</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ankur, I think that both me and John focused technical explanation, however, I read again your question, and I think that it is&amp;nbsp; similar to a problem I had in a project with DSC chip.&lt;/P&gt;&lt;P&gt;I assume that you are using CW 10.5, if it is possible, I advise your customer to start a new project and to define again all the chip components, then to add his code.&lt;/P&gt;&lt;P&gt;It worked for me, the 10.5 PE re-build the project and it started to work good. I don't understand what caused it.&lt;/P&gt;&lt;P&gt;It took me a full working day to re-build it, but it was after 2 months of digging the code to repair the problem, without any success from the support team (and I can't blame them, it is not an easy problem to solve in remote mode).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Mar 2014 00:17:16 GMT</pubDate>
    <dc:creator>Ben</dc:creator>
    <dc:date>2014-03-05T00:17:16Z</dc:date>
    <item>
      <title>Application note on memory usage in DSC</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248864#M31</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any application note or a white paper as to how memory segmentation works in case of DSCs. One of our customers is facing lot of issues of runtime constants updation or wrong updation of variables in memory.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 12:21:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248864#M31</guid>
      <dc:creator>ankur_kala</dc:creator>
      <dc:date>2014-02-20T12:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Application note on memory usage in DSC</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248865#M32</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ankur, I did not see any document specific for using the memory, but tell the customer to make sure that if he used the PE for initialization, there is routine which copy constants to RAM while initialization and working from RAM. It works good, do not modify it.&lt;/P&gt;&lt;P&gt;Also, I recommend to use CW 10.5 with the service pack. I faced problem with constants in memory too wile working with old versions. (with 568257)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 14:46:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248865#M32</guid>
      <dc:creator>Ben</dc:creator>
      <dc:date>2014-02-20T14:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: Application note on memory usage in DSC</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248866#M33</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ankur. You can refer to AN4329, which shows how to relocate code and data using the codewarrior LCF (linker command file) for CodeFire. Even though this document aims to CodeFire, it also applies to DSC. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 05:48:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248866#M33</guid>
      <dc:creator>sutter_zhou</dc:creator>
      <dc:date>2014-02-28T05:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Application note on memory usage in DSC</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248867#M34</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Xuwei, this AN helped me to locate a memory segments in external memory.&lt;/P&gt;&lt;P&gt;For the internal memory - the PE made a good work for me so far.&lt;/P&gt;&lt;P&gt;The problem with changing the LCF file, as that every time you run the PE, you'll have to re-edit this file again.&lt;/P&gt;&lt;P&gt;If you have a tip for this case, please advise&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 10:04:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248867#M34</guid>
      <dc:creator>Ben</dc:creator>
      <dc:date>2014-02-28T10:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Application note on memory usage in DSC</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248868#M35</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks for your replies. However, for DSCs the cmd file reads like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #### RAM - 4KB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .p_flash_ROM_data&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x000400, LENGTH = 0x000400&amp;nbsp;&amp;nbsp;&amp;nbsp; # internal xRAM data mirror&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ## Data Memory space &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .x_internal_RAM_data&amp;nbsp;&amp;nbsp; (RW)&amp;nbsp; : ORIGIN = 0x000000, LENGTH = 0x000800 # alias of 1000 for program space&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;How exactly does RAM mirroring work for ROM data section. All const data is placed in the ROM segment. Do I need to copy this data distinctly into RAM at runtime or do I need to keep a RAM segment isolated for the constants.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;the customer at his end is trying to simulate a sine wave and has a const array defined for 512 bytes. He also has certain other arrays defined as const. he is using optimization level 2 for confining code in the given flash size.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/johnlwinters"&gt;johnlwinters&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 06:47:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248868#M35</guid>
      <dc:creator>ankur_kala</dc:creator>
      <dc:date>2014-03-03T06:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Application note on memory usage in DSC</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248869#M36</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The project stationery contains routines that prepare the environment for the C language.&lt;/P&gt;&lt;P&gt;This involves setting up the stack, trimming the frequency and perhaps other aspects of the hardware, clearing portions of RAM that have no initial value, and copying portions of RAM that DO have initial values from the ROM image of these varialbes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The detailed mechanism is contained in the linker command file, and the startup code.&amp;nbsp; The startup code is not located in the same folder as the user code; it is also not located with the generated code.&amp;nbsp; The generated code does contain a program with a name such as CPU.c which will go to the startup code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The startup code calls the main program after the system is all set up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can modify the debugger properties (debug configuration) so that it breaks at the very first instruction executed if you wish to trace this through.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 16:49:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248869#M36</guid>
      <dc:creator>johnlwinters</dc:creator>
      <dc:date>2014-03-03T16:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Application note on memory usage in DSC</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248870#M37</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ankur, I think that both me and John focused technical explanation, however, I read again your question, and I think that it is&amp;nbsp; similar to a problem I had in a project with DSC chip.&lt;/P&gt;&lt;P&gt;I assume that you are using CW 10.5, if it is possible, I advise your customer to start a new project and to define again all the chip components, then to add his code.&lt;/P&gt;&lt;P&gt;It worked for me, the 10.5 PE re-build the project and it started to work good. I don't understand what caused it.&lt;/P&gt;&lt;P&gt;It took me a full working day to re-build it, but it was after 2 months of digging the code to repair the problem, without any success from the support team (and I can't blame them, it is not an easy problem to solve in remote mode).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 00:17:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248870#M37</guid>
      <dc:creator>Ben</dc:creator>
      <dc:date>2014-03-05T00:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Application note on memory usage in DSC</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248871#M38</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, always start with a clean working project and add your code, testing at every step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've learned to mostly discard projects that do not work, unless I am converging two sets of projects, working and non-working to the minimum difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By creating a new project and adding the components, you are assured of a clean start.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another trick that sometimes works is to delete the generated code directory, then regenerate the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This cleans up and Processor Expert code that may not be consistent with the version of CW you are using.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 01:19:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248871#M38</guid>
      <dc:creator>johnlwinters</dc:creator>
      <dc:date>2014-03-05T01:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Application note on memory usage in DSC</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248872#M39</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/johnlwinters"&gt;johnlwinters&lt;/A&gt; and Ben,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The customer in this case is not using PE to generate the peripheral initialization routines. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 05:20:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248872#M39</guid>
      <dc:creator>ankur_kala</dc:creator>
      <dc:date>2014-03-06T05:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Application note on memory usage in DSC</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248873#M40</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;In any case, he is probably relying on the initialization code generated by the stationery even in the case where PEx is not even chosen.&lt;/P&gt;&lt;P&gt;These routines, which work in conjunction with the linker command files, do not normally come to the attention of the programmer, since the stationery is configured to break at main, after the execution of these routines.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 14:43:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248873#M40</guid>
      <dc:creator>johnlwinters</dc:creator>
      <dc:date>2014-03-06T14:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Application note on memory usage in DSC</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248874#M41</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;In any case, he is probably relying on the initialization code generated by the stationery even in the case where PEx is not even chosen.&lt;/P&gt;&lt;P&gt;These routines, which work in conjunction with the linker command files, do not normally come to the attention of the programmer, since the stationery is configured to break at main, after the execution of these routines.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 14:44:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248874#M41</guid>
      <dc:creator>johnlwinters</dc:creator>
      <dc:date>2014-03-06T14:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: Application note on memory usage in DSC</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248875#M42</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to close this thread, the issue was finally found in the linker file generated by the tool. The constant section mapped in the RAM from the Flash was defined halfway from the RAM which rather must have pointed to the start of RAM. As a result on runtime, after mapping the constants on the RAM, the runtime variables were overwriting this section (since the section was shared for both). The issue was resolved by mapping the section to the start of the RAM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2014 04:34:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248875#M42</guid>
      <dc:creator>ankur_kala</dc:creator>
      <dc:date>2014-07-25T04:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Application note on memory usage in DSC</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248876#M43</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ankur,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the update; the tool in this case is the CodeWarrior stationery, or the PEx stationery?&amp;nbsp; Have you reported this issue into the appropriate ticket/tracking system, such as CQ or other newer system?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2014 22:24:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248876#M43</guid>
      <dc:creator>johnlwinters</dc:creator>
      <dc:date>2014-07-25T22:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Application note on memory usage in DSC</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248877#M44</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes the issue was seen in CW, with PE correct linker files were getting generated. This has already been logged with the CW team. Kamil has already raised the ticket.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2014 10:19:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248877#M44</guid>
      <dc:creator>ankur_kala</dc:creator>
      <dc:date>2014-07-31T10:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Application note on memory usage in DSC</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248878#M45</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am experiencing similar errors on run-time. I am not using PE.&lt;/P&gt;&lt;P&gt;Can anyone share the correct linker file for RAM mapping in MC56F84763??&lt;/P&gt;&lt;P&gt;Attached is the linker file I m currently using.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 07:38:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248878#M45</guid>
      <dc:creator>sumanbhandari</dc:creator>
      <dc:date>2015-08-28T07:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Application note on memory usage in DSC</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248879#M46</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You used CodeWarrior to generate a stationery for 56F84763 but without PE, right? Generally speaking, there'd be no problems using this stationery to develop your project. But based on my experiences, the stationery without PE seems to be not updated everytime CW is updated, but the stationery with PE is updated properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I recommand you to update your CW environment first (Help -&amp;gt; Check for updates), this update is crucial because some bugs are fixed in the start up file. Then you can generate a project with PE, extract the linker file, 56F83x_init.asm and vectors.c to your own project without PE to replace the corresponding files. Of course there're some necessary modifications in vectors.c.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 04:26:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248879#M46</guid>
      <dc:creator>sutter_zhou</dc:creator>
      <dc:date>2015-08-31T04:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Application note on memory usage in DSC</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248880#M47</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is your problem fixed.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ankur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 09:31:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248880#M47</guid>
      <dc:creator>ankur_kala</dc:creator>
      <dc:date>2015-09-14T09:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Application note on memory usage in DSC</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248881#M48</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ankur,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I did an update of CodeWarrior and noticed that the linker file changed from the previous version.&lt;/P&gt;&lt;P&gt;The main difference I noticed is as follows:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Old version linker file :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;.p_flash_ROM_data&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x001800, LENGTH = 0x001800&amp;nbsp;&amp;nbsp;&amp;nbsp; # internal xRAM data mirror &lt;/P&gt;&lt;P&gt;&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;&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;&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;&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;&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;&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;&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;&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; # for pROM-to-xRAM copy&lt;/P&gt;&lt;P&gt;## Data Memory space&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;.x_internal_RAM_code&amp;nbsp;&amp;nbsp; (RW)&amp;nbsp; : ORIGIN = 0x000000, LENGTH = 0x001800 # alias of 60000 for program space&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;.x_internal_RAM_data&amp;nbsp;&amp;nbsp; (RW)&amp;nbsp; : ORIGIN = 0x001800, LENGTH = 0x001800 # alias of 60000 for program space&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;New version linker file:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;.p_flash_ROM_data&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x000000, LENGTH = 0x003000&amp;nbsp;&amp;nbsp;&amp;nbsp; # internal xRAM data mirror&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;&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;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&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;&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;&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;&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;&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;&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;&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;&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; # for pROM-to-xRAM copy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;## Data Memory space&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;#.x_internal_RAM_code&amp;nbsp;&amp;nbsp; (RW)&amp;nbsp; : ORIGIN = 0x000000, LENGTH = 0x001800 # alias of 60000 for program space&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;.x_internal_RAM_data&amp;nbsp;&amp;nbsp; (RW)&amp;nbsp; : ORIGIN = 0x000000, LENGTH = 0x003000 # alias of 60000 for program space&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this change we did see some improvements. But the data corruption still occurs intermittently and is difficult to catch and debug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are currently using 100Mhz clock, could reducing the clock frequency help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Suman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 13:24:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248881#M48</guid>
      <dc:creator>sumanbhandari</dc:creator>
      <dc:date>2015-09-22T13:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Application note on memory usage in DSC</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248882#M49</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Suman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the latest update is the right approach to go. what kind of data corruption are you seeing now. can you attach the linker file and if possible the map file generated from your project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ankur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 04:33:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248882#M49</guid>
      <dc:creator>ankur_kala</dc:creator>
      <dc:date>2015-09-23T04:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: Application note on memory usage in DSC</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248883#M50</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;Yes the update helped a little.&lt;/P&gt;&lt;P&gt;We use a global structure array in our code and intermittently when the global structure members are accessed or passed as a parameters the values get corrupted.&lt;/P&gt;&lt;P&gt;Attached is the linker file.&lt;/P&gt;&lt;P&gt;As suggested earlier this linker file is generated by updated PE and used in static our project without PE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 11:01:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/Application-note-on-memory-usage-in-DSC/m-p/248883#M50</guid>
      <dc:creator>sumanbhandari</dc:creator>
      <dc:date>2015-09-23T11:01:36Z</dc:date>
    </item>
  </channel>
</rss>

