How to ignore particular USB device given a vid and pid?
modprobe does not exist in macOS / OS X as it is a Linux-specific program.

The macOS equivalent is kextload.

Have you tried to use pystlink to flash your chip?