<?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のトピック52235 - moving vector table to RAM</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/52235-moving-vector-table-to-RAM/m-p/142658#M2589</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;in the sysinit code, the vector table is copied to RAM&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/* Copy the vector table to RAM */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if (__VECTOR_RAM != VECTOR_TABLE)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for (n = 0; n 256; n++)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;__VECTOR_RAM[n] = VECTOR_TABLE[n];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mcf5xxx_wr_vbr((uint32)__VECTOR_RAM);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;why does it has to like this. I tried to do just&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mcf5xxx_wr_vbr((uint32)VECTOR_TABLE);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to use the vector table in flash, but this does not work at all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I do not need to remap any irq vectors at runtime, so I hoped to use a fixed vector table undestroyable by errounous ram accesses.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Jan 2007 21:15:24 GMT</pubDate>
    <dc:creator>GudeADS</dc:creator>
    <dc:date>2007-01-12T21:15:24Z</dc:date>
    <item>
      <title>52235 - moving vector table to RAM</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/52235-moving-vector-table-to-RAM/m-p/142658#M2589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;in the sysinit code, the vector table is copied to RAM&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/* Copy the vector table to RAM */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if (__VECTOR_RAM != VECTOR_TABLE)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for (n = 0; n 256; n++)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;__VECTOR_RAM[n] = VECTOR_TABLE[n];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mcf5xxx_wr_vbr((uint32)__VECTOR_RAM);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;why does it has to like this. I tried to do just&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mcf5xxx_wr_vbr((uint32)VECTOR_TABLE);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to use the vector table in flash, but this does not work at all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I do not need to remap any irq vectors at runtime, so I hoped to use a fixed vector table undestroyable by errounous ram accesses.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 21:15:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/52235-moving-vector-table-to-RAM/m-p/142658#M2589</guid>
      <dc:creator>GudeADS</dc:creator>
      <dc:date>2007-01-12T21:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: 52235 - moving vector table to RAM</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/52235-moving-vector-table-to-RAM/m-p/142659#M2590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Do you try to only erase this "for" cycle and vector base address modification? By default, VBR and FLASH are in 0x0000_0000, so it should work without this copy Vector table from ROM to RAM.&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Jan 2007 09:28:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/52235-moving-vector-table-to-RAM/m-p/142659#M2590</guid>
      <dc:creator>PaoloRenzo</dc:creator>
      <dc:date>2007-01-13T09:28:07Z</dc:date>
    </item>
  </channel>
</rss>

