10.04.2007

log : openocd , download image and run

>load_image  "C:\Y_2443InitDRAM\test.elf" 0x000000
2816 byte written at address 0x000000
download 2816byte in 2s 671875us

>resume 0x000000 <== 這個就是從 0x00000000 開始run的意思
Target 0 resumed

> halt <== 只是需要test.elf的init dram 的code,所以隨時停掉都沒關係
target halted in ARM state due to debug request......

>mdw 0x30000000
0x30000000: 00000000 <== dram 的region 可以access了 :)

>load_image "C:\ATP\Release\ATP_5000.bin" 0x33800000 <= download program 到dram 裡...
146436 byte written at address 0x33800000
downloaded ...

>resume 0x33800000 <== OK,從download的位置開始run...

沒有留言: