<?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: bootpatch in C in CodeWarrior for StarCore</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-StarCore/bootpatch-in-C/m-p/247286#M412</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As i understand, type of reset configuration source on ADS by default is defined by dip switches and SW1.6-8 change RCW[BPRT] value as i see after booting by RCW register view in CCS. I switch SW1.6-8 for ethernet booting.&lt;/P&gt;&lt;P&gt;I need bootpatch fot target application which uses DDR, but now i just use simple led blinking app instead of true bootpatch to check that bootpatch executes and than ethernet bootflow continues, but it's not. I see that bootpatch execites and than core is stopped and no booting. When i prepare boot code i use "How to" in "...\CW SC v10.2\SC\StarCore_Support\I2CBoot\"&lt;/P&gt;&lt;P&gt;Hoe can i ask for bootpatch from freescale? &lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 May 2013 09:11:08 GMT</pubDate>
    <dc:creator>s_kalop</dc:creator>
    <dc:date>2013-05-21T09:11:08Z</dc:date>
    <item>
      <title>bootpatch in C</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-StarCore/bootpatch-in-C/m-p/247284#M410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello. &lt;/P&gt;&lt;P&gt;I'm trying to wrote bootpatch code for msc8156 on ADS by myself in C for ethernet bootloading. I wrote simple application in CCS and it was successfully loaded by ethernet. By i need ddr initialization before target app loading is started. So I wrote simple leds blinking app in C, burned I2C on ADS and switched&lt;/P&gt;&lt;P&gt;SW1.0 BPRT0 - ON&lt;/P&gt;&lt;P&gt;SW1.1 BPRT1 - ON&lt;/P&gt;&lt;P&gt;SW1.2 BPRT2 - OFF as to load by ethernet &lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;SW1.1 - OFF as to bootpatch will be executed while booloading&lt;/P&gt;&lt;P&gt;When ADS was turned off and then turned on a saw that bootpatch was executed successfully but than there was no ethernet dhcp activity. So i attached to code and pointed out that core is stopped as my bootpatch code did when it returned from main. I think that bootpatch code must jumped to initial bootloader when finished. But what address it should be jumped and how it can by instructed to jump in C?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you. Sorry for my Engllish. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 14:19:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-StarCore/bootpatch-in-C/m-p/247284#M410</guid>
      <dc:creator>s_kalop</dc:creator>
      <dc:date>2013-05-20T14:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: bootpatch in C</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-StarCore/bootpatch-in-C/m-p/247285#M411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you attched to code, please check your RCW[BPRT], it's not SW1.0~1.2 for setting of BPRT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All cores will do private configuration first, then core 0 does the shared configuraation, after that it's the patch code loading and executing. After the patch is executed, the patch code jumps to the address in the boot code defined in address 0xC0101C14. By default, the boot code continues Boot Flow from same place after returning from the patch loading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, what patch code did you write? Freescale also privides patch.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 08:40:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-StarCore/bootpatch-in-C/m-p/247285#M411</guid>
      <dc:creator>lunminliang</dc:creator>
      <dc:date>2013-05-21T08:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: bootpatch in C</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-StarCore/bootpatch-in-C/m-p/247286#M412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As i understand, type of reset configuration source on ADS by default is defined by dip switches and SW1.6-8 change RCW[BPRT] value as i see after booting by RCW register view in CCS. I switch SW1.6-8 for ethernet booting.&lt;/P&gt;&lt;P&gt;I need bootpatch fot target application which uses DDR, but now i just use simple led blinking app instead of true bootpatch to check that bootpatch executes and than ethernet bootflow continues, but it's not. I see that bootpatch execites and than core is stopped and no booting. When i prepare boot code i use "How to" in "...\CW SC v10.2\SC\StarCore_Support\I2CBoot\"&lt;/P&gt;&lt;P&gt;Hoe can i ask for bootpatch from freescale? &lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 09:11:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-StarCore/bootpatch-in-C/m-p/247286#M412</guid>
      <dc:creator>s_kalop</dc:creator>
      <dc:date>2013-05-21T09:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: bootpatch in C</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-StarCore/bootpatch-in-C/m-p/247287#M413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for late repsonse, you can submit serveice request to technical support on &lt;A href="http://www.freescale.com/"&gt;www.freescale.com&lt;/A&gt; to get the bootpatch.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jul 2013 03:36:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-StarCore/bootpatch-in-C/m-p/247287#M413</guid>
      <dc:creator>lunminliang</dc:creator>
      <dc:date>2013-07-22T03:36:45Z</dc:date>
    </item>
  </channel>
</rss>

