5

I want to install Keil µVision on Ubuntu 18.04. How can I do that?

I would like to use Keil µVision for my laboratory microcontrollers and embedded systems.

1
  • 1
    It's 2022 and Keil MDK is still not officially supported on Linux(sigh). Nov 10, 2022 at 9:17

2 Answers 2

4

This is working for me.

  1. Download PlayOnLinux.

  2. Download Keil software for Windows from their official website.

  3. Open PlayOnLinux and install Keil µVision using install a non-listed program and choose the Keil executable file. After the installation open Keil µVision.

After that I have experienced two issues:

  1. Could not open file.

    Error 56 can't open the file
    

    That was solved by rebuilding the project. Check the directory and rebuild the project.

  2. Some issues with memory mapping.

    *** Error 65: Access violation at 0x00000004 : No 'write' permission
    

    To solve this problem I created MAP.ini and placed this code inside MAP.ini saved in /home/usr/Desktop. Then in Keil go to project options: Ctrl+F7 → Debug → Select the initialization file MAP.ini by browsing to the specific folder. Put the code in MAP.ini without "": "MAP C:0x0000, C:0xFFFF read write exec"

Keil Setup for MAP.ini File

Keil Screenshot1

Keil screenshot2

NOTE:Make sure your .asm or any other file including MAP.ini has permission read/write for other,group and owner

5
  • I have updated the answer Check that! Jan 22, 2019 at 8:28
  • 1
    Re. "To solve this problem I created MAP.ini and placed this code inside MAP.ini", what are the contents of MAP.ini? Are they in either image? Why not just post the contents as code/text instead of using images?
    – DK Bose
    Jan 22, 2019 at 9:12
  • 1
    @PranuPranav Thank you for the update. However, it’s still not clear what code did you put into the MAP.ini. Anyway, couldn’t both your issues be solved by properly setting file permissions?
    – Melebius
    Jan 22, 2019 at 9:13
  • 1
    I have updated the answers. Jan 22, 2019 at 9:31
  • MAP C:0x0000, C:0xFFFF read write exec put this in map.ini Aug 25, 2021 at 2:25
1

Just follow this:

Download Keil Software from this link:

  1. Install wine.
  2. wine keilsetup.exe

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .