<?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: MPC567x BAM App in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC567x-BAM-App/m-p/1014500#M15212</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Lukas and others,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;i really need help&lt;/SPAN&gt;:smileylaugh:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;first I tested the cw, then I decided to switch to S32.&lt;/P&gt;&lt;P&gt;BAM-CAN for MPC5674 with CW no run,&amp;nbsp;then I decided to switch to S32 IDE.&lt;/P&gt;&lt;P&gt;I decided to change the processor to MPC5604C, BAM-Serial my App loader code.&lt;/P&gt;&lt;P&gt;S32 led blinks in flash and debug ok&lt;/P&gt;&lt;P&gt;led blinks on Debug RAM code 0x40000100 ok (LCF = RAM)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Bootloader serial all code, not run led blinks.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;TX:FEEDFACECAFEBEEF40000100800044B8&lt;BR /&gt;RX:015A0000&lt;BR /&gt;RX:40001000&lt;BR /&gt;RX:00000000&lt;BR /&gt;......&lt;BR /&gt;......&lt;BR /&gt;RX:40006004&lt;BR /&gt;RX:4000E020&lt;BR /&gt;RX:40006020&lt;BR /&gt;RX:40006020&lt;BR /&gt;RX:4000E020&lt;BR /&gt;RX:40006020&lt;BR /&gt;RX:40006020&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Carlos.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Mar 2020 19:05:55 GMT</pubDate>
    <dc:creator>CCandido</dc:creator>
    <dc:date>2020-03-06T19:05:55Z</dc:date>
    <item>
      <title>MPC567x BAM App</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC567x-BAM-App/m-p/1014496#M15208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;based in XPC567X, my custom board test BAM CAN App, not run,&lt;/P&gt;&lt;P&gt;loader code length sucess ok, not start App.&lt;/P&gt;&lt;P&gt;pleace you my code resume, see,&lt;/P&gt;&lt;P&gt;Project, CW-5.9, Target-RAM, CPU-5674/5676&lt;/P&gt;&lt;P&gt;LCF:&amp;nbsp;MEMORY{&lt;BR /&gt;&lt;SPAN style="color: #ff9900;"&gt;&lt;STRONG&gt;init:&lt;/STRONG&gt; &lt;/SPAN&gt;org = 0x40000000, len = 0x00001000&lt;BR /&gt; exception_handlers_p0: org = 0x40001000, len = 0x00001000&lt;BR /&gt; exception_handlers_p1: org = 0x40002000, len = 0x00001000 //not start&lt;BR /&gt; pseudo_rom: org = 0x40003000, len = 0x00005000&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; internal_ram: org = 0x40008000, len = 0x00008000&lt;BR /&gt;heap : org = 0x4002C000, len = 0x00002000 &lt;BR /&gt; stack : org = 0x4002E000, len = 0x00002000&lt;/P&gt;&lt;P&gt;internal_ram_p1: org = 0x40031000, len = 0x0002B000&lt;BR /&gt; heap_p1 : org = 0x4005C000, len = 0x00002000&lt;BR /&gt; stack_p1 : org = 0x4005E000, len = 0x00002000&lt;BR /&gt;}SECTIONS&lt;BR /&gt;{GROUP : {&lt;BR /&gt;.init_vle (VLECODE) : {&lt;BR /&gt; *(.init)&lt;BR /&gt; *(.init_vle)&lt;BR /&gt; }&lt;BR /&gt; &lt;SPAN style="color: #ff9900;"&gt;.init : {}&lt;/SPAN&gt;&lt;BR /&gt; } &amp;gt; init&lt;/P&gt;&lt;P&gt;//----------------------------------&lt;/P&gt;&lt;P&gt;int main(void) { &lt;BR /&gt; volatile int i = 0, can_ena=1;&lt;BR /&gt;HW_init();&lt;/P&gt;&lt;P&gt;for (;;) {&lt;BR /&gt; Delay(500000); &lt;BR /&gt; SIU.GPDO[LED1_pin].R ^= 1;&lt;BR /&gt; SIU.GPDO[LED2_pin].R ^= 1;&lt;BR /&gt;TransmitMsg ();&lt;BR /&gt;}} //------------------------------------&lt;/P&gt;&lt;P&gt;void InitSysclk (void) { // sysclock = 180 , xtal 20mhz&lt;BR /&gt;FMPLL.ESYNCR2.R = 0x00000002;&lt;BR /&gt;FMPLL.ESYNCR1.R = 0x70020026;&lt;BR /&gt;while (FMPLL.SYNSR.B.LOCK != 1) {}; /* Wait for FMPLL to LOCK */&lt;BR /&gt;FMPLL.ESYNCR2.R = 0x00000001; /* Fsys =180Mhz */&lt;BR /&gt;SIU.SYSDIV.R = 0x00002010; /* select PLL for sys clock, bypass clock divider */&lt;BR /&gt;}&lt;BR /&gt;//-----------------------&lt;BR /&gt;void initCAN_A (void) {&amp;nbsp; &amp;nbsp; &amp;nbsp;//&lt;SPAN&gt;--- AF19/AE19&lt;/SPAN&gt;&lt;BR /&gt; uint8_t i;&lt;/P&gt;&lt;P&gt;CAN_A.MCR.R = 0x5000003F; /* Put in Freeze Mode &amp;amp; enable all 64 message buffers */&lt;BR /&gt; CAN_A.CR.R = 0x02810014; // xtal 20mhz&lt;BR /&gt; for (i=0; i&amp;lt;64; i++) {&amp;nbsp;CAN_A.BUF[i].CS.B.CODE = 0;&amp;nbsp;} &lt;BR /&gt; CAN_A.BUF[0].CS.B.CODE = 8; /* Message Buffer 0 set to TX INACTIVE */&lt;/P&gt;&lt;P&gt;SIU.PCR[83].R = 0x062f; /* MPC5674F: Configure pad as CNTXA, open drain, pull-up */&lt;BR /&gt; SIU.PCR[84].R = 0x0500; /* MPC5674F: Configure pad as CNRXA */&lt;BR /&gt; CAN_A.MCR.R = 0x0000003F; /* Negate FlexCAN A halt state for 64 MB, AEN=1 */&lt;BR /&gt;} //------------------------&lt;/P&gt;&lt;P&gt;convert ram.mot to bin,&lt;/P&gt;&lt;P&gt;send&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;password&lt;/SPAN&gt; number ok&lt;/P&gt;&lt;P&gt;send 0x40000000 + (VLE or not)+ Length ok&lt;/P&gt;&lt;P&gt;send 0x13+ data and receiver 03 ok....all file length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnkas,&lt;/P&gt;&lt;P&gt;Carlos.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2020 19:54:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC567x-BAM-App/m-p/1014496#M15208</guid>
      <dc:creator>CCandido</dc:creator>
      <dc:date>2020-02-25T19:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: MPC567x BAM App</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC567x-BAM-App/m-p/1014497#M15209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure if I can understand the description but have you followed procedure I described here?&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/thread/320166#comment-384300" title="https://community.nxp.com/thread/320166#comment-384300"&gt;https://community.nxp.com/thread/320166#comment-384300&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2020 06:48:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC567x-BAM-App/m-p/1014497#M15209</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2020-02-27T06:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: MPC567x BAM App</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC567x-BAM-App/m-p/1014498#M15210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lukas,&lt;/P&gt;&lt;P&gt;yes, I follow the example, but there is a difference, from one core to two core, I imagine.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/thread/320166#comment" title="https://community.nxp.com/thread/320166#comment-384300"&gt;https://community.nxp.com/thread/320166#comment-384300&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my case MPC67x BAM, donloader code ok, not start my App test.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Project, CW-5.9, Target-RAM, CPU-5674/5676,LCF ok.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;see&amp;nbsp;&lt;SPAN style="color: #3d3d3d;"&gt;difference:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="_startc.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/99002i722CD8379384900D/image-size/large?v=v2&amp;amp;px=999" role="button" title="_startc.jpg" alt="_startc.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;compare maps: with _start.c&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="two maps.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/100421i7838D2C373D3C97A/image-size/large?v=v2&amp;amp;px=999" role="button" title="two maps.jpg" alt="two maps.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;questions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;CPU init mode BAM with core0 or core1 ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;simple code init one GPIO to simple led blinks run ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;for bam, the best CORE use, 0/1 ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Carlos.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2020 11:09:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC567x-BAM-App/m-p/1014498#M15210</guid>
      <dc:creator>CCandido</dc:creator>
      <dc:date>2020-02-27T11:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: MPC567x BAM App</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC567x-BAM-App/m-p/1014499#M15211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use core 0. BAM is executed by core 0 and then it jumps to downloaded application, so it is also executed by core 0. Core 1 needs to be started by your application if needed.&lt;/P&gt;&lt;P&gt;CodeWarrior project creates file for both projects, by default. If you use S32 Design Studio, you can select if&amp;nbsp; you want to use one (boot) core only or&amp;nbsp; both cores.&lt;/P&gt;&lt;P&gt;So, always start with core 0 only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2020 11:21:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC567x-BAM-App/m-p/1014499#M15211</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2020-03-02T11:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: MPC567x BAM App</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC567x-BAM-App/m-p/1014500#M15212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Lukas and others,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;i really need help&lt;/SPAN&gt;:smileylaugh:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;first I tested the cw, then I decided to switch to S32.&lt;/P&gt;&lt;P&gt;BAM-CAN for MPC5674 with CW no run,&amp;nbsp;then I decided to switch to S32 IDE.&lt;/P&gt;&lt;P&gt;I decided to change the processor to MPC5604C, BAM-Serial my App loader code.&lt;/P&gt;&lt;P&gt;S32 led blinks in flash and debug ok&lt;/P&gt;&lt;P&gt;led blinks on Debug RAM code 0x40000100 ok (LCF = RAM)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Bootloader serial all code, not run led blinks.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;TX:FEEDFACECAFEBEEF40000100800044B8&lt;BR /&gt;RX:015A0000&lt;BR /&gt;RX:40001000&lt;BR /&gt;RX:00000000&lt;BR /&gt;......&lt;BR /&gt;......&lt;BR /&gt;RX:40006004&lt;BR /&gt;RX:4000E020&lt;BR /&gt;RX:40006020&lt;BR /&gt;RX:40006020&lt;BR /&gt;RX:4000E020&lt;BR /&gt;RX:40006020&lt;BR /&gt;RX:40006020&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Carlos.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2020 19:05:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC567x-BAM-App/m-p/1014500#M15212</guid>
      <dc:creator>CCandido</dc:creator>
      <dc:date>2020-03-06T19:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: MPC567x BAM App</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC567x-BAM-App/m-p/1014501#M15213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks !&lt;/P&gt;&lt;P&gt;Solved !&lt;/P&gt;&lt;P&gt;problems&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt; LCF.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Carlos.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Mar 2020 21:33:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC567x-BAM-App/m-p/1014501#M15213</guid>
      <dc:creator>CCandido</dc:creator>
      <dc:date>2020-03-08T21:33:33Z</dc:date>
    </item>
  </channel>
</rss>

