Where to find jtag programming commands for AT91SAM7X256

Microchip in-system programming solution: SAM-BA

Moderators: nferre, fab

weartronics
Posts: 4
Joined: Fri Jan 23, 2009 2:10 am

Where to find jtag programming commands for AT91SAM7X256

Sat Jan 24, 2009 4:02 am

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
dariens_haircut
Posts: 23
Joined: Fri Jul 25, 2008 12:08 am

Re: Where to find jtag programming commands for AT91SAM7X256

Sat Jan 24, 2009 5:18 pm

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.
weartronics
Posts: 4
Joined: Fri Jan 23, 2009 2:10 am

Re: Where to find jtag programming commands for AT91SAM7X256

Wed Jan 28, 2009 7:49 am

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

Return to “SAM-BA”

Who is online

Users browsing this forum: No registered users and 2 guests