Skip to main content
Associate II
Question

Debug doesn't work on Apple Silicon Mac after Migration Assistant

I’ve been using STM32CubeIDE on an Intel Mac for many years.  I recently bought an Apple Silicon Mac and used Apple’s Migration Assistant to copy a heap of stuff from my Intel Mac to the new one, including various ST tools.

Some bad stuff happened because I think some Intel components ended up on the new Mac and it attempted to run them.  I uninstalled all ST tools, plus some other stuff I found (Intel versions of Segger, for instance), then downloaded the latest versions from st.com and ran them.  Most stuff is working, but not debugging through an STLINK.  It can see the STLINK is connected (e.g. the Debug Configurations / Debugger tab shows the STLINK’s serial number), but I get errors like this when I try to debug:

libusb: warning [darwin_transfer_status] transfer error: device not responding (value = 0xe00002ed)

Target USB comms error

Error in initializing ST-LINK device.

Reason: USB communication error. Please reconnect the ST-LINK USB cable and try again.

 

I think there are still some Intel components installed, that don’t get removed when I uninstall STM32CubeIDE and don’t get replaced when I install again because it looks like they’re already there.

Is there a list of components I should uninstall to completely erase all traces of my old Intel installation?  I’m quite happy browsing and deleting from the Unix terminal, if that helps.