Keil Logo

How to download two APPs in flash in one step?

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Read-Only
Author
JM fanKeil
Posted
10-Jun-2004 18:31 GMT
Toolset
ARM
New! How to download two APPs in flash in one step?
Hi everybody,
We are using uVision3, LPC2104(ARM7) & ULINK-JTAG.
We are trying to download two applications to flash in one only step, that is, selecting only one file.
-Option 1:
We could do it editing the HEX files of each APP but, are we able to download an HEX file through uVision3 and ULINK? uVision3 seems to work with ELF files only.

-Option 2:
Can we download a "list" of ELF files?

Any other option?
Any suggestion?
Thanks in advance!!
Joe
Read-Only
Author
Joe Domenico
Posted
11-Jun-2004 21:16 GMT
Toolset
ARM
New! RE: How to download two APPs in flash in one step?
Hi, I run into the same problem some time ago, but i was unable to solve it.
Two applications, two downloads. It's sad but i think it's true.

cu
Read-Only
Author
Keil Software Support Intl.
Posted
14-Jun-2004 07:46 GMT
Toolset
ARM
New! RE: How to download two APPs in flash in one step?
We know about this limitation and work on a new revision that removes it.

As work-around, you may first use the simulator and load both applications there. Then use the SAVE command to generate a HEX file that contains both applications. Then use this HEX file which contains the combiation of both files.
Read-Only
Author
JM fanKeil
Posted
14-Jun-2004 18:07 GMT
Toolset
ARM
New! RE: How to download two APPs in flash in one step?
Thanks for your replies,

now I have an HEX file that is combination of two HEX files.
How can i download it through ULINK now.
uVision3 only downloads ELF files, am I wrong?

JM
Read-Only
Author
Jon Ward
Posted
14-Jun-2004 20:20 GMT
Toolset
ARM
New! RE: How to download two APPs in flash in one step?
uVision3 only downloads ELF files, am I wrong?

Yep. You can also download HEX files. Take a look at the following knowledgebase article.

http://www.keil.com/support/docs/2815.htm

Jon
Read-Only
Author
Keil Software Support Intl.
Posted
15-Jun-2004 05:57 GMT
Toolset
ARM
New! RE: How to download two APPs in flash in one step?
Actually there is even a better way that came accross while discussing the problem with development. It is very easy to add an additional application to be flash-ed together with the project's application. You just need to add the "LOAD filename"
to the Flash INI file (filename of the additional application).
This INI file is indented for BUS and or other configuration commands that are executed prior the LOAD command, but it can be also used to add additional program parts (can be in HEX or ELF format).

The LOAD command must be placed at the top in the INI file since it issues a Reset. You may avoid the RESET command by the sub-option INCREMENTAL.
Read-Only
Author
JM fanKEIL
Posted
15-Jun-2004 12:44 GMT
Toolset
ARM
New! RE: How to download two APPs in flash in one step?
Thanks a lot,
the flash.ini file really works!!

Next Thread | Thread List | Previous Thread Start a Thread | Settings

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.