Sergey Lapin wrote: > Hi, all! > > I have a small problem in not so far future, which requires > bootstrapping several hundreds of > in-house at91sam9260 boards. They come empty, so it was decided to > bootstrap them by hand. Only thing which works on them is jtag, so > the questions are: > > 2. Had anybody written some script to write to atmel DataFlash > (or other SPI flash, if not DataFlash) using OpenOCD? > Only way to boot these boards is SPI DataFlash.
I have not yet used dataflash, but in case you can get RAM initialized from OpenOCD, one solution might be to set up the RAM controller from openocd, and then download & run some code (with embedded target image) that copies the image data to flash. At least that's how I usually start on IXP42x targets: download a RAM version of my bootloader, and use that to program any flash - even those that are not (yet) supported by OpenOCD. cu Michael _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development