<?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中的主题 Re: what these lines mean in .lcf file</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/what-these-lines-mean-in-lcf-file/m-p/181852#M7416</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My issue is that I would like to load my application into flash at a specific address (my goal: eventually download a 2nd application to yet some other flash location, and when the system is reset, execute using this newly downloaded application).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my .lcf link control file, I specify:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MEMORY {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; vectorrom&amp;nbsp;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x00002000, LENGTH = 0x00000400&lt;BR /&gt;&amp;nbsp;&amp;nbsp; cfmprotrom&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x00002400, LENGTH = 0x00000020&lt;BR /&gt;&amp;nbsp;&amp;nbsp; code&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x00002A00, LENGTH = 0x0003FB00&lt;BR /&gt;&amp;nbsp;&amp;nbsp; vectorram&amp;nbsp;&amp;nbsp; (RWX) : ORIGIN = 0x20000000, LENGTH = 0x00000400&lt;BR /&gt;&amp;nbsp;&amp;nbsp; userram&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RWX) : ORIGIN = 0x20000400, LENGTH = 0x00007C00&lt;BR /&gt;}&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will load and launch my application in flash from 0x2A00. The vector table is located in 0x2000 which I verify via the debugger, data is valid. But the system crashes ("Exception name vector: Address Error")&amp;nbsp; if I "Run" it or attempt to step through the _startup entry routine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If vectorrom is not at 0x00000000 then the system crashes - always. If the vectorrom is at the ZERO address, the system runs fine, entering the "code" as per its specification in the MEMORY section. So I can run code from anywhere in flash. But I need to have the vector table in flash also at a specific location in flash.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help to get me past this problem would be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Jul 2009 01:33:37 GMT</pubDate>
    <dc:creator>EdProulx</dc:creator>
    <dc:date>2009-07-31T01:33:37Z</dc:date>
    <item>
      <title>what these lines mean in .lcf file</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/what-these-lines-mean-in-lcf-file/m-p/181850#M7414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is my .lcf file and someting puzzling me...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Sample Linker Command File for CodeWarrior for ColdFire&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Memory ranges&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;MEMORY {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;vectorrom (RX) : ORIGIN = 0x00000000, LENGTH = 0x00000420&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;code (RX) : ORIGIN = 0x00000500, LENGTH = 0x0001Fae0&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;my (RX) : ORIGIN = 0x0001fae0, LENGTH = 0x00000100&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;vectorram (RWX) : ORIGIN = 0x20000000, LENGTH = 0x00000400&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;userram (RWX) : ORIGIN = 0x20000400, LENGTH = 0x00007c00&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SECTIONS {&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Heap and Stack sizes definition&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;___heap_size = 0x1000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;___stack_size = 0x1000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# MCF5213 Derivative Memory map definitions from linker command files:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# __IPSBAR, __RAMBAR, __RAMBAR_SIZE, __FLASHBAR, __FLASHBAR_SIZE linker&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# symbols must be defined in the linker command file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Memory Mapped Registers (IPSBAR= 0x40000000)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;___IPSBAR = 0x40000000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# 32 Kbytes Internal SRAM&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;___RAMBAR = 0x20000000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;___RAMBAR_SIZE = 0x00008000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# 256 KByte Internal Flash Memory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;___FLASHBAR = 0x00000000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;___FLASHBAR_SIZE = 0x00040000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;.userram : {} &amp;gt; userram&lt;BR /&gt;.code : {} &amp;gt; code&lt;BR /&gt;.vectorram : {} &amp;gt; vectorram&lt;BR /&gt;.vectorrom : {} &amp;gt; vectorrom&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;.absd:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;*(.MacAddr)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;= ALIGN (0x4);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;} &amp;gt; my&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.vectors&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mcf5xxx_vectors.s (.text)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;. = ALIGN (0x4);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;} &amp;gt;&amp;gt; vectorrom&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;.text :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*(.text)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;. = ALIGN (0x4);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;*(.rodata)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;. = ALIGN (0x4);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;___ROM_AT = .;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;___DATA_ROM = .;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;} &amp;gt;&amp;gt; code&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.data : AT(___ROM_AT)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;___DATA_RAM = .;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;. = ALIGN(0x4);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*(.exception)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;. = ALIGN(0x4);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;__exception_table_start__ = .;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;EXCEPTION&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;__exception_table_end__ = .;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;___sinit__ = .;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;STATICINIT&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;__START_DATA = .;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;*(.data)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;. = ALIGN (0x4);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;__END_DATA = .;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;__START_SDATA = .;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*(.sdata)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;. = ALIGN (0x4);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;__END_SDATA = .;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;___DATA_END = .;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;__SDA_BASE = .;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;. = ALIGN (0x4);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;} &amp;gt;&amp;gt; userram&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;.bss :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;___BSS_START = .;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;__START_SBSS = .;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*(.sbss)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;. = ALIGN (0x4);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*(SCOMMON)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;__END_SBSS = .;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;__START_BSS = .;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*(.bss)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;. = ALIGN (0x4);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*(COMMON)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;__END_BSS = .;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;___BSS_END = .;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;. = ALIGN(0x4);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;} &amp;gt;&amp;gt; userram&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;.custom :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;___HEAP_START = .;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;___heap_addr = ___HEAP_START;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;___HEAP_END = ___HEAP_START + ___heap_size;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;___SP_END = ___HEAP_END;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;___SP_INIT = ___SP_END + ___stack_size;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;. = ALIGN (0x4);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;} &amp;gt;&amp;gt; userram&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;___VECTOR_RAM = ADDR(.vectorram);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;__SP_INIT = ___SP_INIT;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;_romp_at = ___ROM_AT + SIZEOF(.data);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.romp : AT(_romp_at)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;__S_romp = _romp_at;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;WRITEW(___ROM_AT);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;WRITEW(ADDR(.data));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;WRITEW(SIZEOF(.data));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;WRITEW(0);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;WRITEW(0);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;WRITEW(0);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #FF6600;"&gt;what these lines mean?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;.userram : {} &amp;gt; userram&lt;BR /&gt;.code : {} &amp;gt; code&lt;BR /&gt;.vectorram : {} &amp;gt; vectorram&lt;BR /&gt;.vectorrom : {} &amp;gt; vectorrom&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I delete them?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I also define a section myself and not use command like that and it is ok!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;why? What is the different between my section and others?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone explain it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;doom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 May 2009 08:45:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/what-these-lines-mean-in-lcf-file/m-p/181850#M7414</guid>
      <dc:creator>doom</dc:creator>
      <dc:date>2009-05-16T08:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: what these lines mean in .lcf file</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/what-these-lines-mean-in-lcf-file/m-p/181851#M7415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The lines&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;.userram : {} &amp;gt; userram&lt;BR /&gt;.code : {} &amp;gt; code&lt;BR /&gt;.vectorram : {} &amp;gt; vectorram&lt;BR /&gt;.vectorrom : {} &amp;gt; vectorrom&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#808080"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Indicates &amp;nbsp;that you are placing the section .userram from your application in the memory area userram, section .code into memory area code, section .vectorram in memory area vectorram and section vectorrom in section vectorrom.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are sure these sections are not used at all in your application, you can remove the lines from the .lcf file.&lt;/P&gt;&lt;P&gt;I would try to link the application as it is and check the generated .map file to make sure the sections really do not exist in your final application.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 May 2009 17:17:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/what-these-lines-mean-in-lcf-file/m-p/181851#M7415</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2009-05-17T17:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: what these lines mean in .lcf file</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/what-these-lines-mean-in-lcf-file/m-p/181852#M7416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My issue is that I would like to load my application into flash at a specific address (my goal: eventually download a 2nd application to yet some other flash location, and when the system is reset, execute using this newly downloaded application).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my .lcf link control file, I specify:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MEMORY {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; vectorrom&amp;nbsp;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x00002000, LENGTH = 0x00000400&lt;BR /&gt;&amp;nbsp;&amp;nbsp; cfmprotrom&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x00002400, LENGTH = 0x00000020&lt;BR /&gt;&amp;nbsp;&amp;nbsp; code&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x00002A00, LENGTH = 0x0003FB00&lt;BR /&gt;&amp;nbsp;&amp;nbsp; vectorram&amp;nbsp;&amp;nbsp; (RWX) : ORIGIN = 0x20000000, LENGTH = 0x00000400&lt;BR /&gt;&amp;nbsp;&amp;nbsp; userram&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RWX) : ORIGIN = 0x20000400, LENGTH = 0x00007C00&lt;BR /&gt;}&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will load and launch my application in flash from 0x2A00. The vector table is located in 0x2000 which I verify via the debugger, data is valid. But the system crashes ("Exception name vector: Address Error")&amp;nbsp; if I "Run" it or attempt to step through the _startup entry routine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If vectorrom is not at 0x00000000 then the system crashes - always. If the vectorrom is at the ZERO address, the system runs fine, entering the "code" as per its specification in the MEMORY section. So I can run code from anywhere in flash. But I need to have the vector table in flash also at a specific location in flash.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help to get me past this problem would be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2009 01:33:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/what-these-lines-mean-in-lcf-file/m-p/181852#M7416</guid>
      <dc:creator>EdProulx</dc:creator>
      <dc:date>2009-07-31T01:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: what these lines mean in .lcf file</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/what-these-lines-mean-in-lcf-file/m-p/181853#M7417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems like you're using an MCU&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;flashbar always always starts at zero after each reset, then will start to look for vector table at zero.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you're lucky to start debugging code since you're using the debugger, which fixes these values using cfg file. you will not be able to see anything in standalone mode&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can change flashbar at runtime, not at the beggining&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in my opinion, i don't think it's necessary to change flashbar even at runtime, seems more useful for MPUs with external memory&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;have you seen the first two longwords at vector table? those point to starting address and SP initial value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;does this make sense to you or i completely misunderstood your question?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2009 10:14:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/what-these-lines-mean-in-lcf-file/m-p/181853#M7417</guid>
      <dc:creator>PaoloRenzo</dc:creator>
      <dc:date>2009-07-31T10:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: what these lines mean in .lcf file</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/what-these-lines-mean-in-lcf-file/m-p/181854#M7418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, it makes perfect sense. Not good sense, but perfect. In fact, it was only after I posted that I was reading the ColdFire MCF52259_CMRM reference manual, where in section "3.2.6 Vector Base Register (VBR)" it states:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="ii gt"&gt;The VBR contains the base address of the exception vector table in memory. To access the vector table,the displacement of an exception vector is added to the value in VBR. The lower 20 bits of the VBR are not implemented by ColdFire processors. They are assumed to be zero, forcing the table to be aligned on a 1 MByte boundary&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Well, I have 512K of flash. So the vector table *MUST* reside at address 0x0, so it cannot be moved elsewhere.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now that I understand this aspect more clearly, I have to consider other alternative solutions to reach my goal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2009 22:56:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/what-these-lines-mean-in-lcf-file/m-p/181854#M7418</guid>
      <dc:creator>EdProulx</dc:creator>
      <dc:date>2009-07-31T22:56:48Z</dc:date>
    </item>
  </channel>
</rss>

