0

I'd like to use the adapter interface driver command ftdi_serial in OpenOCD where the argument has a wildcard. This is because the serial number field will not be static from device to device in my application.

So instead of passing:

ftdi_serial AXG_09876

I'd like to pass:

ftdi_serial AXG* where * is the wildcard. The problem is, I haven't been able to identify what character is the wildcard character for openOCD. It certainly isn't *. Maybe there isn't one?

Any help is appreciated. Thanks in advance.

AJbotic
  • 75
  • 1
  • 6
  • Do you have a way to list what the current possible arguments are? – Donal Fellows Feb 22 '20 at 07:32
  • @DonalFellows Thanks for your reply. If there's a way to query that info, I'm not aware of it. If you have a suggestion though, I'd give it a try. – AJbotic Feb 24 '20 at 18:52
  • 1
    IMHO, `ftdi_serial` is intended to select one specific adapter from a set of connected simultaneously. If someone want to use any (one) connected they should use `ftdi_vid_pid`, `ftdi_device_desc`. – ReAl Feb 28 '20 at 14:32
  • @ReAl I ended up just using `ftdi_device_desc` – AJbotic Apr 28 '20 at 21:12

0 Answers0