Hello Dominic, thanks for your fast answer.
Dominic Rath wrote: > Hello Stefan, > > [...] > > The WIKI is completely outdated, but unfortunately none of the pages can be > edited. Is there some more recent documentation available somewhere ? >> * How can I program the boot memory of my AT91SAM9260 at address 0x0 ? > > What board do you use, or rather what memories does your board have? I have an Olimex AT91SAM9260 evaluation board: http://www.olimex.com/dev/sam9-L9260.html The schematic can be found here: http://www.olimex.com/dev/images/ARM/ATMEL/SAM9-L9260-REV-B-sch.gif Currently only the NAND flash is connected to the board, the serial data flash is disabled by disconnecting the DF_E jumper. > AFAIK there's no internal flash in the AT91SAM9. I just saw that. The boot memory can be either rom, EBI_NCS0 (unconnected) or SRAM. >> I also tried writing to the address with no flash bank configured which >> seemed to work at first. >> However, after device reset (by pressing the reset button on the board) >> all changes are gone and the overwritten memory region is as it was >> before the writing. > > Looks like you had the internal SRAM mapped to 0x0 at that point. Check the > processors user's manual for information about its internal memories and > mappings. Yep, I have to check that first, thanks for the tip. > CFI (and the whole "flash" subsystem) is for NOR flash. NAND flash has > completely different characteristics, e.g. it isn't memory mapped. So how can I program it then with openocd ? According to the boards datasheet, a NAND flash controller is attached to the EBI at CS3. I guess openocd would need to support that controller to be able to access nand flash ? > >> I'm using the current svn version "Open On-Chip Debugger 1.0 >> (2008-08-08-18:57) svn:895". >> >> Is there any openocd documentation that is not outdated ? >> I've been trying to use openocd with my AT91SAM9260 board for two days >> now. >> Although I can connect to the board now, dump memory, halt and resume >> the cpu, programming and resetting the cpu still does not work. > > You'll need a much lower JTAG frequency for reliable reset-halt operation > with the AT91SAM9. My config file uses jtag_speed 1400. Only after the > bootloader initialized everything, I switch to jtag_speed 2. > >> ft2232_layout "jtagkey" > > seems wrong, too. IIRC there's a layout specifically for the Olimex JTAG > interface. > >> * Should I use an older svn revision ? >> >> * Is there any other ARM SAM9 compatible programmer that works under linux >> ? >> >> * What are your suggestions with the at91sam9 controllers ? >> >> >> I would really appreciate any help that brings me forward. >> >> sincerly, >> stefan > > Regards, > > Dominic stefan _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development