<?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: [56F835x] Small Data Memory (sdm) and pRAM. in Other NXP Products</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/56F835x-Small-Data-Memory-sdm-and-pRAM/m-p/129621#M54</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Sorry for the delay in replying. It took a while for me to track down the information.&lt;BR /&gt;&lt;BR /&gt;If you compile your program using the small memory model, it can only go in the first 64K of memory. That's because the compiler generates only 16-bit addresses for JSRs and hardware-supported loops. The linker can't translate these into 24-bit addresses.&lt;BR /&gt;&lt;BR /&gt;---Tom&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Sep 2006 22:47:27 GMT</pubDate>
    <dc:creator>J2MEJediMaster</dc:creator>
    <dc:date>2006-09-13T22:47:27Z</dc:date>
    <item>
      <title>[56F835x] Small Data Memory (sdm) and pRAM.</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/56F835x-Small-Data-Memory-sdm-and-pRAM/m-p/129620#M53</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm wondering if it's possible to use program ram (mapping at 0x02F800) if the project is compiled on small data memory ?&lt;/DIV&gt;&lt;DIV&gt;And is it possible to use sdm for bootloader (bootflash is mapping at 0x02000) ?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks for help.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 15:19:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/56F835x-Small-Data-Memory-sdm-and-pRAM/m-p/129620#M53</guid>
      <dc:creator>jmn</dc:creator>
      <dc:date>2006-09-08T15:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: [56F835x] Small Data Memory (sdm) and pRAM.</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/56F835x-Small-Data-Memory-sdm-and-pRAM/m-p/129621#M54</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Sorry for the delay in replying. It took a while for me to track down the information.&lt;BR /&gt;&lt;BR /&gt;If you compile your program using the small memory model, it can only go in the first 64K of memory. That's because the compiler generates only 16-bit addresses for JSRs and hardware-supported loops. The linker can't translate these into 24-bit addresses.&lt;BR /&gt;&lt;BR /&gt;---Tom&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 22:47:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/56F835x-Small-Data-Memory-sdm-and-pRAM/m-p/129621#M54</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2006-09-13T22:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: [56F835x] Small Data Memory (sdm) and pRAM.</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/56F835x-Small-Data-Memory-sdm-and-pRAM/m-p/129622#M55</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Hello!&lt;BR /&gt;&lt;BR /&gt;I tried out putting a function written in C code directly into pRAM by specifying an according section in the linker file:&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;DIV class="msg_source_code"&gt;&lt;DIV class="text_smallest"&gt;Code:&lt;/DIV&gt;&lt;PRE&gt; .executing_code_ram : {  # Test for putting code explicitely into program RAM:  OBJECT (Ftest_function, main.c)  } &amp;gt; .p_internal_RAM&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;and the function worked without problems, even using the small data model.&lt;BR /&gt;&lt;BR /&gt;It seems that the program memory is safely useable up to 19bit addressing (7FFFFh) which covers the relevant program address space for the 56F83xx family.&lt;BR /&gt;&lt;BR /&gt;There is an option in Codewarrior Target properties:&lt;BR /&gt;"sdm internal memory with pROM-to-xRAM copy" -&amp;gt; Language Settings -&amp;gt; M56800E Assembler,&lt;BR /&gt;where you can specify:&lt;BR /&gt;&lt;BR /&gt;Default Data Model: 16bit&lt;BR /&gt;Default Program Model: 19bit&lt;BR /&gt;&lt;BR /&gt;Could you please confirm, that this option guarantees a proper compilation and execution in the program memory range up to 7FFFFh while using the small data model?&lt;BR /&gt;I would not like switching my program to the large data model due to the lower performance and higher memory requirements just for beeing able to address code above 64K.&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;&lt;BR /&gt;PS.: I am programming for 56F8323 with CodeWarrior for DSC56800/E version 8.0&lt;BR /&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2008 00:39:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/56F835x-Small-Data-Memory-sdm-and-pRAM/m-p/129622#M55</guid>
      <dc:creator>Joschi</dc:creator>
      <dc:date>2008-01-22T00:39:15Z</dc:date>
    </item>
  </channel>
</rss>

