Specifications
www.m16canz.com
12
Once the project files are downloaded to KD30, you are now ready to perform your code
debugging and evaluation in KD30 using its many debugging features.
VI. STAND-ALONE MODE DEBUGGING
With the target program in the project now fully debugged under KD30, it is now time to create a
machine language file in Motorola S format to write the target program into the M16C/62 Flash on the
SK board. This will allow the target program to be debugged in stand-alone mode (i.e. without KD30 &
monitor program).
Currently the target program is still in absolute module file (.x30) format as created by the linker ln30.
To convert the absolute module file (.x30) to a machine language file in Motorola S format (.mot), the
lmc30 utility is used.
LMC30 Setup
1. Register LMC30 in TM by clicking the Tool Register button in TM Project Bar.
2. Select the Application tab in the Tools Information window and click the Add button.
3. In the Application Information window:
a. Enter ‘lmc30’ in the Name field.










