SLAU320AJ July 2010 – May 2021
The host controller stores the JTAG communication protocol code and the target program in its flash memory (256KB available on the MSP430F5437). The programming software itself occupies between 4KB and 6KB, so approximately 250KB remain for the target device program. The Replicator host can be loaded with the target source code by the flash emulation tool (FET) or by the MSP430 serial programming adapter (visit the MSP430 website for more information on device programming tools).
The basic functionality of the programmer is as follows:
The entire procedure takes approximately 3 seconds for a target program size of 8KB. (Some code not strictly required to erase, program, and verify the target MSP430 MCU is executed in the Replicator.c source file, increasing the specified programming times. These additional instructions can be customized to fit the individual system programming requirements.)
To program the host MSP430F5437, different development environments can be used— IAR Embedded Workbench® IDE (IAR) or Code Composer Studio™ IDE (CCS) by Texas Instruments. The free version of IAR imposes code size restrictions. To use the 250KB previously mentioned, the full version of IAR or is needed. The folder structure provides both an IAR and CCS folder, each of which contains the environment-specific files. For IAR, the workspace file (extension .eww) must be started to open the IAR workbench. Using CCS, each Replicator project must be imported into the user's workspace. This can be done by right-clicking in the project's view and selecting "Import" in the context menu. After choosing the desired Replicator folder, the project is imported and ready to use.