Hello friends, this is Teacher Ma from Hunyuan Xingyi Electric!
The cover image of the little bird is at the end of the article, feel free to take it~
Starting next week, I will be preparing for the graduation ceremony, and I have also received an invitation to visit the multi-layer board factory of Jialichuang, so I won’t be updating for the next week. Thank you all for your support~
Recently, I helped Mr. Rui reinstall Keil5 MDK. After installing it many times, I can do it very smoothly. However, there might still be some friends who don’t know how to install Keil5, so today I will provide a simple tutorial, which, combined with the previous article “[STM32] Useful! Collection of Keil 5 Problems and Solutions”, can basically solve common installation issues. This is version 5.38, which is quite new.
Installation package and chip package:
Link: https://pan.baidu.com/s/1UQ9FZZvsPYUE1Kj3eCXZ8w
Extraction code: 2333
First open this ↓
![[STM32] Quick Installation of Keil5 MDK Software Environment](https://boardor.com/wp-content/uploads/2025/10/39764b9f-13c6-4418-928e-87fa35eec9c5.png)
Select the appropriate path:
![[STM32] Quick Installation of Keil5 MDK Software Environment](https://boardor.com/wp-content/uploads/2025/10/f66bd0b2-e770-413c-820a-1e50b5573a11.png)
Continue until the installation is complete:
![[STM32] Quick Installation of Keil5 MDK Software Environment](https://boardor.com/wp-content/uploads/2025/10/ca456dd6-3a8b-4199-8c1b-d6c79add0ece.png)
This page will pop up, wait for the loading bar in the lower right corner to finish loading before closing.
![[STM32] Quick Installation of Keil5 MDK Software Environment](https://boardor.com/wp-content/uploads/2025/10/76dbab29-b272-42c5-9335-105b05b1889a.png)
Run Keil as an administrator (the name will show uVision4, but you will see it is actually arm 5 after opening).
![[STM32] Quick Installation of Keil5 MDK Software Environment](https://boardor.com/wp-content/uploads/2025/10/5b6bcbb8-3da9-47a0-9902-f255afece7c5.png)
Open the File-License Management tab (I can’t capture a screenshot here), and copy the CID number in the upper right corner.
![[STM32] Quick Installation of Keil5 MDK Software Environment](https://boardor.com/wp-content/uploads/2025/10/510e2a54-a95f-4a91-83cc-6b26a6864eaa.png)
Run the keygen in the installation package. Paste the CID number into the left red box, select ARM on the right, and click to generate the serial number.
![[STM32] Quick Installation of Keil5 MDK Software Environment](https://boardor.com/wp-content/uploads/2025/10/b789b014-189d-4edf-a4bd-3bb3f7009ad2.png)
Finally, paste the serial number here and click Add LIC.
![[STM32] Quick Installation of Keil5 MDK Software Environment](https://boardor.com/wp-content/uploads/2025/10/8cd70537-6d61-4b46-b8b4-57a43860cd35.png)
After installation, open the chip package in the compressed file and double-click to install (I provided F1 or F4).
Finally, after installation, you can find the chip package in the device tab of the magic wand.
![[STM32] Quick Installation of Keil5 MDK Software Environment](https://boardor.com/wp-content/uploads/2025/10/d1977886-b43f-4405-b3a8-b10e6d929401.png)
![[STM32] Quick Installation of Keil5 MDK Software Environment](https://boardor.com/wp-content/uploads/2025/10/808ce710-563d-4f16-a68c-d0692c94529b.jpg)
Long-tailed Tit
2024.4.20