This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Choose specific MCU over Multiple connected boards at J-Link interface over Debug Option Serial Number (SN)

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

Parents
  • 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.

Reply
  • 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.

Children
No data