Matthias Koch
|

Mecrisp

Mecrisp is an implementation of a standalone native code Forth for MSP430 microcontroller chips. At the moment, it runs out of the box on MSP430F2274 and MSP430G2553 micros. You can choose to compile to flash or to ram, and it generates native code with folding, inlining of short words and it opcodes common instructions. Note that it doesn't need to save any pointers, so info flash keeps untouched. Hopefully it should be completely interrupt-save and you can hook your Forth definitions to interrupt vectors. Of course, you should not hook create to a timer interrupt, unless you want all your memory to be filled with random creatures :-) Altought it is in spirit of ANS, there are some differences: Be careful !

It fits tightly into 9kb of Flash and runs with 512 Bytes of Ram. Communication is via serial 9600 baud 8N1 over portpins: MSP430F2274 (TX on P3.4, RX on P3.5), MSP430G2553 (TX on P1.2, RX on P1.1)

Porting Mecrisp to MSP430G2955, MSP430G2855 and MSP430G2755 is just finished. They are ready to try !

Mecrisp 0.9 is stable !

A lot of downloads all over the world and two months of testing later, no bugs have been found. Now it is time to announce Mecrisp 0.9 as stable ! Technical work on the core is finished now. All features are in place, and your ideas and hints for improvements found their way into it. Thank you ! I am looking forward to find out how Mecrisp can serve you best. Examples are going to come, implementations for other chips of the MSP430 family shouldn't be too far away. Do you have a particular one in mind ? Do you have great code snipplets that show the abilities of Mecrisp well ? Write an E-Mail and you will be in touch !

You can get Mecrisp on its download page.

An assembler, disassembler and Ready-to-fly hex files are included, for build it, check out:

Macro Assembler AS, by Alfred Arnold, version 1.42 Beta [Bld 55]