Re: Can the RESET_VECTOR be redefined at compile time to a specific value?

"David W. Schultz" <[email protected]>
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.user
Organization State of Total Disorganization
Message-ID <[email protected]>
On 04/18/2014 12:08 PM, Tomek Lorek wrote:

> Is that doable? How can I define in the application’s code that the
> reset vector (0xFFFE) shall contain the bootloader’s init code
> (0x4400)?
> 

Why not let the bootloader take care of this?

Once you have a bootloader in place the idea is to let it load the main
program. Since it is in charge of that process it can make sure that the
reset vector gets loaded with the desired address.


-- 
David W. Schultz
http://home.earthlink.net/~david.schultz
Returned for Regrooving



------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.