Hi Luiz,
1 In CW software 'right click on the project' to choose 'properties'
2 choose 'Settings' under 'C/C++ Build'
3 Under 'Tool Settings' choose 'Additional Tools' and check 'Create Flash Image'
4 Click 'Ok'
5 Build the project now
6 Follow steps 1 and 2 again
7 Under 'Tool Settings' under 'ARM Ltd Windows GNU Create Flash Image' click 'Output'
8 Select 'srec' under Output file format drop down menu
9 Click 'Ok'
10 Build the Project again
11 Now you can find an '.hex' file under 'FLASH' folder
12 Change the format to '.s19' to use it further
this is how you generate '.s19' file...
Regards,
Jashan