Hello,
I want to automate a process to flash and debug from Keil uVision 5 to some Renesas Evalboards. I have multiple boards connected to the PC and I can differ between them over the J-Link Serial Number. I know where I can choose a specific board by hand over this menue
However, if I want to automate things, I can not open these settings and choose something by hand. Is there a way to change the project.uvoptx file in order to fix the jlink serial number a specific project?
The only workaround I see is, that I need to build some hardware with a switch to cut off all boards unless the one under test. This is not my goal and would be a heavy hack to overcome this small issue.
I hope you see my problem and that Arm Keil has a solution for that.
Bests,
Markus
in the options file you can add the serial number within the following tags. Attention for those who think it does not work. Everytime you close the MDK uVision Window, this file gets updated with your latest settings. so berfore changing this line, close your MDK window and reopen it again.
Hello markus_kiser!
Unfortunately, there is no command line parameter to select a specific J-Link by its serial number.
As on the command line you can select a project target, you could maybe also create multiple such targets in your project, each selecting a different J-Link unit in the debug settings. Then you could select the specific j-Link by specifying the related project target.
To other option could be to modify the uvoptx accordingly before doing the flash programming.