Set Up A Iar C-Spy Debug Session; Flashing The Debug Monitor; Changing The Exec Communication Dll; Figure 53: Writeez3 Open File - NEC 78K0 User Manual

Hide thumbs Also See for 78K0:
Table of Contents

Advertisement

78K0 - Shine It!

9. Set up a IAR C-SPY debug session

The following chapter describes the necessary steps to set up an IAR C-SPY debug session using the EV-
K0-HCD board.

9.1 Flashing the Debug monitor

Unlike to other 78K OCD-Debug-Interfaces the debug monitor program is not automatically downloaded by
the C-SPY Driver to the target device. To be able to start a debug session this debug monitor has to be
downloaded by an additional tool, WriteEZ3.
Please use following configuration to make sure that the flash programming of the debug monitor works as
expected.
1.
Select the right .prm file as explained in chapter
78F8024.prm file can be found on the CDROM in the folder "CDROM\WRITEEZ3\PRM
files\78K0"
2.
Set the Supply Oscillator frequency to 8MHz
3.
The next step is to load the debug monitor .hex file. File → Load... and select the
"K0_MF2_UART6_MON.hex" from the CDROM folder "CDROM\WRITEEZ3"
4.
Click the erase / program / verify button.
5.
If the procedure was successfull the debug monitor is now correctly flashed to the device.

9.2 Changing the EXEC communication DLL

The next step to establish a debug session is to change the regarding debug communication DLL of the IAR
Embedded Workbench.
Note: Please make sure that the IAR Embedded Workbench for 78K is closed during this procedure.
1.
Locate the "exk032o.dll" in the C:\Program Files\IAR Systems\Embedded Workbench
Kickstart 5.0\78k\config\nec

Figure 53: WriteEZ3 Open file

User's Manual U19610EE3V0UM00
8.1 Device
Setup. The regarding
47

Advertisement

Table of Contents
loading

Table of Contents