winIDEA SDK
Loading...
Searching...
No Matches
service_functions.py
# This script is licensed under BSD License, see file LICENSE.txt, or search for `License` in the SDK online help.
#
# (c) TASKING Germany GmbH, 2023
import isystem.connect as ic
def main():
winidea_id = ''
cmgr = ic.ConnectionMgr()
cmgr.connect(ic.CConnectionConfig().instanceId(winidea_id)) # use the latest workspace used in winIDEA
data = ic.CDataController(cmgr)
print('securing FLASH')
data.secureFlash()
print('unsecuring FLASH')
data.unsecureFlash()
if __name__ == "__main__":
main()