<?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>S12 / MagniV MicrocontrollersのトピックRe: WARNING C3801: Segment already used with different attributes</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/WARNING-C3801-Segment-already-used-with-different-attributes/m-p/153818#M4530</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;So to get rid of the warning use a consistent notation to define DTC_SECTION.&lt;/P&gt;&lt;P&gt;Either define it a __GPAGE_SEG or without __GPAGE_SEG.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or use another section name.&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>Thu, 19 Feb 2009 19:01:17 GMT</pubDate>
    <dc:creator>CrasyCat</dc:creator>
    <dc:date>2009-02-19T19:01:17Z</dc:date>
    <item>
      <title>WARNING C3801: Segment already used with different attributes</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/WARNING-C3801-Segment-already-used-with-different-attributes/m-p/153815#M4527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got this warning "WARNING C3801: Segment already used with different attributes" when I allocated constants to the paged flash.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The PRM File:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PLACEMENT&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DEFAULT_ROM,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DTC_SECTION INTO PAGE_DF, PAGE_DE, PAGE_DD, PAGE_DC, PAGE_DB, PAGE_DA,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PAGE_D9, PAGE_D8, PAGE_D7, PAGE_D6, PAGE_D5, PAGE_D4,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PAGE_D3, PAGE_D2, PAGE_D1, PAGE_D0, PAGE_FC, PAGE_FB,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PAGE_FA, PAGE_F9, PAGE_F8, PAGE_F7, PAGE_F6, PAGE_F5,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PAGE_F4, PAGE_F3, PAGE_F2, PAGE_F1, PAGE_F0, PAGE_EF,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PAGE_EE, PAGE_ED, PAGE_EC, PAGE_EB, PAGE_EA;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;END&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#pragma CONST_SEG DTC_SECTION&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;const T_u16 BLD_CRC16_CCITT_Table[ 256 ] = {0x0000U, 0x1021U, 0x2042U, 0x3063U,....};&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#pragma CONST_SEG DEFAULT&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Although it builds successfully but this warning bothers me. We still have a lot of space in our paged flash. Why is this happening?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2009 20:37:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/WARNING-C3801-Segment-already-used-with-different-attributes/m-p/153815#M4527</guid>
      <dc:creator>MusikA</dc:creator>
      <dc:date>2009-02-17T20:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING C3801: Segment already used with different attributes</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/WARNING-C3801-Segment-already-used-with-different-attributes/m-p/153816#M4528</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;Is the message popping up on the line&lt;/P&gt;&lt;P&gt;#pragma CONST_SEG DTC_SECTION&lt;/P&gt;&lt;P&gt;If this is the case can you search for all occurrence of DTC_SECTION in your project?&lt;/P&gt;&lt;P&gt;Are you using that section in another pragma?&lt;/P&gt;&lt;P&gt;How does it look like?&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>Wed, 18 Feb 2009 20:19:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/WARNING-C3801-Segment-already-used-with-different-attributes/m-p/153816#M4528</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2009-02-18T20:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING C3801: Segment already used with different attributes</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/WARNING-C3801-Segment-already-used-with-different-attributes/m-p/153817#M4529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, the message is popping on the line with #pragma CONST_SEG DTC_SECTION.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These are the occurrence of DTC_SECTION:&lt;/P&gt;&lt;P&gt;BLD_CRC16_CCITT_Table F5BCE7 200 512 10 DTC_SECTION&amp;nbsp;&lt;/P&gt;&lt;P&gt;DTC_SECTION 512 R 0xF5BCE7 0xF5BEE6 PAGE_F5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yeah, someone is using that in another pragma.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#pragma CONST_SEG __GPAGE_SEG DTC_SECTION&lt;/P&gt;&lt;P&gt;const DTC_attributes stDTCattributes[MAX_DTCS] = { { 0xE100u, 0x00, 127, 255, 100, PROTECTED | CLEAR_IMME | WARN_IND | TPMS_DTC }, /* DTC_E10000 *//* FAULT_ECU_NOT_CONFIGURED */ { 0x9182u, 0x55, 127, 255, 100, PROTECTED | CLEAR_IMME | WARN_IND | TPMS_DTC }, /* DTC_918255 *//* FAULT_ECU_IN_MANUFACTURE_MODE */ { 0xE200u, 0x55, 64, 255, 100, PROTECTED | CLEAR_IMME } };&lt;/P&gt;&lt;P&gt;#pragma CONST_SEG DEFAULT&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2009 16:02:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/WARNING-C3801-Segment-already-used-with-different-attributes/m-p/153817#M4529</guid>
      <dc:creator>MusikA</dc:creator>
      <dc:date>2009-02-19T16:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING C3801: Segment already used with different attributes</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/WARNING-C3801-Segment-already-used-with-different-attributes/m-p/153818#M4530</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;So to get rid of the warning use a consistent notation to define DTC_SECTION.&lt;/P&gt;&lt;P&gt;Either define it a __GPAGE_SEG or without __GPAGE_SEG.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or use another section name.&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>Thu, 19 Feb 2009 19:01:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/WARNING-C3801-Segment-already-used-with-different-attributes/m-p/153818#M4530</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2009-02-19T19:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING C3801: Segment already used with different attributes</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/WARNING-C3801-Segment-already-used-with-different-attributes/m-p/153819#M4531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much CrasyCat...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The warning is already gone.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm just so dumb not to notice that "__GPAGE_SEG"..hehehe....&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good day...&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2009 16:19:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/WARNING-C3801-Segment-already-used-with-different-attributes/m-p/153819#M4531</guid>
      <dc:creator>MusikA</dc:creator>
      <dc:date>2009-02-20T16:19:49Z</dc:date>
    </item>
  </channel>
</rss>

