Hello Everyone,
I'm evaluating the DK-LM3S9B96 with Code Composer Studio. When I compile the examples from the firmware package, there are 2 output files, .out and .bin. Could you please tell me the difference between the 2 files? The .out file is a lot bigger than the .bin file. For qs-checkout example, the .out file is ~2.6MB, which is too big for the built-in flash memory of the LM3S9B96. So, I guess only the .bin file is downloaded to the target. Am I right? Does the .out file contain program symbols for debugging?
Thanks a lot,
Binh
Binh,
The .out is the resulting output from the TI code generation tools (after the compile/link process). When the program is loaded and debugged using CCS, this .out file is downloaded to the target. The default build for the Stellarisware examples includes the -g compile option which retains debug information, hence the large size of .out file. Typically once users are done debugging the program, they remove the -g option to remove symbolic debug information from the final executable.
The .bin file is used by the LM Flash programmer to download to target. So if you use this standalone programmer, you can take the .bin file generated by the build to download via that programmer.
If a post answers your question please mark it with the "Verify Answer" button
Search the wikis for common questions: CGT, BIOS, CCSv3, CCSv4Track a known bug with SDOWP. Enter the bug id in the "Find Record ID" box
Thanks a lot, Aarti. So, the preloaded quickstart app in the DK-LM3S9B96 is the .bin version, right?
Yes it is.