Hi i am currently programming 8051 using assembly language. I have installed uvision but i could not creat hex file with it. It just creates the obj file. so can any one plz tell me how to create a hex file which can be downloaded to 8051.
Check the "Create Hex File" checkbox on the Output tab in the target dialog in uVision.
Q: "can any one plz tell me how to create a hex file" A: "Check the 'Create Hex File' checkbox" Well blow me down! Who'd have thought of that one?! Why do they use such cryptic names...?!
It's not the checkbox name that makes it difficult so much as the fact that they put it on the Output tab, right under the "Create Executable" radio button. I tried searching for help with every box on the LX51 Locate tab, but that search function wouldn't locate a darn thing for me. Since that wasn't working, I went through every setting on the Debug tab to try to fix it, but Locate stayed broken. Luckily I stumbled across the right setting by accident.
[...] Luckily I stumbled across [...] Well, if that's not a perfect example backing the claim that there's no such thing as an intuitive user interface, per se, nothing is. ;-) The position of that switch is actually perfectly logical --- given there's a tab on that dialog called "Output", that's where this must be. And since you can't make a .hex file if you're building a library, "create .hex file" has every right to be a sub-option of "create executable file". So allow me to play Andrew's part here and say that if you find yourself falling into this kind of IDE trap, that's a hint it's time to work through the Tutorial once more.
Perhaps I also need to check the In Cheek box on the Tongue tab.