Hi,
I am making an automated script for testing devices using JLink Commander, but having hard time with unwanted dialogs on win.
Issue 1:
First I need to check whether emulator and board are connected to my laptop. I do this by running JLink periodically every few seconds with command file:
On macOS, everything works fine. If there is no emulator connected, it returns error. Otherwise it returns board status, so I parse it and check value of VTref.
But on windows it works differently. If there is no emulator, it popups Emulator Selection dialog and waits for user interaction. I would like to avoid this.
Issue 2:
When emulator is actually connected and there is new firmware available, it popups "Firmware Update Available" dialog and waits for user interaction.
I tried to add commands into command file like:
but seems they have no effect at all. I believe I do it right, because
my environment:
Windows 10
J-Link Base version: 10.1
J-Link software on laptop: 6.50b
Question(s):
1) How to hide all ui dialogs asking for user interaction on windows ? So J-Link Commander works the same way as on MacOs or Linux.
If answer is NO, then:
2) How to avoid "Emulator Selection" dialog on windows ? Or is there maybe a better way how to check whether emulator is connected ?
3) How to avoid "Firmware Update Available" dialog on windows ?
Thanks for help !
I am making an automated script for testing devices using JLink Commander, but having hard time with unwanted dialogs on win.
Issue 1:
First I need to check whether emulator and board are connected to my laptop. I do this by running JLink periodically every few seconds with command file:
On macOS, everything works fine. If there is no emulator connected, it returns error. Otherwise it returns board status, so I parse it and check value of VTref.
But on windows it works differently. If there is no emulator, it popups Emulator Selection dialog and waits for user interaction. I would like to avoid this.
Issue 2:
When emulator is actually connected and there is new firmware available, it popups "Firmware Update Available" dialog and waits for user interaction.
I tried to add commands into command file like:
but seems they have no effect at all. I believe I do it right, because
DisableInfoWinFlashDL
command works fine.my environment:
Windows 10
J-Link Base version: 10.1
J-Link software on laptop: 6.50b
Question(s):
1) How to hide all ui dialogs asking for user interaction on windows ? So J-Link Commander works the same way as on MacOs or Linux.
If answer is NO, then:
2) How to avoid "Emulator Selection" dialog on windows ? Or is there maybe a better way how to check whether emulator is connected ?
3) How to avoid "Firmware Update Available" dialog on windows ?
Thanks for help !
The post was edited 1 time, last by UserZbh ().