<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Two codes in Flash</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/24897/two-codes-in-flash</link><description> 
Hi Everybody 

 
I have 2 codes: 
for example, First code :0x0000-0x1fff 
second code : 0x3000 - 0x7fff 

 
I want to learn &amp;quot; how can I run these codes together&amp;quot; 

 
can anybody help me or suggest any source? 
 </description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Two codes in Flash</title><link>https://community.arm.com/thread/135995?ContentTypeID=1</link><pubDate>Tue, 10 Nov 2009 14:24:49 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:e084c2f0-4f14-465b-8e4d-2ab24615e2f8</guid><dc:creator>&amp;#178;erik malund</dc:creator><description>&lt;p&gt;&lt;p&gt;
.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Two codes in Flash</title><link>https://community.arm.com/thread/125863?ContentTypeID=1</link><pubDate>Tue, 10 Nov 2009 11:03:22 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:847014f6-3a30-45cc-9cfb-60b357d981ea</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
So what is the advantage in having 2 separate programs?&lt;/p&gt;

&lt;p&gt;
You&amp;#39;re going to have to program something anyhow - so why not just
re-program the whole thing??&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Two codes in Flash</title><link>https://community.arm.com/thread/115385?ContentTypeID=1</link><pubDate>Tue, 10 Nov 2009 08:52:23 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b7d25adf-3ec0-4bdf-b577-3bbb7fd8e4cc</guid><dc:creator>Kubilay Tasdelen</dc:creator><description>&lt;p&gt;&lt;p&gt;
ISP (In system programming)&lt;br /&gt;
main program will never change.&lt;br /&gt;
I can program mcu, no problem.&lt;br /&gt;
I wonder that can main program control user program?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Two codes in Flash</title><link>https://community.arm.com/thread/115388?ContentTypeID=1</link><pubDate>Tue, 10 Nov 2009 08:25:22 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:7a0175ec-80c4-454f-87e8-615f3f5872e5</guid><dc:creator>Tony Millet</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;i&gt;&amp;quot;Any particular reason why you don&amp;#39;t just load the whole thing
as 1 application by ISP?&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
Considering there may be a language barrier here, maybe he thinks
ISP is In Sircuit Programming ???&lt;/p&gt;

&lt;p&gt;
(I&amp;#39;ve seen that one before.)&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Two codes in Flash</title><link>https://community.arm.com/thread/103599?ContentTypeID=1</link><pubDate>Tue, 10 Nov 2009 08:17:55 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:3afa76f1-e824-481f-bcd9-b8a5ead99a6d</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;i&gt;0000-7fff user space - user program can be change and program
ISP&lt;br /&gt;
f800-ffff boot space - main program can be program by parallel
programmers.&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
Any particular reason why you don&amp;#39;t just load the whole thing as 1
application by ISP?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Two codes in Flash</title><link>https://community.arm.com/thread/77917?ContentTypeID=1</link><pubDate>Tue, 10 Nov 2009 07:52:46 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0cd74b59-0131-4da3-858c-cdead2098a45</guid><dc:creator>Kubilay Tasdelen</dc:creator><description>&lt;p&gt;&lt;p&gt;
hi;&lt;br /&gt;
my question is &amp;quot;how two applications can cooperate?&amp;quot;&lt;br /&gt;
I have two programs.&lt;br /&gt;
0000-7fff user space - user program can be change and program ISP&lt;br /&gt;
f800-ffff boot space - main program can be program by parallel
programmers.&lt;/p&gt;

&lt;p&gt;
for example&lt;br /&gt;
when I give an order, main program can do this (run or stop the user
program).&lt;/p&gt;

&lt;p&gt;
thanks for your interest.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Two codes in Flash</title><link>https://community.arm.com/thread/57229?ContentTypeID=1</link><pubDate>Tue, 10 Nov 2009 01:59:41 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:5151b038-0930-4d4c-b07a-4d7d87e36c30</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
Before answering that, it would be helpful if you would explain
&lt;i&gt;&lt;b&gt;why&lt;/b&gt;&lt;/i&gt; you are trying to do this?&lt;br /&gt;
What are you actually trying to &lt;i&gt;achieve&lt;/i&gt; by it?&lt;/p&gt;

&lt;p&gt;
If you explain what are you actually trying to achieve, people may
be able to suggest more effective ways to do it...&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Two codes in Flash</title><link>https://community.arm.com/thread/57227?ContentTypeID=1</link><pubDate>Tue, 10 Nov 2009 01:57:50 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:42be1b2d-6e88-4942-8235-324bf2ec1aca</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
There are no simple answer to that question. Especially since the
question is a bit lacking.&lt;/p&gt;

&lt;p&gt;
Is your question just how to program a chip with multiple blocks
of data? Or is the question how two applications can coexist and
cooperate?&lt;/p&gt;

&lt;p&gt;
Is the first code block a boot loader, and the combination of the
two blocks?&lt;/p&gt;

&lt;p&gt;
Are they completely stand-alone so there are no accesses from one
binary into the other, with the exception of the boot loader jumping
to a pre-defined startup point (lowest address?) of the
application?&lt;/p&gt;

&lt;p&gt;
What logic have you decided on for the boot loader to figure out
if there is an application loaded? Of would the boot loader do if
there isn&amp;#39;t a valid application? What would it do if there is a valid
application, but you want to replace the application with a
newer?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>