On 5/28/12 2:14 PM, Paul Rubin wrote:
> "Elizabeth D. Rather"<
era...@forth.com> writes:
>> Well, it "throws in" a set of things that seem most useful. Since it's
>> supplied in source, it's entirely configurable. And there's a "strip"
>> function that you can apply when you have your application all
>> finished and running that automatically deletes words that are never
>> called.
>
> I see, it's sort of a runtime library, and it's preloaded by default so
> that when you poke at it interactively, everything you need is there
> ahead of time. I could imagine a cross compiler keeping up with you as
> you type--so when you refer to a word, it goes and loads it for you on
> the fly--but that's likely more trouble than it's worth.
Yes, it's a runtime library with lots of capabilities, 34 files last
time I counted. It's really a lot easier, I think, for you to look at
the list of things loaded and, once you've made some progress on your
application, take out stuff you know you don't need. Here's the list for
the EZ:
\ FILES INCLUDED BY BUILD
INCLUDE %SWIFTX\SRC\MSP430\REG_22x4 \ MSP430F2274 hardware equates
INCLUDE %SWIFTX\SRC\MSP430\CONFIG \ Common configuration
INCLUDE CONFIG \ Target configuration
INCLUDE %SWIFTX\SRC\MSP430\USER \ User variables
INCLUDE %SWIFTX\SRC\MSP430\CORE \ Core word set
INCLUDE %SWIFTX\SRC\CORE \ Common core words
INCLUDE %SWIFTX\SRC\MSP430\EXTRA \ Miscellaneous extensions
INCLUDE %SWIFTX\SRC\MSP430\STRING \ Core string operators
INCLUDE %SWIFTX\SRC\STRING \ Core string operators
INCLUDE %SWIFTX\SRC\MSP430\EXCEPT \ Exception handling
INCLUDE %SWIFTX\SRC\MSP430\DOUBLE \ Double-precision numbers
INCLUDE %SWIFTX\SRC\DOUBLE \ Double-precision numbers
INCLUDE %SWIFTX\SRC\MSP430\MATH \ Core math operators
INCLUDE %SWIFTX\SRC\MIXED \ Mixed-precision operators
INCLUDE %SWIFTX\SRC\MSP430\OPT \ Initialize code optimizer
INCLUDE %SWIFTX\SRC\VIO \ Vectored I/O functions
INCLUDE %SWIFTX\SRC\EXCEPT \ Common exception handling
INCLUDE %SWIFTX\SRC\OUTPUT \ Core & facility output functions
INCLUDE %SWIFTX\SRC\OUTPUT2 \ Double output functions
INCLUDE %SWIFTX\SRC\NUMBER \ Numeric input conversion
INCLUDE %SWIFTX\SRC\METHODS \ Methods and VALUE
INCLUDE %SWIFTX\SRC\MSP430\TASKER \ Multitasker
INCLUDE %SWIFTX\SRC\TOOLS \ Debug tools
INCLUDE %SWIFTX\SRC\DUMP1 \ Memory dump
INCLUDE %SWIFTX\SRC\MSP430\VECTORS_RAM \ Interrupt vectors
INCLUDE %SWIFTX\SRC\MSP430\LPM \ Low Power Mode control
INCLUDE %SWIFTX\SRC\MSP430\XTL \ JTAG cross-target link
INCLUDE %SWIFTX\SRC\MSP430\STEPPER \ Single-step debug support
INCLUDE %SWIFTX\SRC\ACCEPT \ Generic terminal input
INCLUDE %SWIFTX\SRC\MSP430\TIMERA-ALT \ Timer A timing functions
INCLUDE %SWIFTX\SRC\TIMING \ Common timing functions
INCLUDE %SWIFTX\SRC\MSP430\FLASH \ Resident flash programming
INCLUDE APP \ **YOUR APPLICATION LOADED HERE**
INCLUDE %SWIFTX\SRC\MSP430\START \ Common initialization
INCLUDE %SWIFTX\SRC\MSP430\EZ430-RF2500\START \ Power-up init.
(sorry, I had to squinch the lines up to prevent wraparound in my email
editor).
> Meanwhile I do see that the current Launchpad Quick Start Guide
>
> *
http://www.ti.com/lit/ml/slac432a/slac432a.pdf
>
> says "LaunchPad includes a pre-programmed MSP430G2553 device" (that is
> the bigger device with the 16k of flash). The marketing stuff still
> says it comes with the smaller (2k) part. So this is cool.
What does "preprogrammed" mean? Presumably some sort of debugger with
the target support for the bootloader. SwiftX wouldn't use any of that
stuff (it has its own equivalents), so I wonder if it would be possible
to reprogram it? Probably locked, though.
>>> I think you know what a Launchpad costs, so the EZ430-RF2500 is pretty
>>> expensive by comparison.
>>
>> Yeah, but still not much. It really all depends on what one wants to
>> use it for.
>
> Yeah, if I were a hardware developer intending an end target of a custom
> circuit, using a fancy dev system would be worth it, but I'm more
> interested in running stuff directly on Launchpads.
The EZ430-RF2500 is awfully small and cute, too, and a lot more capable.
> Meanwhile I see that TI has just released source code for the PC side of
> the Launchpad boot loader:
>
>
http://www.43oh.com/2012/05/ti-releases-bsl-for-the-msp430/
>
> That might be useful (either directly or as guidance for how the process
> works) if you want to support the board with Swift.
We'd be a lot more interested if there were a more useful target processor.