To MSP430 CCS users, I have some questions.
I disassembled the BSL machine code I downloaded from the chip and inserted the lines at CCS. It can't even recognize one line. Why? How is the assembly code in CCS differ to others exactly?
"
naken_util - by Michael Kohn
Joe Davisson
Web:
http://www.mikekohn.net/ Email: mike@mikekohn.net
Version:
Loaded hexfile outputbsl.hex from 0x0c00 to 0x0fff
Type help for a list of commands.
Addr Opcode Instruction Cycles
------- ------ ---------------------------------- ------
0x0c00: 0x0c06 mova @r12, r6 ?
0x0c02: 0x0c1e mova @r12+, r14 ?
0x0c04: 0x3fff jmp 0x0c04 (offset: -2) 2
0x0c06: 0x40b2 mov.w #0xa540, &0x012c 5
0x0c08: 0xa540
0x0c0a: 0x012c
0x0c0c: 0x90b2 cmp.w #0xaa55, &0xffbe 5
0x0c0e: 0xaa55
0x0c10: 0xffbe
0x0c12: 0x27ff jeq 0x0c12 (offset: -2) 2
0x0c14: 0x4031 mov.w #0x0224, SP 2
0x0c16: 0x0224
0x0c18: 0x430b mov.w #0, r11 1
0x0c1a: 0x43c0 mov.b #0, 0x0216 2
0x0c1c: 0xf5fa
0x0c1e: 0xc232 dint -- bic.w #8, SR 1
0x0c20: 0xc0f2 bic.b #0x32, &0x0000 5
0x0c22: 0x0032
0x0c24: 0x0000
0x0c26: 0x40b2 mov.w #0x5a80, &0x0120 5
"
taken from the FET TI-Txt output:
"
:100C0000060C1E0CFF3FB24040A52C01B29055AA25
:100C1000BEFFFF27314024020B43C043FAF532C226
:100C2000F2C032000000B240805A20010F43F2406F
:100C300088005700F24080005600E2D32100E2D342
:100C40002200E2C32600E2C22A00E2C22E00B24025
:100C500000A528013BC07A00B012860E8243120222
:100C6000094336400A023742B012540FC64C000006
:100C700016531783F9232BB32E2055420B0216422D
:100C80000E02E60F1742100275901200792475903B
:100C900010005424B012580E55420B0275901800E3
:100CA00032242BB21824759020001B247590160056
:100CB000282475901400A12475901A001E247590A4
:100CC0001C003224759021000924053C2BD2B0125F
:100CD000E60EBD3F2153B012EC0EB93F2F000E02BD
:100CE000F63FB012E60ED2420E025600D2420F027A
"
The CCS has a Disassembly screen. It means the program has within it the ability to convert machine code directly to assembly. How do you run CCS such that you are connected to the chip via JTAG and MSP-FET and you will see disassembly directly of the machine codes in the chip without inputting in the program any source code at the top screen window? How do you run it this way since it has within it the assembly conversion and can do it theoretically on paper.