maokh:
I have been looking to use an ARM7 in a future project.
At first glance, the Coridium ARMmite Pro seems to have a powerful basic environment for what id like to use it for. Is there anything else out there similar to this? Pehaps something similar to PICBasicPro where I can just flash the ARM7 hardware with my compiled BASIC program?
I am just looking for SPI/I2C/serial libraries and string processing capabilities.
Thanks
I wish ZBasic.net’s VB6 like Basic compiler existed for ARM7s.
There’s a teeny integer BASIC interpreter (slow, likely), public domain. I have the source and readme’s if you want it. You can add stuff to it. Here is the first part of the readme for it
This is a port of Minibasic by Malcolm McLean to the ARM microcontroller and the GNU toolset. Extensive changes have been made, but a lot of the syntax remains the same.
http://www.personal.leeds.ac.uk/~bgy1mm … cHome.html
That link is to the original - not the modified one.
The purpose of the changes was to make MiniBasic more suitable for a microcontroller. To do this, I shrank data structure sizes, code size, removed dependencies on library functions, floating point math, etc. However, floating point can still be used if
desired. Details are in minibasic-modifications-README.txt
This demo uses the WinARM GNU toolchain (e.g. I compiled on WinARM-2006-0606), but it should work
with GNU toolchains also. Parts of this code (iap.c) are taken from jcwren’s LPC2148_Demo
(http://www.jcwren.com/arm)-VERY COMPLETE. Some project files (e.g. the link script, crt.s, and CPU
initialization) are taken from Jim Lynch’s tutorial. And of course the original Minibasic
comes from Malcolm McLean.
The code is built for a lpc2148 (I have an Olimex lpc2148 evaluation board), but by changing
the link script, startup.c, and iap.c it probably can be adapted for other ARM processors.
I wrote this because I wanted a Basic-stamp like microcontroller with source code that I could modify and add to as a I please. This interpreter could be integrated with other applications to allow scripting in microcontroller applications. I have not written any hardware control features yet (this interpreter does not allow one to turn on and off hardware pins, for example) which would be necessary for a real
Basic Stamp-type replacement.
One consideration of Coridium’s Basic is (last time I checked) local variables are in fact global statics, sort of hidden. That is, locals are not allocated off of a stack or heap. So you might run short of RAM. But it’s a good tool for quick and SHORT programs.