Page 1 of 1

Where to find jtag programming commands for AT91SAM7X256

Posted: Sat Jan 24, 2009 4:02 am
by weartronics
Hi AT91-ISP,

Where I can I find the sequence of jtag commands to download code to AT91SAM7X256?
For now, I want to download the code to SRAM, but later I want to download the code to FLASH.
I have tried "load_image blah.bin 0x00000000" and it appears to download OK, but it does not run.
I would like to find any "official" sequence of commands from Atmel, but interested in any commands.

Kind regards,

weartronics

Re: Where to find jtag programming commands for AT91SAM7X256

Posted: Sat Jan 24, 2009 5:18 pm
by dariens_haircut
What if you were to, instead, load the FLASH image into the FLASH? That would be at 0x00100000 (IIRC), not 0x00000000. Address 0 might have FLASH remapped to it, but I wouldn't count on FLASH writes to the remapped address working.

Re: Where to find jtag programming commands for AT91SAM7X256

Posted: Wed Jan 28, 2009 7:49 am
by weartronics
Hi AT91-ISP,

My problem is solved, it was because I did not set the GPNVM bit required to boot from flash.

I found a listing of example commands for OpenOCD (including detail of GPNVM bit) at this web site:
http://www.siwawi.arubi.uni-kl.de/avr_p ... t91sam7int

Best regards,

weartronics