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.

AM335x pru .out converted to .bin

 Hi,

    I have compiled PRU program with C Compiler and got .out file. But How could I converted it to .bin ? I tried to convert by using tiobj2bin , as follows:

C:/ti/ccsv6\utils\tiobj2bin\tiobj2bin.bat E:/FDP/Developing/DSPWorkspace/PRU_PRUtoARM_Interrupt\Debug\PRU_PRUtoARM_Interrupt.out  E:/FDP/Developing/DSPWorkspace/PRU_PRUtoARM_Interrupt\Debug\PRU_PRUtoARM_Interrupt.bin C:/ti/ccsv6/tools/compiler/ti-cgt-pru_2.1.2/bin/ofdpru.exe C:/ti/ccsv6/tools/compiler/ti-cgt-pru_2.1.2/bin/hexpru.exe c:/ti/ccsv6/utils/tiobj2bin/mkhex4bin.exe

 and be told: unknown at script/mkhex4bin.pl line 261  -image  requires ROMS directive.

    later I add xxx.cmd with ROMS in it and recompiled the project, the error remain the same.