oPossum 1,083 Posted May 25, 2011 Share Posted May 25, 2011 Is there a way to get CCS to display a disassembly in the C/C++ perspective? The window is blank even after clicking refresh. It works in Debug perspecive, but even then seems rather flaky. Quote Link to post Share on other sites
RobG 1,892 Posted May 25, 2011 Share Posted May 25, 2011 You can enable .asm output file. Right click on the project folder -> Build Properties -> C/C++ Build -> Tool Settings -> Assembler Options (under MSP430 Compiler) There, check "Keep the generated assembly...," "Generate listing file," and select Generate C source interlisted..." in "Source interlist" drop down. The only option that would be useful and looks like it's missing is "--absolute_listing" gatesphere 1 Quote Link to post Share on other sites
oPossum 1,083 Posted May 26, 2011 Author Share Posted May 26, 2011 OK, that creates an .asm and .lst files, but the disasm window is still blank. So it seems the disasm window works only with the debugger. Quote Link to post Share on other sites
RobG 1,892 Posted May 26, 2011 Share Posted May 26, 2011 It needs debugger (and it's "flaky") because it's a combination of real time data from MCU and file produced by compiler. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.