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

Bim2Hex utility not working with windows7

Hi to all,

I have just downloaded the bin2hex utility available on the keil site and tried to run it on the computer having WINDOWS7 OS installed. The exe failed to execute and displayed the error message as below.

"This version of E:\BIN2HEX.EXE is not compatible with the version of Windows you
're running. Check your computer's system information to see whether you need a
x86 (32-bit) or x64 (64-bit) version of the program, and then contact the softwa
re publisher."

I have checked and confirmed that it works fine on other machines having XP but doesnt work on any machine having windows7.

Is there any known work around for this? Is windows 7 compatible version of this utility available anywhere?

Thanks
Niraj.

  • SRecord will definitely work. But you'll have to read some manuals first.

    http://srecord.sf.net

  • But you'll have to read some manuals first.

    Sweet mercy !

  • doesnt work on any machine having windows7.

    I'm pretty sure you're mistaken there. The problem is not Windows 7, it's that those boxes you tried it on were all running the 64-bit version of Windows 7. You would have had the same problem with machines running 64-bit versions of XP or Vista. Which, of course, is a significant part of the reason those versions never really took off.

    The core of the problem is that these Keil add-on tools are extremely old. They're actually still 16-bit DOS programs. Now 64-bit operating systems put CPUs into a mode in which the possibility to run 16-bit programs natively in so-called "virtual 8086 mode" no longer exists. This means that no 16-bit programs can run directly in a 64-bit Windows (nor 64-bit Linux, for that matter).

    So: you need some other tool. SRecord appears to be turning into the default option. I've used GNU binutils for simple jobs in that area, too.