Hi! i am searching for a program to edit and replace certain values inside an intel hex file. I have tried srecord but it will only write 16 or 32 bit files but my programmer only uses 8 bit files. Is there another tool out there? regards Christian
http://www.sweetscape.com/010editor/
Thanks for the tip, but thats not what i am looking for. I nned a tool which allows me to automate the process, something like. for (all hex files) do change value at address i could do something like that with srecord but it will only output 16 or 32 bit intel hex files. Regards Christian
"I nned a tool which allows me to automate the process, something like." Yep, that's the point of it. 010 Editor is programmable to automate the process. But, then again, there are always the conventional text processing tools like awk and Perl if you prefer.
Depending on you Programmer you maybe able you just add the changes at the end (But before the end record). They do not verify that a memory location is not written to twice. Of course this does not work with ISP
You could always enhance srecord to be able to write 8-bit files, and then release the changes back to the project. That way, everyone will have improved capabilities in the tool. (Not that I'm sure what an "8 bit hex file" is. The only difference I was aware of was the 16-bit addresses versus 32-bit or segmented address records. The data is always just a series of bytes. You might have an even-odd problem splitting the file into two physical devices.) http://www.keil.com/support/docs/1584.htm
http://www.keil.com/forum/docs/thread4475.asp