there was a discussion about how to put a code at the specified address.
So, search the list.

Briefly:
declare a function with an attribute 'section(.mycoolone)'
and then pass to the linker a section address.


~d



On Wednesday 16 April 2003 16:34, Fend, Matthias wrote:
> hi all
>
> i want to try the self programming feature of the msp430 with mspgcc...
>
> there are two ways to use this feature:
> 1-) copy program segment into ram and program the flash from ram
> 2-) direct : cpu is idle while flash is programmed
>
> see application note slaa103 ( MSP430 Flash Self-Programming Technique )
> for more info...
>
> my question :
> if i want to use a flash-segment for "runtime" data - no code should
> be placed into this segment - because it will be "trashed" in runtime ...
>
> so what do you think is the best/smartest/only solution to tell the
> compiler/ linker not to use this flash segment?
>
> has anybody used this feature in a similar way ?
>
> thanks in advance
> matthias
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Mspgcc-users mailing list
> Mspgcc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users

-- 
/********************************************************************
     ("`-''-/").___..--''"`-._     (\   Dimmy the Wild      UA1ACZ
      `6_ 6  )   `-.  (     ).`-.__.`)  Enterprise Information Sys 
      (_Y_.)'  ._   )  `._ `. ``-..-'   Nevsky prospekt,   20 / 44
    _..`--'_..-_/  /--'_.' ,'           Saint Petersburg,   Russia
   (il),-''  (li),'  ((!.-'             +7 (812)  3468202, 5585314
 ********************************************************************/


Reply via email to