==== Running Keil uVision on MAC M-series ==== ===== 1) Virtual Machine ===== > Install Windows in a virtual machine. Parallels is currently the most comfortable way to run standard Windows on an M-series Mac. Parallels offers a lot of comfort by automatically downloading the appropriate installation image. Parallels is fee-based but is available for students at a discount. The second best option is VMWare Fusion. VMware Fusion also offers the comfort of automatically downloading the appropriate image, and is free. The third best solution UTM is also for free, but less powerful and convenient than the other two. ===== 2) Keil uVision ===== Keil uVision is a software development 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). \\ \\ >Download Keil uVision from [[https://www.keil.com/arm/demo/eval/arm.htm|www.keil.com]].\\ \\ ===== 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 that must be installed separately. \\ > Download the current [[https://ennis.zhaw.ch/pack/InES.CTBoard14_DFP.4.0.4.pack|InES uVision Pack]] ===== 3) Install ST-Link Driver ===== The Discovery Board includes an integrated ST-Link programmer, which is used to download firmware and debug the board. To set it up, follow these steps: \\ - Download the Driver: * For ARM64 systems, download the 64-bit driver package: {{software:start:stsw-link009_v3_arm64_unsigned.zip}} \\ - Disable Windows Driver Signature Enforcement: \\ * **Note:** The driver is unsigned, so you must temporarily disable the Windows signature check. \\ * Press **Windows + R** to open the 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 select "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 [[software:keil:uvision|uvision]]**//