Closed LKDbigpig214 closed 1 year ago
You can't. You have to translate your commands to the appropriate Python calls.
I think you mix up J-Link sommand files (containing commands) with script files (containing custom action definitions in a c-style syntax). See: https://wiki.segger.com/J-Link_Commander#Using_J-Link_Command_Files
My Jlink command:
jlink -jlnikscriptfile my.jlinkscript
How can I implement it with pylink?