Hello,
I have been looking for a way to set the program entry point on a MSP430G2755 in CCS. So far I have been reading in the MSP430 linker users guide to use the "--entry_point=my_global_entry_point_function_symbol", without any success as the linker gives the warning I have seen other posts on E2E mention:
warning #10063-D: entry-point symbol other than "_c_int00" specified: "my_global_entry_point_function_symbol"
Even though this would seem like a warning that the default entry point has been overwritten, it still keeps pointing the reset vector to the _c_int00 function (placed at a linker decided memory address) and not my_global_entry_point_function_symbol.
I have also read in the MSP430 Optimising C/C++ Compiler under "4.3.7 Specifying the Type of Global Variable Initialization" about the --rom_model and --ram_model options that apparently force the use of the _c_int00 as entry point. However, when I remove that flag (--rom_model) from the linker command the guide specifies that it required will default to set the entry point to address 0, however, it still defaults to using the _c_int00 entry point.
The main issue that I have is that the _c_int00 is not placed at fixed and user determined memory address, i.e. if I change the code it may move to a different address.
I have seen several other posts where the replies recommend against writing a bootloader on such as small single flash memory sector device, but that is what I am doing right now.
What I am asking is if I can specify a specific function as the entry point OR if I can place _c_int00 at a specific memory address. Either one works.
Best regards,
Felix.