<html><head><base href="x-msg://3/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 16 Aug 2011, at 04:39, John Clymer wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Verdana; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">So, after some work, I have a compiler working for the LM3S8962 board (a successful Blinking LED :-)  )<br><br>However, as I was going through some of the various datasheets, I see that all the Stellaris controllers have similar memory maps.  That is:<br><br>A) Each type of device has a specific spot in the memory map to sit at.<br>B) If a device has less or no device of a given type, that memory map is "Reserved"<br>C) The SRAM and FLASH memories always start at the same address<br><br>As such, I'm leaning towards:<br><br>{$FLASH_START xxxxx}<br>{$FLASH_SIZE xxxxx }<br>{$SRAM_START xxxxx }<br>{$SRAM_SIZE xxxxx }<br><br>By doing this, only 1 config will work for all stellaris parts (as was originally laid out in the cpuinfo file.)<br><br>I'm also looking to do a survey of all STM32 devices to see if a similar situation exists.  I think, for all Cortex M3 devices of a particular manufacturer, a similar scheme can be used.  The M3 specs make requirements that limit the "flexibility" to come up with oddball memory layouts.<br></div></div></div></span></blockquote><div><br></div>It is clear from the ARM cortex m3 tech ref manual that all derivatives (all manufacturers) have internal code starting at $00000000 and ram starting at $20000000, so only two parameters are required for all possible cortex m3 parts, written either as ram top, flash top, or ram size, flash size.</div><div><br></div><div>Geoffrey<br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Verdana; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br>John Clymer<br></div></div>_______________________________________________<br>fpc-devel maillist  -  <a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a><br><a href="http://lists.freepascal.org/mailman/listinfo/fpc-devel">http://lists.freepascal.org/mailman/listinfo/fpc-devel</a><br></div></span></blockquote></div><br></body></html>