For backward compatibilty, I'm looking to convert the AISgen binary output file to a Intel hex file format. Does anyone know if a converter exists? Will hex6x do this conversion?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
For backward compatibilty, I'm looking to convert the AISgen binary output file to a Intel hex file format. Does anyone know if a converter exists? Will hex6x do this conversion?
Patrick,
When you refer to backward compatibility, what device do you want to use this boot image on. Generally if you want to create boot image in Intel hex format from an .out file, we recommend us of hex6x but in this case it will not help since you are trying to use a AIS binary to a create a bootable Intel hex file.
The AIS binary boot images have a magic word at its start and series of AIS commands (opcodes) embedded in them that makes calls to ROM functions. This can be used only on the devices where the ROM code supports this kind of functionality. So what you would need is a utility that extracts the application code from the AIS binary and then puts it in a intel hex format that can be booted on a legacy device and I am not aware of any utility that will allow this kind of usage.
For you to create a boot image for say C671x devices, you will have to start from your application .out file rather than the AIS bin file device and follow the instructions here:
http://processors.wiki.ti.com/index.php/Flashing_the_C6713_EVM
In that case you will be able to use the hex6x utility, since your .out file will not have AIS opcodes to parse in them.
Hope this answers your question
Regards,
Rahul
Hi Rahul,
What I meant about backward compatibility was in reference to our system interfaces. We have an external application that is using the hpi interface to the dsp to load the flash device. The external application only accepts intel hex file format and we would rather not change that feature for backward compatibility reasons. So, i'm looking to convert the AIS output file to intel hex format.
Patrick,
Sorry, I misunderstood the term backward compatibility as ability to be able to run the same image on a legacy device. SO if I understand you correctly, you want the boot image to be in AIS format but you have a flash programming application that just accepts intel hex format. In that case, I think you should be able to use the hex6x tool to convert the boot image to intel hex format that your flashing application accepts.
Regards,
Rahul
I tried using the hex6x:
hex6x -i -o test.hex test.out
And got the following error:
fatal error: cannot open input file "TIPA.out": No such file or directory