Does anyone have any experience with the 'Custom Translator' feature in UV2? What, if any, dependency rules does uVision apply for Custom files? Is it possible to specify at what point in the build process Custom Translators are called? eg, before C51; after C51 I'm thinking specifically of the Triscend E5 tools: One process generates C51 and/or A51 include files - this would obviously need to be done before C51 & A51 files are translated!
My experience is that the files are translated( if modifed ) in the sequence shown in the project window. Just make sure the custom translations are at the top of the list.
Hi Andrew,Jon, Jon, I have tried the settings that you have suggested in the code. But I am sorry I could not do the translation of the file. Andrew, my application is similar ot the one that you are using: 1. I have a code that is not a standard '.a51' file though it has an extension as a '.a51'. 2. I have a translator that can convert this file to a standard '.a51' file that can be fed into the assembler. 3. I have added my original source file as a custom file and in the custom instruction I have given the translator. Does not work ... Gives the following error: Build target 'Simulator' custom translating Init.a51... Runtime error 002 at 0000:0A49. compiling Hello.c... Target not created Kindly suggest me if you have managed to complete this. Regards, Ashutosh ...
"My experience is that the files are translated( if modifed )" This is not true of Custom translations. :-( Custom translations are completely dumb and do absolutely no dependency checking whatsoever - they will always translate, whether they need to or not. :-( This is because uVision2 has no way to determine the dependencies - since it has no means to specify them! :-( Dunno if uVision3 is any better...?
"custom translating Init.a51... Runtime error 002 at 0000:0A49." Your custom translator is crashing!