19 Jun 2009
RTMC9S12-Target is a MATLAB/Simulink block-set for real-time control on Freescale MC9S12 microcontrollers. This contribution opens the door to inexpensive rapid prototyping of real-time control systems on MC9S12DP256 based hardware.
A Simulink block diagram is translated into C-code using MathWorks’ Real-Time Workshop and Embedded Coder. The present version of this toolbox has been developed and tested on MATLAB V6.5.1 (R13.1). The builder calls upon Metrowerks' CodeWarrior to compile the generated C-code into a real-time executable file which can be downloaded into the Flash ROM of the chip. Presently, Wytec's Dragon-12 as well as the slightly smaller MiniDragon+ development boards are supported. Adaptations to other MC9S12DP256B/C based target boards should be straight forward