Hello Massimiliano, The AT91SAM7X(C)512 contains 2 flash banks, each 256KB. You have to change the sam7x512.cfg and add a flash-bank definition. The doc/openocd.pdf has some information in chapter 13 "Flash programming".
You could try this: flash bank at91sam7 0 0 0 0 0 flash bank at91sam7 0 0 0 0 1 From the telnet console (to OpenOCD) check if this 2nd bank is available/working: flash info 1 I never tested this, so I don't know if this works and I don't know if the image can be written to both banks with a single command. > and I have the error > writing 262144 bytes only - as image section is 329500 bytes and bank > is only 262144 bytes > wrote 329500 byte from file ../images/race2500.bin in 103.357239s > (3.113254 kb/s) > > So I wonder if it has wrote 329500 or 262144 bytes. > Regards, Peter _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
