comparison python/st-flash.py @ 241:ce6d390043a7 burnchain

Added reset and run at end of flashing
author Windel Bouwman
date Mon, 22 Jul 2013 22:56:21 +0200
parents 654093a9a1e3
children 58155c7c4a8e
comparison
equal deleted inserted replaced
240:6259856841a0 241:ce6d390043a7
63 dev.verifyFlash(args.address, content) 63 dev.verifyFlash(args.address, content)
64 elif args.command == 'erase': 64 elif args.command == 'erase':
65 dev.eraseFlash() 65 dev.eraseFlash()
66 else: 66 else:
67 print('unknown command', args.command) 67 print('unknown command', args.command)
68 68
69 stl.reset()
70 stl.run()
69 stl.exitDebugMode() 71 stl.exitDebugMode()
70 72