78K0R - Cool it!
Next the correct linker settings of the demo project will be checked. This can be done in the "Linker"
category as shown below. Select the "Config" tab and check that the linker command file
"lnk78f1166_a0.xcl" is selected. This file is used by the linker and contains information on where to place the
different sections of code, data and constants that may be used within the demo project:
Figure 26: IAR Linker options
Now after everything has been setup correctly it's time to compile and link the demonstration project. Close
the Options menu and select "Rebuild All" from the "Project" menu. If the project is compiled and linked
without errors or warnings it can now be downloaded to the 78K0R – Cool it! board and debugged. To start
the IAR C-SPY debugger select the option "Debug" from the "Project" menu or press the (
) "Debugger"
button. In the next step the TK-78 Emulator has to be configured before downloading a new application.
Press the OK button to enter the emulator hardware setup. Set the configuration as show in the figure below
and start the download by pressing the OK button.
Figure 27: TK-78 hardware setup menu
40
User's Manual U18426EE1V0UM00