From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gary Thomas To: Warren Jasper Cc: ecos-discuss@sourceware.cygnus.com Subject: RE: [ECOS] Placing binary file into RAM on target Date: Thu, 26 Jul 2001 14:09:00 -0000 Message-id: References: <200107261817.OAA24971@lx10.tx.ncsu.edu> X-SW-Source: 2001-07/msg00847.html On 26-Jul-2001 Warren Jasper wrote: > > Does anybody know of a way to place an arbitrary binary file into > SDRAM on a target if one is running gdb stubs? I am running a > Intel StrongARM SA1110, and would like to load a program into > FLASH via eCos (as opposed to JTAG via a parallel port with JFLASH). > Use RedBoot :-) > gdb will only load elf type files, so I guess one option is to convert a > file into "elf" and have the loader put it into memory. Is there an easy way > to do this or a better way? This would work. However, RedBoot is a more flexible option since you have the ability to relocate [move] the code on the fly, perform checksums, etc.