Download E1/E20 Emulator Additional Document for User`s Manual
Transcript
E1/E20 Emulator CHAPTER 2 DESIGNING USER SYSTEM (a) Debug monitor areas (areas must be reserved) The area of addresses 0x02, 0x03, and 0x8F and on is used to embed e a monitor program for debugging. Be sure to reserve this area. The monitor program performs initialization process for the communication interface for debugging as well as run/break processing of the CPU. If this area is rewritten by user program or flash self-programming, on-chip debugging can no longer be performed. [Area reservation method] Figure 2-19 shows an example of reserving an area with the CubeSuite+. Figure 2-19 is the setting dialog for link option of the CubeSuite+. In [Use on-chip debug] in the red rectangle in Figure 2-19, set [Yes (-go)] and specify [Debug monitor area size] (the area to reserve varies depending on the target device and whether the RRM function is used or not. For the required size of the debug monitor area, refer to Table 2-7.). This setting reserves the area of 0x02, 0x03, and 0x8F and on for the debug monitor. Figure 2-19. R20UT0691EJ0100 Rev.1.00 Aug 4, 2011 Link Option Setting (Debug Monitor Area) Page 22 of 38