This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
工具与软件:
您好!
我开发了一个引导加载程序、在 CSS 调试视图中加载时就可以工作。
我的目标是实现此过程的自动化。
我想要:
(1)要将 hex 文件加载到 RAM 中、
(2)从特定的 RAM 地址开始执行。
如何执行步骤[2]?
[编辑]我找到了解决方案:
debugSession.memory.loadProgram( filename ); debugSession.memory.writeRegister( "PC", 0x10000 ); debugSession.target.runAsynch();
此致、
Piotr Romaniuk
感谢您分享解决方案。 是的、可以使用 writeRegister 命令来设置 PC。