porting BASIC between CPUs
Posted: Sun Feb 10, 2013 10:40 pm
>from the help line
>Can I get the SuperPRO eval board to write and debug on and then get a
ARMmitePRO or PROPlus to run the program for the finished product?
The BASIC can be moved between parts, but access to hardware registers has some
limits.
The PROplus and SuperPRO are basically the same CPU with the PROplus having less
memory and no D/A output. So if your program fits in the smaller memory and
doesn't use analog output, it can be compiled directly on the PROplus.
The standard product PROplus is built without the RTC crystal, so if you want to
use that it would be a special order with minimum quantities.
The ARMmitePRO is a different CPU with very different hardware, so if you access
the hardware registers directly in your program that code would have to be
changed.
The same is pretty much true for C. Moving from the SuperPRO to ARMmitePRO
involves a recompile of the C as the SuperPRO uses 16 bit Thumb instructions,
where the ARMmitePRO can be 16 or 32.
>Can I get the SuperPRO eval board to write and debug on and then get a
ARMmitePRO or PROPlus to run the program for the finished product?
The BASIC can be moved between parts, but access to hardware registers has some
limits.
The PROplus and SuperPRO are basically the same CPU with the PROplus having less
memory and no D/A output. So if your program fits in the smaller memory and
doesn't use analog output, it can be compiled directly on the PROplus.
The standard product PROplus is built without the RTC crystal, so if you want to
use that it would be a special order with minimum quantities.
The ARMmitePRO is a different CPU with very different hardware, so if you access
the hardware registers directly in your program that code would have to be
changed.
The same is pretty much true for C. Moving from the SuperPRO to ARMmitePRO
involves a recompile of the C as the SuperPRO uses 16 bit Thumb instructions,
where the ARMmitePRO can be 16 or 32.