[quote user="Oleg Miloserdin"]
When I tried to generate Intel-HEX flash image using CCS GUI: Project Properties->Build->Steps->Post-build steps->Apply Predefined Step->Create flash image: Intel-HEX, I got a build error: "bad argument to option -order: should be one of {L,M}".
[/quote]
Please see this related thread. The parameter passed to the -order option is different for C6000 devices compared to C2000, MSP430 etc. For C6000 it is L or M while for the others it is LS or MS. So the predefined step works ok for those other devices, but not for C6000. We are tracking this in a bug report as mentioned in the other thread. For now you can change the paramater manually to avoid the error.
[quote user="Oleg Miloserdin"]
if I create Intel-HEX flash image, how can I define entry point to start the execution of the program?
[/quote]
There is a --entry_point option supported by the hex conversion utility that you can use. Please see the chapter on Hex Conversion Utility in the Assembly Language Tools Users Guide for more information.