ilg-archived / openocd

The GNU MCU Eclipse OpenOCD
http://gnuarmeclipse.github.io/openocd/
GNU General Public License v2.0
234 stars 62 forks source link

How do openocd choose multiple cmsis-dap devices? #29

Closed ouki-wang closed 6 years ago

ouki-wang commented 6 years ago

I use arduino+microbit1+microbit2 to complete this experiment

How do openocd choose multiple cmsis-dap devices? Via cmsis_dap_serial? How to get cmsis_dap_serial? I copied the cmsis_dap_serial of the current connection cmsis-dap from the keil debugging interface, but when the program is burned, I can't find the cmsis-dap device.

ilg-ul commented 6 years ago

Do you think this is a GNU MCU Eclipse OpenOCD bug?

ouki-wang commented 6 years ago

@ilg-ul I have already solved this problem. Serial no must be lowercase, using the serial number of the usb descriptor.

ilg-ul commented 6 years ago

ok.