We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
hello.. how to generate intel hex file after compiling the program because i wanna to do eeprom through external programmer ?? i changed the options for target - output- generate hex file ..but unable to locate the hex file. generally ..the format what is the format of the file .. thanks .. pruthvi
0x0000 0x23 That would be a terribly wasteful format for a "hex file". Are you positively sure that this is the format you need? Intel-Hex isn't exactly rocket science, either, but * it's way more efficient than the above * it's the format Keil generates for you, and * it's almost certainly also understood by your Eprom burner --- just about all of them support this format.
hello ..thanks for the replies .. i am working on single phase meter application ..which has a on chip micro. the system is hardwired to take first system control command ( i.e read or write) to program ram and then length of data and data follows. i am using com port for downloading the prog code .. any way ..i have written my own code for the above to generate hex file .. thanks . pruthvi
You're now contradicting your own original question. There, you explicitly asked about an "external EEPROM burner". Any device falling under that definition would already support the file format Keil generates, so there should be nothing to do. Now you say you've designed your own in-system-programme, using your own, home-grown file format. There's nothing intrinsically wrong with that, but you really shouldn't expect anybody else to generate that home-grown format for you. It's your choice, but also your duty to live with its consequences. You've reinventend the wheel, really, and as so often happens in such cases, you came up with a square one. I would strongly advise to reconsider your "hex file" format design. Intel-Hex is better than that format in just about every imaginable aspect.