This is an old revision of the document!
Running Keil uVision on MAC M-series
1) Virtual Machine
Install Windows in a virtual machine. Paralles is currently the most comfortable way to run standart Windows on an M-series Mac. Parallels offers a lot of comfort by automatically downloading the approbpriate installation image. Parallels is fee-based, but is available for students for a discount. The second best option is VMWare Fusion. VMware offers as well the comfort to automatically download the approbpriate image and is for free. The third best solution UTM is also for free, but less powerful and convenient then the other two.
2) Keil uVision
Keil uVision is a software developement suite designed for embedded devices.
The light version of the software is available for free, but is limited to 32 KB (size of compiled binary).
3) Add Software Pack for CT Board
During the first start Keil uVision asks to install a software pack.
For the CT Board there is a special pack which has to be installed seperatly.
Download current InES uVision Pack
3) Install ST-Link Driver
The Discovery Board includes an integrated ST-Link programmer, which is used for downloading firmware and debugging the board. To set it up, follow these steps:
- Download the Driver:
- For ARM64 systems, download the 64-bit driver package: stsw-link009_v3_arm64_unsigned.zip
- Disable Windows Driver Signature Enforcement:
- Note: The driver is unsigned, so you must temporarily disable Windows signature check.
- Press Windows + R to open Run dialog.
- Type the following command and press Enter: shutdown /r /o
This command will restart Windows in recovery mode.
- Once in recovery mode, navigate as follows:
- troubleshoot → Advanced options → Startup Settings → Restart
- When the Startup Settings screen appears, press 7 to selcet “Disable driver signature enforcement.”
- Install the Driver:
- Unzip the downloaded driver package.
- Locate the three driver files:
- stlink_dbg_winusb.inf
- stlink_VCP.inf
- stlink_bridge_winusb.inf
- Right-click on each file and select Install to install the drivers.
- Verify Installation:
- Open Device Manager in Windows.
- Check that the ST-Link programmer is recognized.
- Make sure that the CT board is connected to the Virtual Machine so that the ST-Link can be detected properly.
Back to uvision