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

Copiling and Linking take very long

Hi,

Normally Keil µV2 creates a hex file during less than a second.
My newest project is my first project whose hex file contains more than one KB of data. After booting my PC creating this hex files does also take only about a second. But if I want to compile the hex file a second time I must wait more than a minute. So I cannot change the program without rebooting my PC if I do not want to wait a minute (and rebooting does also take time :-( ).

What can I do against this problem?

Thanks!!!

  • I think you'll have to supply more details before this can be tackled meaningfully:

    1) what version of the tools are you using?

    2) Does this happen only to that "large" project?

    3) Where is that hex file (or the project at large) stored? If on a network drive, make *very* sure your clocks are all set correctly.

  • This is probably not the problem since you say that it is fast the first time and slow after that but it may be something to think about. If you have anti-virus software running it may be scanning the object files as they are being written to disk which could slow things down. We configure our McAfee software to exclude file extensions that uv2 generates. We have noticed a huge difference in the speed of our builds since then.

    -Walt

  • 1) µVision2 V2.20a
    C Compiler: C51.exe V6.20c
    Assembler: A51.exe V6.20
    Linker/Locator: BL51.exe V4.20
    Librarian: LIB51.exe V4.20
    Hex Converter: OH51.exe V2.5
    Simulation DLL: S8051.DLL V2.20a
    Dialog DLL: DP51.DLL V2.14

    2) After rebooting my computer every project can be compiled and linked without that problem, including the large project. After creating a hex file of the large project the problem also occurs while creating hex files from other projects.
    I have tried it on two other computers too. They do not make any troubles. One of them has Windows XP, the other one Windows 95. My computer has Windows XP.

    3) On the hard disk of my computer.

  • @Walt: I am using Norton AntiVirus. I have excluded all file extensions that I could find in the project directory but it still does not work.
    Even so I want to thank you for your recommendation to exclude the affected file extensions. Until I read your reply I had not known about this feature!

  • Are you running short of disk space?

    Does this computer have any other performance "anomalies?"

  • Disk space should not be a problem:
    C: (contains µVision2) 3 GB free
    F: (contains my projects) 2.7 GB free

    Sometimes my computer needs very long to delete any files :-] . Shutting down does also take a bit longer than it should. But I have never had performance problems with any non-Microsoft program.