This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARM_and_C51

I have a problem I downloaded evaluation version of
ARM and 51 development kit and installed both of them.But
As I open any 51 project included, I can't compile for 51 microcontrollers. Toolchain path is still seen as set for ARM\bin. When changing form menus, I can success at this. But I want to set up tool.ini file OR how can we set this automotically recognition by Keil when I want to open project from 51 or form ARM project?

  • If this is a bona fide evaluation - ie, with a genuine view to purchase - you could try contacting Keil (or your local distributor) for support, and explain that this is a requirement, and the evaluation will fail without it.

    Even if it isn't, it does seem that this is the kind of situation that Keil should expect and encourage if they want their products to be the tools of choice - so it should really be addressed in the documentation somewhere...

  • Did you install them in the same directory tree or in different directories?

    If they are in separate directories, you have to go to the tree where the C51 is installed, and start that version of uv3, to make sure that the correct tools.ini file is read.

  • "Did you install them in the same directory tree...?"

    According to the folder structures here www.keil.com/.../uv3_ov_folderstructure.htm

    I'd expect it to go something like:

    
    Keil -+- ARM  -+-
          |        |
          |        etc
          |
          +- C51  -+-
          |        |
          |        etc
          |
          +- C166 -+-
          |        |
          |        etc
          |
          +- UV3
    


    The tools.ini file lives in the Keil folder, and has sections to specify the configuration of each of the toolchains; eg,

    [C51]
    PATH="C:\Program Files\Keil\C51"
    
    [ARM]
    PATH="C:\Cygnus\"
    

  • The tools.ini file lives in the Keil folder

    Correct. But if the two installations are not installed in the same directory tree, then there will be two tools.ini files and two uv3 directories. If the uv3 app that is installed with the ARM compiler is started, then it will only find a tools.ini file without any mention of any C51 applications or settings.

    Hence my question if he had installed in different trees.

  • "If the uv3 app that is installed with the ARM compiler is started, then it will only find a tools.ini file without any mention of any C51 applications or settings."

    Absolutely - and, conversely, the C51 installation won't know anything about the ARM...