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

how to re-compile a project with the same results of old compilation

Hello,
I've comipled a project with KEIL in order to generate an Hex code (that is stored in ROM on a chip).
2 days passed, I recomipled the exact same code, and the results of the Hex code are different, and I can see that the compiler changed the address of the internal variables etc.
I need to restore the old results, somehow!!
I have all the object files of the old compilation.
Is there any way to load them?
Anyone knows why the compilation has changed (though the C files have not changed)?
I know that the order of the files written in the left window of the KEIL changes the compilation, but this order has not changed as well.
Please help......
Best Regards,
Noam
-----------

Parents
  • I use a laptop as rarely as at all poissible.

    I agree, to some extent, with your argument, but for program development you do not need the fancy stuff you mention. Of course uf you play a fast game off a blue ray disk, things are different, but my viewpoint is program development and a bit of e-mail, documents and interenet nothing else

    Erik

Reply
  • I use a laptop as rarely as at all poissible.

    I agree, to some extent, with your argument, but for program development you do not need the fancy stuff you mention. Of course uf you play a fast game off a blue ray disk, things are different, but my viewpoint is program development and a bit of e-mail, documents and interenet nothing else

    Erik

Children
  • Now, we are even further from the original topic ;)

    I do most work on a stationary machine, but regularly need/like a laptop.

    No, no comment was based on use for gaming. That is a separate issue.

    A DVD-RAM is a wonderful way of backing up files, if you are not connected to a large server with tape backup or similar. It is way quicker than writing multi-session disks when you want a copy of a project tree. Memory cards will get there, but are currently a bit too expensive or too slow. Right now, a DVD-RAM is probably the best replacement for a floppy drive.

    A BluRay writer is quite powerful to backup full partitions, since you can write 25GB / disk. 50GB with dual-layer disks. Not as much data/disk as a better tape drive, but really fast and simple. And big tape drives are very expensive. And you may get into trouble finding someone else with a similar tape drive if your own fail and you need to get access to the data.

    Some debuggers are a bit stupid - they base their display refresh speed on number of changes to watched variables/registers, and not to the time since the last change. I have seen more than one tool where the screen refresh is a major factor for number of instructions simulated/second. A good tool should obviously use a timer and not refresh more than 10 times/second or whatever seems reasonable. But if you look outside the embedded world, some developers do develop multimedia products. It may require a gaming-compatible machine (possibly the next generation still not available for mainstream use) to test the programs.

    Having a mirrored system disk can be quite nice. A HDD fails quite seldom. Maybe one drive in 100 every year. But when a drive fail, it tends to fail at a bad time. With a mirror you can continue. Just pick up a new drive and connect and let it synchronize the next night if the tools doesn't support low-speed synchronization while you continue to use the machine.

    People working with distributed applications may need very high network transfer speeds, to simulate a huge number of concurrent clients.

    Working with database projects may require RAID-5, RAID-6, RAID-10, ... for additional seek speed and transfer bandwidth.

    The requirements varies quite a lot, depending on what the machine is intended for. A laptop is still only king when portability is required. For most other special needs, it will loose. Possibly by quite a lot.

    But since he requirements varies so much, it is quite often advantageous to have more than one computer. And then you want a license that allows more than one installation, as long as it is for a single user.

    People don't find it strange if you have more than one pencil, or more than one notepad, or more than one screw driver. Why should there be any difference with computers? They are tools, and I want to be able to select my tools - how many and what type - based on my own requirements. If the software for each computer costs five times as much as the computer, I don't really have that ability to choose anymore.

    To keep down the number of computers and energy costs, virtual machines may sometimes be used. But quite a lot of application licenses forbids installation in a virtual machine, or requires one license for each virtual machine. It can often be quite hard to be lawful :(

  • as often before: different perspective

    if you are not connected to a large server with tape backup or similar.
    we are

    may need very high network transfer speeds
    we have that

    But since he requirements varies so much, it is quite often advantageous to have more than one computer. And then you want a license that allows more than one installation, as long as it is for a single user.
    how very true and, if the software came with fingerprint ID, that would be possible :) . Unfortunately Joe TheThief have no problem signing on as Paul Honest, so the vendors have no option.

    It can often be quite hard to be lawful :(
    as long as you stick to "the intent of the law" I doubt anyone will hunt you down.

    Erik

  • But since he requirements varies so much, it is quite often advantageous to have more than one computer. And then you want a license that allows more than one installation, as long as it is for a single user.

    Absolutely. I don't think any of the people in our organisation could operate with the new licensing structure. We've already stopped renewing the maintenance on C51 as we don't intend to upgrade beyond V7, shortly we'll be buying a raft of ARM licenses and I'm sad to say they won't be Keil for that very reason. At a rough estimate that's 1.2 million USD loss up front plus whatever the annual maintenance comes to.