

- #VIEW CONTENTS OF A VECTOR CODE COMPOSER STUDIO HOW TO#
- #VIEW CONTENTS OF A VECTOR CODE COMPOSER STUDIO PC#
You just have to define a 16 bit constant to be placed in the.
#VIEW CONTENTS OF A VECTOR CODE COMPOSER STUDIO HOW TO#
But this also gives a hint how to get the actual address where you want it. So maybe because you also named you label RESET the linker gets confused in some way? Maybe name your entry point differently like START or ENTRY. Specifically, I am working with the interrupts under the. Or at least check in your resulting hex image what value gets written there.Īs the default placement. I am using Embedded Coder 6.2 (R2012a) with Code Composer Studio (CCS) 3.3 and the F28335 board. So another option would be to write to the address 0xFFFE the value of your start address. I can't really see why that wouldn't work, have you checked the actual linker call if that option is applied? So from your description, you are using -entry_point= global_symbol as an option to set the entry point.
#VIEW CONTENTS OF A VECTOR CODE COMPOSER STUDIO PC#
Upon completion of the bootĬode, the PC is loaded with the address contained at the SYSRSTIV reset location (0FFFEh). See Section 1.9 for more information regarding the boot code.

Program counter (PC) is loaded with the boot code address and boot code execution begins at thatĪddress. I haven't programmed an MSP430 in assembly, but it seems like the program entry point is not written to the address 0xFFFE: StopWDT mov.w #WDTPW|WDTHOLD,&WDTCTL Stop watchdog timer RESET mov.w #_STACK_END,SP Initialize stackpointer retainrefs Additionally retain any sections I'm guessing I have a problem with either debugger settings or the (boot)loader, but I could be totally on the wrong track.cdecls C,LIST,"msp430.h" Include device header file I have declared RESET to be global, and I have set the linker option to make RESET the entry point. If I manually set it in the watch window to RESET, the program runs as expected. If you are using the Code Composer C3x version 4.1 simulator with VectorCAST you. In the following figure Code Composer 6x is selected: Special Configuration for Code Composer version 4.1. Choose the C/C++ tab to select the entry for the version of Code Composer that you are using. I can see that PC is intially set to 0x0000. In VectorCAST, select Tools > Options from the main toolbar. However, when I run this program in the debugger, execution begins at address 0x0000 instead of at my designated entry point, called RESET (0x10000). Product details Find other Arm-based processors Technical documentation Top documentation for this product selected by TI Design & development For additional terms or required resources, click any title below to view the detail page where available. At the moment, I have a "hello world" program that does nothing but light an LED on the MSP430F5529 Launchpad. I am just starting with MSP430 and Code Composer Studio (CCS).
