<?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>topic Re: issue about codewarrior 10.7 and Kinetis startup file in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/issue-about-codewarrior-10-7-and-Kinetis-startup-file/m-p/1697204#M65374</link>
    <description>&lt;P&gt;hello&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/26034"&gt;@xiangjun_rong&lt;/a&gt;&amp;nbsp;,I have used __asm("cpsid i" : : : "memory"),the mcu still could enter to "Default_Handler".And the&amp;nbsp;&lt;SPAN&gt;function "__copy_rom_sections_to_ram()"&lt;/SPAN&gt;&amp;nbsp;seems&amp;nbsp;&amp;nbsp;like there's no body，I cant find it in project files.I'm confused right now.Do you have any ideas or links about this ？&lt;/P&gt;</description>
    <pubDate>Wed, 02 Aug 2023 05:46:07 GMT</pubDate>
    <dc:creator>zzkk</dc:creator>
    <dc:date>2023-08-02T05:46:07Z</dc:date>
    <item>
      <title>issue about codewarrior 10.7 and Kinetis startup file</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/issue-about-codewarrior-10-7-and-Kinetis-startup-file/m-p/1696397#M65361</link>
      <description>&lt;P&gt;hi,I am using&amp;nbsp;codewarrior 10.7 to&amp;nbsp;make a flash driver for kea8.Now I have two issues:&lt;/P&gt;&lt;P&gt;1.I have set up NVIC_ ICER register but it did not turn off all interrupts on the CPU.I want to use the assembly statement 'cpsid i' to close the interrupt,&amp;nbsp;but I can't find this sentence in the file of codearrow10.7.can you tell me how to&amp;nbsp;turn off&amp;nbsp; or turn on all interrupts on the CPU in this IDE?&lt;/P&gt;&lt;P&gt;2.I want to copy the flash driver from ROM to RAM,I only found the defined sections, but I won't use. Can you tell me how to copy code from Rom to RAM in this IDE?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zzkk_0-1690871624847.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/234466i9DB25951D5E91E92/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zzkk_0-1690871624847.png" alt="zzkk_0-1690871624847.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zzkk_1-1690871646344.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/234467i58C07A2CDFFA69CB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zzkk_1-1690871646344.png" alt="zzkk_1-1690871646344.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zzkk_2-1690871700139.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/234468i0F199701BC5184E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zzkk_2-1690871700139.png" alt="zzkk_2-1690871700139.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 06:39:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/issue-about-codewarrior-10-7-and-Kinetis-startup-file/m-p/1696397#M65361</guid>
      <dc:creator>zzkk</dc:creator>
      <dc:date>2023-08-01T06:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: issue about codewarrior 10.7 and Kinetis startup file</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/issue-about-codewarrior-10-7-and-Kinetis-startup-file/m-p/1697051#M65372</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I suppose that you can use the asm(cpsid i); to disable all maskable interrupt.&lt;/P&gt;
&lt;P&gt;For the api function of __copy_rom_sections_to_ram(); pls look for the body of the api function.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 02:22:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/issue-about-codewarrior-10-7-and-Kinetis-startup-file/m-p/1697051#M65372</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2023-08-02T02:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: issue about codewarrior 10.7 and Kinetis startup file</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/issue-about-codewarrior-10-7-and-Kinetis-startup-file/m-p/1697204#M65374</link>
      <description>&lt;P&gt;hello&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/26034"&gt;@xiangjun_rong&lt;/a&gt;&amp;nbsp;,I have used __asm("cpsid i" : : : "memory"),the mcu still could enter to "Default_Handler".And the&amp;nbsp;&lt;SPAN&gt;function "__copy_rom_sections_to_ram()"&lt;/SPAN&gt;&amp;nbsp;seems&amp;nbsp;&amp;nbsp;like there's no body，I cant find it in project files.I'm confused right now.Do you have any ideas or links about this ？&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 05:46:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/issue-about-codewarrior-10-7-and-Kinetis-startup-file/m-p/1697204#M65374</guid>
      <dc:creator>zzkk</dc:creator>
      <dc:date>2023-08-02T05:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: issue about codewarrior 10.7 and Kinetis startup file</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/issue-about-codewarrior-10-7-and-Kinetis-startup-file/m-p/1697433#M65376</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;The HardFault error is an exception with negative priority(the highest priority), the asm(cpsie i)/asm(cpsid i) can only enable/disable interrupt which has zero or positive priority. In other words, the asm(cpsid i) can not disable hardfault exception.&lt;/P&gt;
&lt;P&gt;The hardfault error means that your code has error.&lt;/P&gt;
&lt;P&gt;First of all, pls check if all interrupt source has corresponding ISR.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_1-1690967203886.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/234711iFF3AA374E1C46FF4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_1-1690967203886.png" alt="xiangjun_rong_1-1690967203886.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 09:11:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/issue-about-codewarrior-10-7-and-Kinetis-startup-file/m-p/1697433#M65376</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2023-08-02T09:11:30Z</dc:date>
    </item>
  </channel>
</rss>

