On Sat, Nov 20, 2010 at 3:06 PM, Mark J. Blair <n...@nf6x.net> wrote:
>
> On Nov 20, 2010, at 1:00 PM, Peter Bigot wrote:
> > I suspect assigning a specific address using asm, though, overrides this
> and
> > makes the section irrelevant. In any case, I believe there may need to
> be a
> > different linker script used for these devices when the USB is to be
> > enabled, to ensure program variables don't end up creeping in the area
> > reserved for USB. Yet another variation point....
>
> Are you aware of any other MSP430 peripherals which steal memory blocks
> like the USB interface?
Not at this time. It might have been done with the CC430 line to put the
radio buffers in memory, though that could have been too big a change in the
internal architecture. I don't know what's done on the chip that has a
bluetooth stack built in (msp430bt5190, which is really an msp430f5438
optimized for use with a CC2560, according to the guy at TI who explained
how they broke their part numbering scheme with that chip).
> If this is something that we'll see more of as TI creates more MSP430
> variants, then it may be necessary to devise a clean, generalized way to
> deal with varying memory maps within a given part. Maybe just defining
> different part ID variants (e.g. -mmsp430f5529usb, -mmsp430f5529nousb, etc.)
> would be good enough, or maybe that would become too cumbersome if there's
> ever a part with a lot of memory map variability.
>
Oh yeah. We're definitely going with a solution that doesn't increase the
number of part numbers. Probably a linker option that alters the selection
of the ldscript that's used. Though I do want to remain compatible with how
Code Composer Studio approaches the problem.
Would you mind filing a bug report asking for this (prevent use of
USB-reserved memory on relevant devices), so I don't forget it? Thanks.
Peter
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users