[mc1322x] AT Command interface
Giandomenico Rossi
rossi at dermotricos.com
Wed Oct 7 09:43:12 EDT 2009
> I have seen some of the Zigbee devices with on-chip interpreters (or
> preloaded code) for providing serial UART port based AT command
> interface for setting up internal registers as well as loading and
> executing scripts containing programs written completely in text using
> AT commands.
> Would this not help a great deal in removing dependency on compilers,
> IDEs etc?
>
> Would it not be a great to have an onboard interpreter written that
> can load a AT command script from UART, store it onchip NVM and
> execute the script, under specific AT commands issued to it?
> Should one be looking forward to building such a platform that
> provides OS independence, Language and Tool chain independence?
The issues you request are part of the philosophy of FORTH programming
language for embedded system.
In the case of MC1322, Forth has a base firth script that download the
pre-compiled code ( from Forth compiler) to memory and when in debug
mode runs a routine that is listening on JTAG interface and , like in a
terminal, it is possible invoke downloaded routines, execute it on
MC1322 and check the results in memory.
In addition, it is possible create routines directly in assembly .
or compile it on the fly during debug.
I find this tools useful for a first approach to new hardware.
Regards
More information about the mc1322x
mailing list