Running Keil uVision on MAC M-Series
- Install Windows in Parallels. Parallels is currently the only (comfortable) way to run standard Windows on an M1 or M2 Mac. Parallels offers a lot of comfort by automatically downloading the appropriate installation image. Parallels is fee-based, but available for students for CHF 43.75 at www.studyhouse.ch.
- Install Keil uVision on Windows. The normal installer can be downloaded for this.
- Install the ARM64 driver for STlink:
- Download the driver here: https://community.st.com/s/question/0D53W000011vaXZSAY/stlink-stcubeprogrammer-support-on-windows-arm64
- The driver is not signed. Therefore, the signature check of Windows must be deactivated before installation. To do this, start in Recovery Mode:
- In Windows, open the input field via Windows-R and enter “shutdown /r /o”. This will start Windows in Recovery Mode.
- Deactivate the signature check according to instructions number 3 at: https://appuals.com/how-to-fix-the-third-party-inf-doesnt-contain-digital-signature-information/
- Unzip the driver package and then install the three files “stlink_dbg_winusb.inf”, “stlink_VCP.inf” and “stlink_bridge_winusb.inf” by right-clicking and selecting “Install”.
- Check in the Windows device manager whether the STlink is recognised. The CT board must be connected to the Parallels VM for this.