Created
August 9, 2014 07:45
-
-
Save jitomesky/ad63626907065ccaa7f3 to your computer and use it in GitHub Desktop.
pyOCD step execute Test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pyOCD.board import MbedBoard | |
import logging | |
logging.basicConfig(level=logging.INFO) | |
board = MbedBoard.chooseBoard() | |
target = board.target | |
# flash = board.flash | |
target.resume() | |
target.halt() | |
while True: | |
print "pc: 0x%X" % target.readCoreRegister("pc") | |
target.step() | |
raw_input() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment