Hi, On Sat, Sep 24, 2011 at 2:00 PM, Dmitry E. Oboukhov <[email protected]>wrote:
> > Dmitry E. Oboukhov wrote: > >> I cant upload an image into internal SRAM (AT91SAM9). > >> it can really write only 20 bytes. > >> load_image into internal flash area works fine. > > But why it doesn't fail if it writes the other regions? > It crashes only if it writes into internal SRAM. > > Could it be that the load_image command uses working area which overlaps with the address you're trying to write, thus corrupting the algorithm? > I used openocd to program internal flash using algorithm like: > 1. write 512 bytes (load_image) into flash > 2. touch flash registers to start writting > 3. repeat 1 with the other 512-block > > Tedious. Isn't there a flash driver for your target? Maybe write one? /Andreas
_______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
