<?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>ColdFire/68K Microcontrollers and ProcessorsのトピックAccessing SDRAM on WildFire 5282 (Coldfire 5282)</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Accessing-SDRAM-on-WildFire-5282-Coldfire-5282/m-p/130792#M765</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff0000;"&gt;This message contains an entire topic ported&amp;nbsp;from the WildRice - Coldfire forum.&amp;nbsp; Freescale has received the approval from the WildRice administrator on seeding the Freescale forum with messages.&amp;nbsp; The original message and all replies are in this single message. We have seeded this new forum with selected information that we expect will be of value as you search for answers to your questions.&amp;nbsp;&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Freescale assumes no responsibility whatsoever with respect to Posted Material.&amp;nbsp; For additional information, please see the &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.freescale.com%2Ffiles%2Fabstract%2Fhelp_page%2FTERMSOFUSE.html" rel="nofollow" target="_blank"&gt;Terms of Use - Message Boards and Community Forums&lt;/A&gt;.&amp;nbsp; Thank You and Enjoy the Forum!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN&gt;Mar 15, 2006, 3:17 AM &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Post #1 of 2 (17 views) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Copy Shortcut &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ColdFire] Accessing SDRAM on WildFire 5282 (Coldfire 5282) Can't Post &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;--------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi there, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm currently programming the WildFire 5282 board, which uses the &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ColdFire 5282 microcontroller. Programming environment is eclipse, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;programming language is C (there is also a wildfire run time library &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;available). (Furthermore, I'm a newbie in programming microcontrollers...) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When allocating variables (e.g., an "int"), they seem to be stored &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;within the user stack (the board's Internal SRAM, size: 64 KB). But for &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a programme, I'd like to store the variables in the board's SDRAM (16 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MB). But I do not know, how to tell the programme to allocate variables &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in SDRAM. Can anyone help me? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TIA, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Henry &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-------------------------------------------------------------------- &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mar 15, 2006, 7:04 AM &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Post #2 of 2 (16 views) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Copy Shortcut &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RE: [ColdFire] Accessing SDRAM on WildFire 5282 (Coldfire 5282) [In reply to] Can't Post &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;--------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Henry, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(non-static) Variables allocated within a function scope are allocated off &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the stack. Statics and variables allocated at the module or global scope &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;are generally not allocated off the stack. Your solution may be as simple &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;as defining the variables outside the body of a function or declaring them &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;as static. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The memory space for static allocation is usually, I believe, determined by &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a linker script. The exact format for the linker script can vary greatly &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from one compiler/linker to the next. Perhaps you have some sample code, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;build files, and memory maps for the WildFire board which you could examine? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;John &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;//-------------------------------------- &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The information transmitted is intended only for the person or entity to &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;which it is addressed and may contain confidential and/or privileged &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;material. Any review, retransmission, dissemination or other use of, or &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;taking of any action in reliance upon, this information by persons or &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;entities other than the intended recipient is prohibited. If you received &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;this in error, please contact the sender and delete the material from any &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;computer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-----Original Message----- &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;From: Henry&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sent: Wednesday, March 15, 2006 6:18 AM &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Subject: [ColdFire] Accessing SDRAM on WildFire 5282 (Coldfire 5282) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi there, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm currently programming the WildFire 5282 board, which uses the &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ColdFire 5282 microcontroller. Programming environment is eclipse, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;programming language is C (there is also a wildfire run time library &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;available). (Furthermore, I'm a newbie in programming microcontrollers...) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When allocating variables (e.g., an "int"), they seem to be stored &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;within the user stack (the board's Internal SRAM, size: 64 KB). But for &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a programme, I'd like to store the variables in the board's SDRAM (16 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MB). But I do not know, how to tell the programme to allocate variables &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in SDRAM. Can anyone help me? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TIA, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Henry &lt;/SPAN&gt;&lt;P&gt;Message Edited by Dietrich on &lt;SPAN class="date_text"&gt;03-31-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;03:37 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Message Edited by Dietrich on &lt;SPAN class="date_text"&gt;04-01-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;11:21 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Message Edited by Dietrich on &lt;SPAN class="date_text"&gt;04-04-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;09:20 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 01 Apr 2006 05:26:24 GMT</pubDate>
    <dc:creator>Dietrich</dc:creator>
    <dc:date>2006-04-01T05:26:24Z</dc:date>
    <item>
      <title>Accessing SDRAM on WildFire 5282 (Coldfire 5282)</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Accessing-SDRAM-on-WildFire-5282-Coldfire-5282/m-p/130792#M765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff0000;"&gt;This message contains an entire topic ported&amp;nbsp;from the WildRice - Coldfire forum.&amp;nbsp; Freescale has received the approval from the WildRice administrator on seeding the Freescale forum with messages.&amp;nbsp; The original message and all replies are in this single message. We have seeded this new forum with selected information that we expect will be of value as you search for answers to your questions.&amp;nbsp;&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Freescale assumes no responsibility whatsoever with respect to Posted Material.&amp;nbsp; For additional information, please see the &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.freescale.com%2Ffiles%2Fabstract%2Fhelp_page%2FTERMSOFUSE.html" rel="nofollow" target="_blank"&gt;Terms of Use - Message Boards and Community Forums&lt;/A&gt;.&amp;nbsp; Thank You and Enjoy the Forum!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN&gt;Mar 15, 2006, 3:17 AM &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Post #1 of 2 (17 views) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Copy Shortcut &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ColdFire] Accessing SDRAM on WildFire 5282 (Coldfire 5282) Can't Post &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;--------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi there, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm currently programming the WildFire 5282 board, which uses the &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ColdFire 5282 microcontroller. Programming environment is eclipse, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;programming language is C (there is also a wildfire run time library &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;available). (Furthermore, I'm a newbie in programming microcontrollers...) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When allocating variables (e.g., an "int"), they seem to be stored &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;within the user stack (the board's Internal SRAM, size: 64 KB). But for &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a programme, I'd like to store the variables in the board's SDRAM (16 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MB). But I do not know, how to tell the programme to allocate variables &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in SDRAM. Can anyone help me? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TIA, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Henry &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-------------------------------------------------------------------- &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mar 15, 2006, 7:04 AM &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Post #2 of 2 (16 views) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Copy Shortcut &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RE: [ColdFire] Accessing SDRAM on WildFire 5282 (Coldfire 5282) [In reply to] Can't Post &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;--------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Henry, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(non-static) Variables allocated within a function scope are allocated off &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the stack. Statics and variables allocated at the module or global scope &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;are generally not allocated off the stack. Your solution may be as simple &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;as defining the variables outside the body of a function or declaring them &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;as static. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The memory space for static allocation is usually, I believe, determined by &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a linker script. The exact format for the linker script can vary greatly &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from one compiler/linker to the next. Perhaps you have some sample code, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;build files, and memory maps for the WildFire board which you could examine? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;John &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;//-------------------------------------- &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The information transmitted is intended only for the person or entity to &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;which it is addressed and may contain confidential and/or privileged &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;material. Any review, retransmission, dissemination or other use of, or &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;taking of any action in reliance upon, this information by persons or &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;entities other than the intended recipient is prohibited. If you received &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;this in error, please contact the sender and delete the material from any &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;computer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-----Original Message----- &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;From: Henry&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sent: Wednesday, March 15, 2006 6:18 AM &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Subject: [ColdFire] Accessing SDRAM on WildFire 5282 (Coldfire 5282) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi there, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm currently programming the WildFire 5282 board, which uses the &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ColdFire 5282 microcontroller. Programming environment is eclipse, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;programming language is C (there is also a wildfire run time library &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;available). (Furthermore, I'm a newbie in programming microcontrollers...) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When allocating variables (e.g., an "int"), they seem to be stored &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;within the user stack (the board's Internal SRAM, size: 64 KB). But for &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a programme, I'd like to store the variables in the board's SDRAM (16 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MB). But I do not know, how to tell the programme to allocate variables &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in SDRAM. Can anyone help me? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TIA, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Henry &lt;/SPAN&gt;&lt;P&gt;Message Edited by Dietrich on &lt;SPAN class="date_text"&gt;03-31-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;03:37 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Message Edited by Dietrich on &lt;SPAN class="date_text"&gt;04-01-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;11:21 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Message Edited by Dietrich on &lt;SPAN class="date_text"&gt;04-04-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;09:20 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Apr 2006 05:26:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Accessing-SDRAM-on-WildFire-5282-Coldfire-5282/m-p/130792#M765</guid>
      <dc:creator>Dietrich</dc:creator>
      <dc:date>2006-04-01T05:26:24Z</dc:date>
    </item>
  </channel>
</rss>

