Skip to content

About

Convert an USB serial number into a OpenOCD comatible format

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

OPENOCDSER

This little program converts a serial number of a USB device to a string that can be passed to OpenOCD via the command line.

Building

make openocdser should do the job on most systems. Otherwise compile it with your favorite C-compiler.

Running

You need to pass a file containing the serial number to openocdser. To list all serials of STLink debuggers you can use:

grep STLink -l /sys/bus/usb/devices/*/product | xargs dirname | xargs -I{} -n1 ./openocdser {}/serial

License

GPL v3

Have fun.

About

Convert an USB serial number into a OpenOCD comatible format

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages