Hi...
I'm developing on 2 FRDM-KL27Z boards at the same time. It's simple enough to have 2 workbench sessions running at the same time. Just have to unplug everything (USB) then load & plug in each matching project & board. One pair at a time. But it would be nice to load a project and have it "know" which board to "attach" to. There a way to do that?
-thanks
Hello Rick Stuart:
For this kind of question it is important that you mention the IDE (KDS, IAR, Keil).
As mentioned by Erich, the behavior will depend on the interface connection (Segger, P&E, CMSIS-DAP) and also in the IDE debugger features/configurations for that particular connection.
Regards!
Jorge Gonzalez
Sorry, I am using the IAR Embedded Workbench for ARM version 7.40.1.8472. The USB interface(s) are the ones offered up by the 2nd communication processor on the FRDM-KL27Z board.
-thanks
Hi Rick,
Do you mean 'attach to a running target'? If so, then this might be helpful: Attaching to a Running Target with Segger J-Link, GDB and Eclipse | MCU on Eclipse
If you want to 'fix' the USB port to the run control device: that will depend on the run control (like P&E).
As for P&E and Segger, you can select the USB ID of the device in the launch configuration.
Erich