Other Parts Discussed in Thread: CCSTUDIO
Tool/software: Code Composer Studio
Hello!
Is it possible to call the disassembly tool (dis430.exe) found at C:\ti\ccs1000\ccs\tools\compiler\ti-cgt-msp430_20.2.0.LTS\bin in a debug Initialization Script?
Something like > dis430.exe myprogram.out > disassembly.txt but in a debug initialization script?
I currently save program binaries using commands in a initialization script. See below
debugSession.memory.saveData(PAGE_PROGRAM,0x8000,"C:\\Users\\blake\\VHD_MEMORY_JS\\hex_output.txt",0x800,IOMEMORY_HEX,false);
This produces the following output saved to a text file which has met my needs so far.
1651 1 8000 0 800 0
0x4031
0x3000
0x40B2
0x5A80
0x01CC
0x4014
I recently discovered the dis430.exe tool from a forum post which produces a much more descriptive and and useful output for my purposes. See post and output below. Thank you for your help.
Disassembly of Asm_AddrMode4_Symbolic.out:
TEXT Section .text, 0x20 bytes at 0x00008000
008000: RESET:
008000: 3140 MOV.W #0x3000,SP
008002: 0030
008004: StopWDT:
008004: B240 MOV.W #0x5a80,&WDTCTL_L
008006: 805A
008008: CC01
00800a: main:
00800a: 1440 MOV.W Const1,R4
00800c: F49F
00800e: 8044 MOV.W R4,Var1
008010: F49F
008012: 1540 MOV.W Const2,R5
