
power to the board.
Figure 9. MTK2 after successfully loading the provided hex file onto the MAXQ622.
Compiling, Debugging, and Running Code in the IAR Embedded
Workbench
The example code in this evaluation kit was written and tested with version 2.30 of the IAR Systems
Embedded Workbench. The full version of IAR will be needed to run and debug the code as the code size
exceeds the KickStart edition’s 4kB limit. IAR provides documentation on how to install the compiler and how
to use the tools. This section describes how to compile, run, and debug the example code with IAR, assuming
IAR is already properly installed. It may be necessary to reconnect the USB-to-serial adapter to avoid
problems while trying to load/debug code.
Start the IAR Embedded Workbench and select
Open existing workspace
(
Figure 10
). If the window does
not show up automatically, select
File
Open
Workspace…
from the menu. Locate and open the
example code’s workspace named
ds8005ek.eww
(
Figure 11
).
Page 10 of 22