<?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: Keil project porting issue .. in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Keil-project-porting-issue/m-p/573105#M21295</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bmentink on Wed Aug 25 14:25:17 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: henri&lt;/STRONG&gt;&lt;BR /&gt;Did you get the code working? I have the same requirements, if you would like to share your code that would be great! :)&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Henri,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I actually went back to the NXP LPCxpresso example code as I found it does not take up 64k at all, in fact a release build compiles in at ~6k. (after stripping out the LCD stuff .. very easy)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See this thread --&amp;gt; &lt;/SPAN&gt;&lt;A href="http://"&gt;http://knowledgebase.nxp.com/showthread.php?t=64&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport explained it quite well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You just have to alter a few defines to get it to take up the 1st two blocks (i.e 8k) and tell it where to start your application and what the new block size is (4k for the 1st 64K of flash)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will let you know if it works, I am getting hardware soon ..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bernie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 23:51:33 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T23:51:33Z</dc:date>
    <item>
      <title>Keil project porting issue ..</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Keil-project-porting-issue/m-p/573099#M21289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bmentink on Sun Aug 22 19:00:22 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have just ported across the Keil secondary bootloader code to the LPCXpresso platform. I have everything compiling/linking now except for one piece of code ..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The code is from memory.c:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp; Prepare_Copy((unsigned int *)&amp;amp;Load$$RW_IRAM1$$Base,(unsigned int *)&amp;amp;Image$$RW_IRAM1$$RW$$Base,(unsigned int)&amp;amp;Image$$RW_IRAM1$$RW$$Length);&lt;BR /&gt;&amp;nbsp; Prepare_Zero((unsigned int *)&amp;amp;Image$$RW_IRAM1$$ZI$$Base,(unsigned int)&amp;amp;Image$$RW_IRAM1$$ZI$$Length);&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From hunting around, it seems it is some specific Keil platform labels so that you can find the location and size of the built image at compile time .. what it's doing I am not sure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there anything equivalent in LPCXpresso? :confused:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bernie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:51:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Keil-project-porting-issue/m-p/573099#M21289</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Keil project porting issue ..</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Keil-project-porting-issue/m-p/573100#M21290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by renan on Mon Aug 23 04:12:22 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a version for the LPC1768 here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/RDB1768cmsisExampleProjects&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Renan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:51:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Keil-project-porting-issue/m-p/573100#M21290</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Keil project porting issue ..</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Keil-project-porting-issue/m-p/573101#M21291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bmentink on Mon Aug 23 12:34:39 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, I had allready seen that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, that code takes up 64k, the original NXP code only takes up 16k, I don't want to waste 64k of my flash with the bootloader.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought if I can port the original "as is" then I could get a similar size.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have everything compiled in under 16K so have achieved that ... all I want to know is what those two lines of code do so I can do the equivalent in GNU C.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bernie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:51:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Keil-project-porting-issue/m-p/573101#M21291</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Keil project porting issue ..</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Keil-project-porting-issue/m-p/573102#M21292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Mon Aug 23 13:14:56 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;If you look in the startup code, you will see how we copy data using symbols from the linker script. And look in the linker script to see the symbols that are generated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:51:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Keil-project-porting-issue/m-p/573102#M21292</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Keil project porting issue ..</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Keil-project-porting-issue/m-p/573103#M21293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bmentink on Mon Aug 23 21:09:24 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:51:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Keil-project-porting-issue/m-p/573103#M21293</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Keil project porting issue ..</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Keil-project-porting-issue/m-p/573104#M21294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by henri on Tue Aug 24 13:50:59 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you get the code working? I have the same requirements, if you would like to share your code that would be great! :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:51:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Keil-project-porting-issue/m-p/573104#M21294</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Keil project porting issue ..</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Keil-project-porting-issue/m-p/573105#M21295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bmentink on Wed Aug 25 14:25:17 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: henri&lt;/STRONG&gt;&lt;BR /&gt;Did you get the code working? I have the same requirements, if you would like to share your code that would be great! :)&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Henri,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I actually went back to the NXP LPCxpresso example code as I found it does not take up 64k at all, in fact a release build compiles in at ~6k. (after stripping out the LCD stuff .. very easy)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See this thread --&amp;gt; &lt;/SPAN&gt;&lt;A href="http://"&gt;http://knowledgebase.nxp.com/showthread.php?t=64&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport explained it quite well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You just have to alter a few defines to get it to take up the 1st two blocks (i.e 8k) and tell it where to start your application and what the new block size is (4k for the 1st 64K of flash)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will let you know if it works, I am getting hardware soon ..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bernie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:51:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Keil-project-porting-issue/m-p/573105#M21295</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:51:33Z</dc:date>
    </item>
  </channel>
</rss>

