The load command produces the same error for the external flash region.. I
see no difference in the flash commands and the load command.

-----Ursprüngliche Nachricht-----
Von: Øyvind Harboe [mailto:oyvind.har...@zylin.com] 
Gesendet: Mittwoch, 1. Dezember 2010 09:02
An: Star Keeper
Cc: openocd-development@lists.berlios.de
Betreff: Re: [Openocd-development] Programming external flash with OpenOCD
fails

On Wed, Dec 1, 2010 at 8:58 AM, Star Keeper <starkee...@gmx.at> wrote:
> The image I want to flash is not my program code. It is a resource file
with image data.
> As i understand, the "load" command normally loads a program into RAM 
>and does not program a flash. Is that right, or should the load command 
>notice that the target address is in Flash and start the flash programming?

That's right. "load" will look at the configuration and if the memory range
is flash, then the flash is erased and programmed.

--
Øyvind Harboe

Can Zylin Consulting help on your project?

US toll free 1-866-980-3434 / International +47 51 63 25 00

http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to