Usb host mass storage class driver (hmsc) (59 pages)
Summary of Contents for Renesas R8C/26
Page 1
All information contained in these materials, including products and product specifications, represents information on the product at the time of publication and is subject to change by Renesas Electronics Corporation without notice. Please review the latest information published by Renesas Electronics Corporation through various means, including the Renesas Electronics Corporation website (http://www.renesas.com).
Page 2
Renesas Electronics. Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for an application categorized as “Specific”...
Contents Section 1 Inside the E8a Emulator User’s Manual....................1 Section 2 E8a Emulator Specifications ........................2 Section 3 Connecting the E8a Emulator to the User System ..................3 Section 4 E8a Connecting Connector Pin Assignments..................4 Section 5 Examples of E8a Connections.........................5 Section 6 Notes on Using the E8a Emulator......................8 Section 7 Debugger Setting ...........................15 Section 8 Applicable Tool Chain and Third-party Products ...................18 This user’s manual is applicable to the E8a emulator software V.1.03 Release 00 or later.
E8a Emulator Section 1 Inside the E8a Emulator User’s Manual Section 1 Inside the E8a Emulator User’s Manual The E8a manual consists of two documents: the E8a User’s Manual and the E8a Additional Document for User’s Manual (this document). Be sure to read BOTH documents before using the E8a emulator. (1) E8a Emulator User’s Manual The E8a Emulator User’s Manual describes the hardware specifications and how to use the emulator debugger.
Section 2 E8a Emulator Specifications Section 2 E8a Emulator Specifications Table 2.1 shows the E8a emulator specifications for the R8C/26, R8C/27, R8C/28 and R8C/29 Groups. Table 2.1 E8a Emulator Specifications for the R8C/26, R8C/27, R8C/28 and R8C/29 Groups Target MCUs...
E8a Emulator Section 3 Connecting the E8a Emulator to the User System Section 3 Connecting the E8a Emulator to the User System Before connecting the E8a emulator to the user system, a connector must be installed in the user system so a user system interface cable can be connected.
E8a Emulator Section 5 Examples of E8a Connections Section 5 Examples of E8a Connections Figure 5.1 shows a connection example. Pulled up at 4.7kΩ ± 10% MODE (pin 7) MODE R8C/26 R8C/27 R8C/28 User logic R8C/29 RESET RESET Pulled up at 4.7 kΩ...
Page 9
E8a Emulator Section 5 Examples of E8a Connections Points to Remember 1. The E8a emulator uses the MODE pin for MCU control and forced break control. Pull up the E8a emulator and MCU pins and connect the E8a emulator. Figure 5.2 E8a Emulator and MODE Pin Connection 2.
Page 10
E8a Emulator Section 5 Examples of E8a Connections 7. Figure 5.4 shows the interface circuit in the E8a emulator. Use this figure as a reference when determining the pull- up resistance value. Figure 5.4 Interface Circuit Inside the E8a Emulator (For Reference) REJ10J1649-0400 Rev.4.00 Page 7 of 18 Apr 30, 2010...
Programming Data Area Vector Area ROM Area (Default Area) Area R5F21262 8 KB R5F21264 16 KB R8C/26 R5F21265 24 KB 2 KB of the ROM area [*1] R5F21266 32 KB (User Flash Area 8000h - 87FFh) R5F21272 8 KB 2 KB...
Page 12
E8a Emulator Section 6 Notes on Using the E8a Emulator Figure 6.1 [Firmware Location] tab Figure 6.2 [Firmware Location] tab of [Emulator Setting] Dialog Box (1) of [Emulator Setting] Dialog Box (2) 2. When the system is launched, the E8a emulator initializes the general registers and some of the flag registers as shown in Table 6.2.
Page 13
E8a Emulator Section 6 Notes on Using the E8a Emulator 6. SFRs used by the E8a emulator program The SFRs listed in Table 6.3 are used by the E8a emulator program as well as the user program. Do not change the value in the memory window, etc., by other than the user program.
Page 14
In ‘Program Flash’ mode, the contents of the user program are input into the ID code area. When debugging in other modes, FFh, FFh, FFh, FFh, FFh, FFh, FFh is written into the ID code area regardless of the contents of the downloaded user program. Table 6.5 ID Code Storage Area of R8C/26, 27, 28 and 29 Address Description...
Page 15
ROM data for products. 16. Reserved area The addresses not specified in the Hardware Manual for R8C/26, R8C/27, R8C/28 and R8C/29 Groups are reserved area. Do not change the contents. Otherwise, the E8a emulator cannot control the MCU. 17. Debugging in stop mode or wait mode...
Page 16
E8a Emulator Section 6 Notes on Using the E8a Emulator 19. Exceptional step execution a) Software interrupt instruction Step execution cannot be performed in the internal processing of instructions (undefined, overflow, BRK and INT) which generate a software interrupt continuously in the program. Example: INT instruction INT#3 Passes through if the STEP execution is carried out.
Page 17
E8a Emulator Section 6 Notes on Using the E8a Emulator 23. Note on debugging in CPU rewrite mode CPU rewrite can be executed only for the data area. If it is executed for the program area, the E8a emulator cannot control the MCU.
E8a Emulator Section 7 Debugger Setting Section 7 Debugger Setting 1. [Emulator Setting] dialog box The [Emulator Setting] dialog box is provided for setting items that need to be set when the debugger is launched. The contents set from this dialog box (excluding [Power Supply] group box items) also become valid the next time the debugger is launched.
Page 19
E8a Emulator Section 7 Debugger Setting 2. [Emulator mode] tab Device selection, mode specification and power supply setting are made from the [Emulator mode] tab of the [Emulator Setting] dialog box. Figure 7.2 [Emulator mode] Tab [MCU Group] Select the name of the MCU group to be used from the [MCU Group] drop-down list. [Device] Select the type of MCU to be used from the [Device] drop-down list.
Page 20
E8a Emulator Section 7 Debugger Setting [Mode] - Erase Flash and Connect When starting the debugger, the E8a emulator erases the Flash memory data for the MCUs and simultaneously writes the E8a emulator program. - Keep Flash and Connect When launching the debugger, the E8a emulator retains the Flash memory data for the MCUs. Note that the area for the E8a emulator program and the vector area used by the E8a emulator will change.
E8a Emulator Section 8 Applicable Tool Chain and Third-party Products Section 8 Applicable Tool Chain and Third-party Products With the R8C/2x Series E8a emulator, you can debug a module created by the inhouse tool chain and third-party products listed in Table 8.1 below. Table 8.1 Applicable Tool Chain and Third-party Products Tool chain M3T-NC30WA V.5.20 Release 01 or later...
Page 22
E8a Emulator (R0E00008AKCE00) Additional Document for User's Manual Notes on Connecting the R8C/26, R8C/27, R8C/28 and R8C/29 Publication Date: Apr 30, 2010 Rev.4.00 Published by: Renesas Electronics Corporation Microcomputer Tool Development Department 2 Edited by: Renesas Solutions Corporation...
Need help?
Do you have a question about the R8C/26 and is the answer not in the manual?
Questions and answers