On Thu, Sep 07, 2006 at 01:42:07PM +0800, Wang Cui wrote: > As I know, normally RedBoot use startup type "ROM", and application use > startup type "RAM", then we can use RedBoot "load" application into ram and > "go" it. > > On my target board, this method works pretty well now. But since the ram > size is only 512K, I want the application image executed-in-place in the > flash to save ram for usage. > > Could anyone give me some advices for it? Thanks in advance.
You need to make a custom set of .ldi and .h files in the $HAL/current/include/pkgconf directory. This should be set so that the image is linked for the location it will be in FLASH. To execute it, just do go <address_in_flash> Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
