[BACK]Return to openocd_flash.scr CVS log [TXT][DIR] Up to [local] / funnyos / arch / sam7s64

File: [local] / funnyos / arch / sam7s64 / openocd_flash.scr (download)

Revision 1.2, Mon Nov 19 18:13:10 2007 UTC (16 years, 5 months ago) by nbrk
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines

flash rom with "a.bin"

halt
sleep 10
mww 0xfffffd44 0x00008000
mww 0xfffffd08 0xa5000001
mww 0xfffffc20 0x00000601
sleep 10
mww 0xfffffc2c 0x00481c0e 
sleep 10
mww 0xfffffc30 0x00000007
sleep 10 
mww 0xffffff60 0x003c0100
arm7_9 force_hw_bkpts enable
arm7_9 dcc_downloads enable
sleep 10
poll
flash probe 0
flash erase 0 0 15
flash write 0 a.bin 0x0
reset run
sleep 10
shutdown