Andes Workshop http://forum.andestech.com/ |
|
gdb指令之targetreset and targetresetrun http://forum.andestech.com/viewtopic.php?f=16&t=574 |
Page 1 of 1 |
Author: | cindy [ Thu Apr 26, 2012 2:31 pm ] |
Post subject: | gdb指令之targetreset and targetresetrun |
targetreset是組合指令, 在E:\Andestech\AndeSight200MCU\toolchains\nds32le-elf-newlib-v3m\bin\.Andesgdbinit裡,如下: 將target reset並且hold住 # reset and hold define targetreset if $argc == 0 monitor reset hold else echo "targetreset has no parameter" end flushregs end 將target reset並且run一段boot code再hold住。 # default reset address:0x00000000 # reset and run define targetresetrun if $argc == 0 monitor reset target 0x00000000 else monitor reset target $arg0 end flushregs end |
Page 1 of 1 | All times are UTC + 8 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |