This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
ıs there any methode for changin reset vector adress. I mean msp430f6779 starts C000h address. And ınterrupt vector table includes this address.
When I want to change reset address for example 2C000h(20 bit). How is this possible ?I couldnt reside this address on vector table couse this table for 16 bit addresses.
Best regards..
Ryan Brown1 said:Please refer to this thread on how to create a custom reset vector.
Sure, but that won't solve what OP wants to do. The reason is:
baycan vural said:When I want to change reset address for example 2C000h(20 bit). How is this possible ?I couldnt reside this address on vector table couse this table for 16 bit addresses.
It is not possible, at least not directly. The MSP430 has the RESET Vector at 0xFFFE, and the vector can only be a 16-bit address (i.e. must be an address in lower 64KB address space.
What you can do is to tell the tools not to include the reset vector at all. Then edit the linker file to add a symbol at the 0xFFFE location (named for instance CUSTOM_RESET), then place a variable there that points to a fixed location in lower FLASH (say 0xC000). At that address, place a JMP 0x2C000 instruction (can be hard coded and placed like any other fixed data segment).
Finally, tell the linker to place your C_INT00 section at the 0x2C000 location.
Hi Brian, sorry for I could not reply earlier. I did what exactly you said and the result is positive.I write an assembly code which says to PC jump 2C000h address, and I reconfigure my linker file.So now it looks working fine.Thanks for your help.
Best Regards..
Hi baycan
I need to do the exact same thing and on the same processor but I can't quite get my head around how you code it.
Please can you post the linker and relative code you implemented to get this working?
Thanks very much
**Attention** This is a public forum