<?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>S32 Design StudioのトピックErrors during debugging on S32K146 - mdata_2 overflow and Default ISR</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/Errors-during-debugging-on-S32K146-mdata-2-overflow-and-Default/m-p/1057213#M6278</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Errors during debugging on S32K146 - mdata_2 overflow and Default ISR&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have been trying to debug a project in S32DS for Arm. I am using S32K146 MCU. But I keep getting the following error:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;arm-none-eabi-gcc -o "meshgw.elf" "@meshgw.args"&lt;BR /&gt;c:/nxp/s32ds_arm_v2.2/s32ds/build_tools/gcc_v6.3/gcc-6.3-arm32-eabi/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/real-ld.exe: meshgw.elf section `.bss' will not fit in region `m_data_2'&lt;BR /&gt;c:/nxp/s32ds_arm_v2.2/s32ds/build_tools/gcc_v6.3/gcc-6.3-arm32-eabi/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/real-ld.exe: region m_data_2 overflowed with stack and heap&lt;BR /&gt;c:/nxp/s32ds_arm_v2.2/s32ds/build_tools/gcc_v6.3/gcc-6.3-arm32-eabi/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/real-ld.exe: section .stack VMA [2000ec00,2000efff] overlaps section .bss VMA [20000000,20043ca3]&lt;BR /&gt;c:/nxp/s32ds_arm_v2.2/s32ds/build_tools/gcc_v6.3/gcc-6.3-arm32-eabi/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/real-ld.exe: region `m_data_2' overflowed by 0 bytes&lt;BR /&gt;collect2.exe: error: ld returned 1 exit status&lt;BR /&gt;make: *** [makefile:36: meshgw.elf] Error 1&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I found a way to correct this error by changing m_data_2 length in the linker file. Once I did that, I didn't get the above error and the project was built. But when I start debugging, the control stops at "default ISR". It won't even go into the main program. I am not sure how to fix this.&lt;/P&gt;&lt;P&gt;I tried to find out what was causing this in my project. There is a function call to an algorithm which is uses considerable data as input. If I disable the function call to the algorithm I don't get any of these errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help to solve this would be appreciated. Thank You :smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Jun 2020 18:36:46 GMT</pubDate>
    <dc:creator>ravitheja_dasik</dc:creator>
    <dc:date>2020-06-04T18:36:46Z</dc:date>
    <item>
      <title>Errors during debugging on S32K146 - mdata_2 overflow and Default ISR</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Errors-during-debugging-on-S32K146-mdata-2-overflow-and-Default/m-p/1057213#M6278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Errors during debugging on S32K146 - mdata_2 overflow and Default ISR&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have been trying to debug a project in S32DS for Arm. I am using S32K146 MCU. But I keep getting the following error:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;arm-none-eabi-gcc -o "meshgw.elf" "@meshgw.args"&lt;BR /&gt;c:/nxp/s32ds_arm_v2.2/s32ds/build_tools/gcc_v6.3/gcc-6.3-arm32-eabi/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/real-ld.exe: meshgw.elf section `.bss' will not fit in region `m_data_2'&lt;BR /&gt;c:/nxp/s32ds_arm_v2.2/s32ds/build_tools/gcc_v6.3/gcc-6.3-arm32-eabi/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/real-ld.exe: region m_data_2 overflowed with stack and heap&lt;BR /&gt;c:/nxp/s32ds_arm_v2.2/s32ds/build_tools/gcc_v6.3/gcc-6.3-arm32-eabi/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/real-ld.exe: section .stack VMA [2000ec00,2000efff] overlaps section .bss VMA [20000000,20043ca3]&lt;BR /&gt;c:/nxp/s32ds_arm_v2.2/s32ds/build_tools/gcc_v6.3/gcc-6.3-arm32-eabi/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/real-ld.exe: region `m_data_2' overflowed by 0 bytes&lt;BR /&gt;collect2.exe: error: ld returned 1 exit status&lt;BR /&gt;make: *** [makefile:36: meshgw.elf] Error 1&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I found a way to correct this error by changing m_data_2 length in the linker file. Once I did that, I didn't get the above error and the project was built. But when I start debugging, the control stops at "default ISR". It won't even go into the main program. I am not sure how to fix this.&lt;/P&gt;&lt;P&gt;I tried to find out what was causing this in my project. There is a function call to an algorithm which is uses considerable data as input. If I disable the function call to the algorithm I don't get any of these errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help to solve this would be appreciated. Thank You :smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2020 18:36:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Errors-during-debugging-on-S32K146-mdata-2-overflow-and-Default/m-p/1057213#M6278</guid>
      <dc:creator>ravitheja_dasik</dc:creator>
      <dc:date>2020-06-04T18:36:46Z</dc:date>
    </item>
  </channel>
</rss>

