<?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のトピックThe cortex-A5 was not working properly When I debugged the MAC5754H project.</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/The-cortex-A5-was-not-working-properly-When-I-debugged-the/m-p/707344#M1895</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear team&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;nbsp; &lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;I found that the cortex-A5 was not working properly after the power was restarted&amp;nbsp;When I debugged&amp;nbsp;the MAC5754H project.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I built a new &amp;nbsp;project using the S32DS software,using LED lights to observe the state of the &lt;SPAN style="color: #2b2b2b; background-color: #f8f8f8; font-size: 14px;"&gt;&amp;nbsp;kernel&amp;nbsp;&lt;/SPAN&gt;work。However,I found&amp;nbsp;all cores can work &lt;SPAN&gt;properly &lt;/SPAN&gt;in the DEBUG mode,but only the Cortex_M4 and the Cortex-M0 can work after the power was restarted。&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the initialization code：&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void init_load_cores ()&lt;BR /&gt;{&lt;BR /&gt; clock_init();&lt;BR /&gt; memory_init_m0();&lt;BR /&gt; memory_init_a5();&lt;BR /&gt; core_init();&lt;BR /&gt; return;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static void core_init(void)&lt;BR /&gt;{&lt;BR /&gt; extern uint32_t _cm0p_start_addr;&lt;BR /&gt; extern uint32_t _ca5_start_addr;&lt;BR /&gt; &lt;BR /&gt; MC_ME_CCTL1 = 0x00FF;&lt;BR /&gt; MC_ME_CCTL2 = 0x20FF;&lt;/P&gt;&lt;P&gt;core_boot_addr_set(MC_CA5, (uint32_t)&amp;amp;_ca5_start_addr);&lt;BR /&gt; core_boot_addr_set(MC_CM0P, (uint32_t)&amp;amp;_cm0p_start_addr);&lt;BR /&gt; core_rmc_enable(MC_CA5);&lt;BR /&gt; core_rmc_enable(MC_CM0P);&lt;/P&gt;&lt;P&gt;enter_mode(MC_DRUN);&lt;BR /&gt; while (mode_transition_ongoing()) {}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Regards，&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;jianpeng&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Aug 2017 09:05:00 GMT</pubDate>
    <dc:creator>wangjianpeng</dc:creator>
    <dc:date>2017-08-25T09:05:00Z</dc:date>
    <item>
      <title>The cortex-A5 was not working properly When I debugged the MAC5754H project.</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/The-cortex-A5-was-not-working-properly-When-I-debugged-the/m-p/707344#M1895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear team&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;nbsp; &lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;I found that the cortex-A5 was not working properly after the power was restarted&amp;nbsp;When I debugged&amp;nbsp;the MAC5754H project.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I built a new &amp;nbsp;project using the S32DS software,using LED lights to observe the state of the &lt;SPAN style="color: #2b2b2b; background-color: #f8f8f8; font-size: 14px;"&gt;&amp;nbsp;kernel&amp;nbsp;&lt;/SPAN&gt;work。However,I found&amp;nbsp;all cores can work &lt;SPAN&gt;properly &lt;/SPAN&gt;in the DEBUG mode,but only the Cortex_M4 and the Cortex-M0 can work after the power was restarted。&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the initialization code：&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void init_load_cores ()&lt;BR /&gt;{&lt;BR /&gt; clock_init();&lt;BR /&gt; memory_init_m0();&lt;BR /&gt; memory_init_a5();&lt;BR /&gt; core_init();&lt;BR /&gt; return;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static void core_init(void)&lt;BR /&gt;{&lt;BR /&gt; extern uint32_t _cm0p_start_addr;&lt;BR /&gt; extern uint32_t _ca5_start_addr;&lt;BR /&gt; &lt;BR /&gt; MC_ME_CCTL1 = 0x00FF;&lt;BR /&gt; MC_ME_CCTL2 = 0x20FF;&lt;/P&gt;&lt;P&gt;core_boot_addr_set(MC_CA5, (uint32_t)&amp;amp;_ca5_start_addr);&lt;BR /&gt; core_boot_addr_set(MC_CM0P, (uint32_t)&amp;amp;_cm0p_start_addr);&lt;BR /&gt; core_rmc_enable(MC_CA5);&lt;BR /&gt; core_rmc_enable(MC_CM0P);&lt;/P&gt;&lt;P&gt;enter_mode(MC_DRUN);&lt;BR /&gt; while (mode_transition_ongoing()) {}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Regards，&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;jianpeng&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Aug 2017 09:05:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/The-cortex-A5-was-not-working-properly-When-I-debugged-the/m-p/707344#M1895</guid>
      <dc:creator>wangjianpeng</dc:creator>
      <dc:date>2017-08-25T09:05:00Z</dc:date>
    </item>
  </channel>
</rss>

