Home

MMCEVB2107 Evaluation Board (EVB2107) User`s Manual

image

Contents

1. o DS1 J7 052 o 053 51 DS4 0 5 U1 52 S3 J28 ss J36 J37 J38 U10 00 451 452 J48 J39 ss ss DS6 O F1 J53 S4 J61 J57 J58 m Figure 1 1 MMCEVB2107 Evaluation Board Note the three groups of eyelets at the lower left of the EVB2107 sites J51 J52 and J53 Although the factory does not populate these sites you may access many signals at these sites The connectors must be 2 by 10 pin connectors with pins at 0 1 inch centers such as the Berg 69192 620 Location F1 is for the EVB2107 fuse The resident MCU at location U10 is an MMC2107 device in a 144 pin QFP package The CPLD is at location U1 Table 1 1 lists EVB2107 specifications MOTOROLA MMCEVB2107UM D 11 User s Manual Introduction Table 1 1 MMCEVB2107 Evaluation Board Specifications Characteristic Specifications MCU extension I O port HCMOS compatible Operating temperature 0 to 40 C Storage temperature 40 to 85 C Relative humidity 0 to 90 non condensing Reference clock crystal frequency 8 megahertz External clock 8 to 32 megahertz depending on board settings Power requirements 12 volts dc at 0 5 amperes provided from a separate power source Dimensions 6 9 x 8 2 inches 175 x 208 mm 12 MMCEVB2107UM D 4 MOTORO
2. Connector Site P2 J2 Signal Descriptions n nanana nsaan 44 4 8 MAPI Connector Site P3 J3 Signal 46 4 9 MAPI Connector Site P4 J4 Signal 48 4 MOTOROLA MMCEVB2107UM D User s Manual MMCEVB2107UM D 4 MOTOROLA User s Manual EVB2107 Features Section 1 Introduction This user s manual explains connection configuration and operation information for the MMCEVB2107 Evaluation Board EVB2107 a development tool of Motorola s MeCORE family The EVB2107 lets you develop code to be embedded in an MMC2107 microcontroller unit A standalone tool the EVB2107 uses an RS232 connection to your computer This connection lets you use Motorola s MeCORE System Development Software SysDS the GNU source level debugger or the Metrowerks MetroTRK debug software The SysDS consists of a loader the Picobug monitor and a built in selftest The EVB2107 also has aOnCE connector enabling you to use a debugging application that requires one Optionally you may use the EVB2107 with a different emulator product such as the Motorola Embedded Background Debug Interface EBDI or the Metrowerks CodeWarrior integrated development environment Motorola s SysDS loader lets you download your code into the EVB2107 s SRAM for execution or FLASH memory for execution or for storage in non volatile memory 1 1 EVB2107 Features The EVB210
3. 0 8103 FFFF Motorola system software programs chip select 1 for wait state making its operation much like FLASH operation NOTE Chip select 1 emulation is not an exact simulation of FLASH operation which has no wait states Actual FLASH operation is slightly faster than chip select 1 emulation MOTOROLA MMCEVB2107UM D 21 User s Manual Configuration Case M1 OFF OFF Swap 02 20 OFF These subswitch settings also configure emulation mode MCU memory range 0x0000_0000 0x0001_FFFF under chip select 1 control gets mapped to EVB2107 FLASH Chip select 2 provides access to the same physical memory but at EVB2107 addresses 0x8102_0000 0 8103 FFFF For debugging in this configuration you must use an EBDI or other product that communicates through the OnCE interface Motorola system software does not support this configuration Case M1 OFF ON Swap 02 20 These subswitch settings also configure emulation mode Chip select 1 does not specify any EVB2107 memory Motorola system software disables chip select 1 emulation and programs chip select 1 for three wait states In this configuration your code can use chip select 1 to specify user defined memory 2 6 Memory Mapped Operation The MCU operating mode determines the implementation of memory mapped I O MMIO operation In master or emulation mode the CPLD MMIO register in MCU SRAM reads the settings of subswitches USRO thr
4. lo address Download With optional address value downloads a binary image to that address in SRAM Without any address value downloads to SRAM an S record text file md address1 address2 size Memory Display e With optional address and address2 values displays memory contents between the addresses e With optional address value displays contents of 16 memory bytes With no address value defaults to the last address viewed The optional size value specifies the format b bytes the default h half words words i instructions mds address Memory Display 256 With optional address value displays contents of 256 memory bytes starting at that address With no address value displays contents of 256 memory bytes starting from the last address viewed mm address value size Modify Memory With optional address and value parameter values assigns that value to the address location With optional address value but no value parameter value prompts for a value for the adaress location then prompts for a new value for the next location To stop modification enter a period instead of a new value With no optional address value prompts for a value for the last address viewed then prompts for a new value for the next location To stop modification enter a period instead of a new value The optional size value specifies the format b bytes the defa
5. ADDRI0 These lines change state only during external memory accesses not in exact order 38 29 26 17 DATA 31 DATA BUS lines 31 0 Bi directional data lines for accessing external 14 3 DATA 0 memory A hardware reset or no external bus activity hods these lines in their exact previous logic state order 48 MMCEVB2107UM D MOTOROLA User s Manual Index C chip select 1 emulation 21 22 CMFR FLASH 32 components configuring 13 18 computer system connections 18 19 configuration 13 23 configuring components 13 18 connections computer system 18 19 connector information 35 48 connector pin assignments connector site J51 37 connector site J52 38 connector site J53 39 connector sites P1 J1 P4 J4 43 45 47 OnCE connector J6 35 connector pn assignments RS232 connectors J57 J58 36 connector signal descriptions connector site J51 38 connector site J52 38 connector site J53 40 connector sites P1 J1 P4 J4 42 44 46 48 OnCE connector J7 35 RS232 connectors J57 J58 36 D debugging embedded code 25 30 E emulation chip select 1 21 22 EVB2103 layout 10 11 eyelet areas 21 22 23 features 9 10 G GNU source level debugger 30 introduction 9 12 MMCEVB2107UM D layout 10 11 M MAPI connector sites 40 44 memory mapped I O 22 23 memory maps 20 mystery connector sites 39 OnCE connector 35 operation 25 34
6. Picobug monitor commands 26 sample session 27 30 using 25 30 pin assignments connector site 51 37 connector site J52 38 connector site J53 39 MAPI connector sites P1 J1 P4 J4 43 45 47 OnCE connector J6 35 RS232 connectors J57 J58 36 prototyping areas 23 prototyping connector sites 37 40 R requirements system user 10 5 selftest 19 signal descriptions connector site J16 38 connector site J51 38 connector site J53 40 connector sites P1 J1 P4 J4 42 44 46 48 OnCE connector J7 35 RS232 connectors J27 J28 36 specifications 12 SRAM external standby power connector J36 37 MOTOROLA User s Manual 49 SysDS loader steps 30 34 using 30 34 system requirements 10 user requirements 10 MOTOROLA MMCEVB2107UM D 50 User s Manual Revision History Revision Number Date Author Summary of Changes Original July 2000 Original document MMCEVB2107UM D MOTOROLA User s Manual 51 Revision History MOTOROLA MMCEVB2107UM D 52 User s Manual
7. analog digital converter 14 12 10 8 PQB 3 POB 0 B ANALOG INPUTS lines 3 0 B analog inputs to the QADC also usable as general purpose digital inputs 6 4 2 4 PQA 3 A ANALOG INPUTS lines 4 3 1 A analog inputs to the QADC PQA 1 also usable for general purpose digital 44 MMCEVB2107UM D MOTOROLA User s Manual VDD3V PTJ3 98 PTJ3 96 PTJ3 94 PTJ3 921 PTJ3 90 PTJ3 88 PTJ3 86 ONCE DE B ONCE TDI ONCE TDO VSTBY IDVDD VDD5V PTJ3 72 PTJ3 70 GND 2 TCH VDD3V PTJ3 58 PTJ3 56 PTJ3 54 PTJ3 52 PTJ3 50 PTJ3 481 PTJ3 46 PTJ3 44 PTJ3 42 PTJ3 40 PTJ3 38 PTJ3 36 PTJ3 34 PTJ3 32 PTJ3 30 PTJ3 281 PTJ3 26 GND4 PTJ3 22 PTJ3 20 PTJ3 18 PTJ3 16 PTJ3 14 PTJ3 12 PTJ3 10 PTJ3 8 PTJ3 6 PTJ3 4 PTJ3 2 MAPI Connector Sites P1 J1 P2 J2 P3 J3 P4 J4 VDD3V GND GND EXTAL GND PTJ3 89 ONCE TRST B ONCE TCLK ONCE TMS GND RSTOUT B RESET B SHS B PTJ3 73 PTJ3 71 PTJ3 69 PTJ3 67 GND GND MID9 GND MID8 VDD3V PTJ3 57 GND MID4 PTJ3 53 PTJ3 51 GND 9MID5 PTJ3 47 PTJ3 45 GND PTJ3 41 PTJ3 39 IDVDD MID6 PTJ3 35 PTJ3 33 GND MID7 PTJ3 29 PTJ3 27 GND GND4 PTJ3 21 PTJ3 19 PTJ3 17 PTJ3 15 PTJ3 13 PTJ3 11 GND4 GND3 PTJ3 5 PTJ3 3 GND3 Figure 4 7 MAPI Connector Site P3 J3 Pin Assignments MOTOROLA MMCEVB2107UM D 45 User s
8. B DEBUG EVENT Active low debug mode control for the OnCE controller An input signal from an external command controller makes the OnCE controller immediately enter debug mode An output signal acknowledges debug mode entry to the external command controller 14 ONCE_TRST_ OnCE TEST RESET Active low input that asynchronously initializes JTAG B and OnCE logic 4 2 RS232 Connectors J57 J58 Connectors J57 and J58 the RS232 connectors have DCE format The diagram below shows the pin numbering of these connectors Table 4 2 lists the pin assignments and signal directions for these connectors Table 4 2 RS232 Connector J57 J58 Pin Assignments Ring Indicator Pin Signal Signal Direction 1 CD Out hard wired active Carrier Detect positive 2 TXD SCI OUT Out Transmitted Data 3 SCI IN In Received Data 4 7 No connection 5 GROUND 6 DSR Out hard wired active Data Set Ready positive 8 RTS Out hard wired active Request to Send positive 9 RI In hard wired inactive negative NOTE Connector J57 is for channel B and connector J58 is for channel A Accordingly the respective pin 1 assignments can be thought of as CDB and CDA Similarly the respective pin 2 assignments can be thought of as TXDB and TXDA and so forth 36 MMCEVB2107UM D MOTOROLA User s Manual SRAM External Standby Power Connector J36 Also not
9. Connector Location J53 Pin Assignments 39 4 5 MAPI Connector Site P1 J1 Pin Assignments 41 4 6 MAPI Connector Site P2 J2 Pin Assignments 43 4 Connector Site P3 J3 Pin Assignments 45 4 8 MAPI Connector Site P4 J4 Pin Assignments 47 4 MMCCEVB2107UM D User s Manual MMCCEVB2107UM D 4 User s Manual Tables 1 1 MMCBVB2107 Evaluation Board Specifications 12 2 1 Component Configuration Settings 13 2 2 User Options Switch 17 2 3 EVB2107 Selftest LED Sequence 19 2 4 2107 Default Memory Map Swap 02 20 subswitch ON 20 2 5 EVB2107 Alternate Memory Map Swap 02 20 subswitch OFF 21 Sel PIeobus Commands ss a esed SA 26 4 1 OnCE Connector J7 Signal Descriptions 35 4 2 RS232 Connector J57 J58 Pin Assignments 36 4 3 Connector Location J51 Signal Descriptions 38 4 4 Connector Location J52 Signal Descriptions 38 4 5 Connector Location J53 Signal Descriptions 40 4 6 Connector Site Signal Descriptions 42 4 7
10. Manual Connector Information Table 4 8 MAPI Connector Site P3 J3 Signal Descriptions Pin Mnemonic Signal 100 99 60 59 VDD3V 3 3 volt power 98 96 94 92 90 PTJ3 x Pass Through 88 86 73 69 67 58 56 54 50 48 44 42 38 36 32 30 26 22 10 8 6 2 97 95 91 81 GND GROUND 68 65 43 25 93 EXTAL EXTERNAL CLOCK Off board clock signal 87 ONCE_TRST_B OnCE TEST RESET Active low input that asynchronously initializes JTAG and OnCE logic 85 ONCE TCLK TEST CLOCK Input signal that synchronizes JTAG and OnCE logic 84 ONCE DE B OnCE DEBUG EVENT Open drain active low debug signal the OnCE connector If an input signal from an external command controller causes the processor to enter debug mode If an output signal acknowledges that the MCU is in debug mode 83 ONCE TMS OnCE TEST MODE SELECT Input signal that sequences the JTAG test controller s state machine sampled on the rising edge of the ONCE TCLK signal 82 ONCE TDI OnCE TEST DATA INPUT Serial input for JTAG test instructions and data sampled on the rising edge of the ONCE TCLK signal 80 ONCE TDO OnCE TEST DATA OUTPUT Serial output for JTAG test instructions and data Tri stateable and actively driven in the Shift IR and Shift DR controller states this signal changes on the falling edge of the ONCE_TCLK signal 79 RSTOUT B RESET
11. OUT Active low output signal controlled by the processor that resets external components Activation of any internal reset sources asserts this line 78 VSTBY STANDBY POWER Standby power source for the RAM array should main power VDD be lost 77 _ RESET IN Active low input signal that starts a system reset a reset of the MMC2107 device and most peripherals 76 37 IDVDD IDENTIFICATION POWER Special 3 volt power signals pin 37 also is MID6 for the identification code signals 75 SHS_B SHOW CYCLE STROBE Active low output strobe signal for capturing addresses controls and data during show cycles Emulation mode forces this signal active In master mode software must enable this signal 74 VDD5V 5 volt power 63 61 55 49 31 GND MID9 GROUND Optionally MID identification code lines 9 8 4 5 and 7 signals MID8 MID4 that identify the host processor board MID5 MID7 66 64 62 TC 2 0 TRANSFER CODE lines 2 0 Outputs indicating the data transfer code for the current bus cycle 24 23 9 GND4 GROUND Connection to the GROUND 4 plane 7 1 GND3 GROUND Connection to the GROUND 3 plane 46 MMCEVB2107UM D 4 MOTOROLA User s Manual Connector Sites 1 1 2 2 P3 J3 4 4 P4 J4 VDD5V 100 99 VDD3V CSE 1 98 97 GND GND 96 e lt 95 CLK OUT CSE 0 94 e 93 GND PTJ4 92 92 e e
12. Open button As soon as the download is complete this may take several minutes a confirmation message appears followed by the Picobug prompt Done downloading The target PC is set to 8101d000 picobug gt 7 the new contents of registers enter the Register Display rd command again without any name value picobug gt rd The system responds with an updated display which shows that the pc register value reflects the start of the program just downloaded pc 81014000 fffffffe fpc 50100002 psr 80000000 epsr 80000000 fpsr 04000200 550 554 bad0beef 80010040 02200008 00000100 00c90800 vbr 8100dc00 r0 r7 badObeef 817ffffd 80010040 00c30000 00002000 00000000 00000009 81005000 r8 r15 81000024 80010040 0000000 00000080 00cc0004 000000c0 8100e7c4 8001125c 28 MMCEVB2107UM D 4 User s Manual Debugging Embedded Code 8 set a breakpoint at address 0x8101d1 enter this address as part of the Breakpoint br command picobug gt br 0 8101411 The Picobug prompt reappears confirming that the system set the breakpoint picobug gt 9 Tosee the list of breakpoints enter the Breakpoint br command without any address value picobug gt br The system responds with the addresses of breakpoints in this case only the breakpoint set in step 8 8101D11E 10 start program execution enter the Go g command picobug gt g In this instance the breakpoint set during step 8 st
13. guide gives the instructions for loading the GNU software and for making any connections different from standalone Picobug connections 3 2 Using the SysDS Loader The Motorola SysDS Loader lets you program code into FLASH memory upload FLASH contents to a PC file verify that FLASH contents match those of a download file display memory contents erase FLASH memory erase a sector of FLASH memory or blank check a sector of FLASH memory NOTE 1 SysDS Loader functionality is the same for both communication connections either host computer port directly to EVB2107 RS232 connector J58 or host computer port to an EBDI then to EVB2107 OnCE connector J7 2 For the first action of an SysDS Loader session downloading verifying displaying erasing or blank checking the software may download algorithm file programmer2107 rec before carrying out the action Ifthe software cannot find the algorithm file an appropriate error message identifies the file Click on the message s OK button to bring up a file select dialog box then use this dialog box to specify the location of the algorithm file If necessary recopy the file from the transmittal CD ROM Click on the OK button to resume your SysDS Loader action Follow these steps to use the SysDS Loader 1 Ifyou have not already installed the SysDS Loader onto your computer hard disk do so The EVB2107 product release guide includes installation instructions 2 Ifthe Hyper
14. select O memory disables internal FLASH Master mode configures booting BOOT OFF from internal FLASH memory Emulation mode configures booting from chip select 1 memory Data Bus Size 32 bit DATA 32 16 ON 16 bit MPU data lines 15 0 DATA 32 16 OFF become general purpose FLASH SRAM Chip Chip select 0 control of external SWAP 02 202 ON Select Configuration FLASH chip select 2 control of external SRAM Chip select 2 control of external SWAP 02 202 OFF FLASH chip select 0 control of external SRAM MCU Operating Mode Master 1 2 Emulation disables FLASH emulation on CS1 M12 OFF Single Chip OFF M1 2 ON Emulation enables FLASH OFF emulation on CS1 M12 OFF Firmware Module Built in Selftest USRO OFF USR1 OFF USR2 OFF Picobug Monitor USRO OFF USR1 ON USR2 OFF Programmer USRO ON USR1 OFF USR2 OFF MetroTRK USRO ON USR1 ON USR2 OFF User Code USRO ON USR1 ON USR2 ON NOTES 1 Factory setting 2 A new setting of this subswitch takes effect upon reset or powerup MOTOROLA MMCEVB2107UM D User s Manual 17 Configuration 2 1 2 Using the Power Headers J28 J37 J38 J39 J48 Your EVB2107 has these power headers J28 3 volt power to the 010 resident MCU J37 standby power for internal SRAM of the U10 resident MCU J38 power for internal FLASH of the U10 resident MCU J39 PLL power and J48 5 vo
15. 0 signals provided that the chip configuration register CCR SZEN bit is set INT_B 5 2 states of PSTAT 3 0 signals provided that the CCR PSTEN bit is set 58 34 IDVDD MIDO IDENTIFICATION POWER Special 3 volt power signals MIDO MID3 for the identification code signals 57 55 53 ICOC2 3 TIMER 2 INPUT CAPTURE OUTPUT CAPTURE lines 3 0 Signals ICOC2 O for internal timer channel 2 54 51 49 ICOC1 3 TIMER 1 INPUT CAPTURE OUTPUT CAPTURE lines 3 0 Signals ICOC1 0 for internal timer channel 1 52 40 GND MID1 GROUND Optionally MID identification code lines 1 and 2 signals MID2 that identify the host processor board 48 SCK SERIAL CLOCK Synchronization signal for master slave communication an output if SPI is configured as master an input if SPI is configured as slave 44 MOSI MASTER OUT SLAVE IN If SPI is enabled the data master out slave in signal If SPI is disabled a general purpose port E I O signal 42 MISO MASTER IN SLAVE OUT If SPI is enabled the data master in slave out signal If SPI is disabled a general purpose port E I O signal 38 SS B SLAVE SELECT Active low slave select signal in slave mode In master mode a peripheral chip select signal 26 25 12 GND1 GROUND Connection to the GROUND 1 plane 10 8 6 4 2 AGND ANALOG GROUND Analog ground connection for the analog digital converter 5 MAPIVRH VOLTAGE REFERENCE
16. 04 vbr 8100dc00 00000000 00000009 81005000 000000c0 8100 7 4 8001125 3 To see the contents of a specific register such as the register enter the Register Display rd command with the name value picobug gt rd epc The system responds with a display such as this epc FFFFFFFE MMCEVB2107UM D User s Manual 27 Operation 4 To see the contents of a specific memory location enter the Memory Display command with the location address An optional size value in this case w for word may be part of the command picobug gt md 0x8101d000 The system responds with display such as this 8101D000 710B1210 5 To see the contents of amemory range enter the Memory Display md command with the beginning and ending addresses An optional size value in this case b for byte may be part of the command picobug gt md 0x8101d000 0x8101d016 eb The system responds with a display such as this 81010000 71 OB 12 10 7F 0B 00 00 24 70 9F 00 8F 00 20 70 q 81010010 00 00 00 24 70 9 6 download into SRAM a program executable in S record format enter the Download lo command without any address value picobug gt lo The system waits for you to send the program executable file To do so open the Transfer menu and select Send Text File This opens a file select dialog box Use this dialog box to specify the appropriate S record file then click on the
17. 07 you may use the Picobug monitor as standalone software Optionally you may use the GNU source level debugger with the Picobug monitor Another debugging option is the Metrowerks MetroTRK debugger Other firms may produce still additional software to run test and modify the code you develop for embedding in an MMC2107 MCU 3 1 1 Using the Picobug Monitor The Picobug debug monitor comes burned into the external FLASH memory devices of your EVB2107 Before you start the Picobug monitor make sure that you have an RS232 connection between EVB2107 connector J58 and a serial port of your computer To start the monitor for use as a standalone debugger 1 Make sure that power is not applied to your EVB2107 2 Activate Hyperterminal or a comparable terminal emulation program If you use a different terminal emulation program you must make corresponding changes in the commands and menu selections of these instructions and in the instructions of paragraph 3 1 2 Select File gt Properties to open a properties dialog box 4 Click on the Configure button of the dialog box This opens a configuration dialog box Use the configuration dialog box to set the communications properties 19200 baud 8 data bits no parity 1 stop bit and no flow control Also specify the correct communications port for example COMI Click the OK button of the dialog box 6 Setswitch S2 for the Picobug monitor USRO and USR2 subswitches OFF USR1 subswitch
18. 2 and M1 Subswitches 67 Factory setting lt lt ON 5 07114 Configures emulation disables internal Ein FLASH emulation on chip select 1 MO 15 7 1 QN Configures single chip mode M 51 4 Configures emulation enables internal FLASH emulation on chip select 1 USR0 USR2 Subswitches User Option Switch 52 Specifies built in selftest firmware module to be run out of reset Specifies Picobug monitor firmware module to be run out of reset Factory setting Specifies Programmer firmware module to be run out of reset Specifies MetroTRK firmware module to be run out of reset 14 MMCEVB2107UM D User s Manual 4 MOTOROLA Configuring Board Components Table 2 1 Component Configuration Settings Continued Component Position Effect User Option Switch 52 Specifies user code to be run out of reset USRO USR2 Subswitches continued uso USR1 61 use 8 10 111 lt QN Reset Switch S3 Push to reset all board components Power Switch S4 Turns power OFF ON OF Factory setting Turns power ON ON OFF Power Headers Connects specified power signal MCU 928 internal RAM standb
19. 39 PTJ1 39 SS B 38 e e 37 PTJ1 37 PTJ1 36 36 e e 35 1 35 IDVDD MID3 34 e e 33 PTJ1 33 PTJ1 32 32 e e 31 1 31 PTJ1 30 30 e 29 PTJ1 29 GND 28 e e 27 PTJ1 27 GND1 26 e 25 GND1 PTJ1 24 24 e e 23 PTJ1 23 PTJ1 22 22 e e 21 1 21 PTJ1 20 20 e e 19 1 19 PTJ1 18 18 e e 17 1 17 PTJ1 16 16 e 15 PTJ1 14 14 e e 13 1 13 GND1 12 e e 11 PTJI 11 AGND 10 e 9 PTJ1 9 AGND 8 e e 7 1 7 AGND 6 e e 5 MAPIVRH AGND 4 e e 3 AGND 2 e 1 PQA 0 Figure 4 5 Connector Site P1 J1 Pin Assignments MOTOROLA MMCEVB2107UM D 41 User s Manual Connector Information Table 4 6 MAPI Connector Site P1 J1 Signal Descriptions Pin Mnemonic Signal 100 98 93 91 88 PTJ1 x Pass through 75 72 70 69 47 45 43 39 37 35 33 29 27 24 13 11 9 7 99 60 59 VDD3V 3 3 volt power 92 89 74 71 46 41 GND GROUND 28 90 VDD5V 5 volt power 73 DEVSP B 0 DEVELOPMENT SPACE line 0 Active low signal indicating that the current memory cycle is addressing on board devices 68 61 INT B 7 EXTERNAL INTERRUPT lines 7 0 Active low lines for external INT B 0 interrupts or general purpose I O In addition certain lines can show not in exact processor core signal states order INT_B 7 6 states of TSIZ 1
20. 7 features e 144 pin quad flat pack MMC2107 resident MCU 2megabytes FLASH memory 1 megabyte FSRAM fast static RAM configurable for 16 or 32 bit operations e Xilinx complex programmable logic device CPLD e Power supply that converts line power to 12 volt input power Two RS232 serial communication ports e OnCE connector e Four user accessible LEDs Two DIP switches for system configuration and firmware selection e User prototyping breadboard area e Motorola s System Development Software SysDS Metrowerks MetroTRK debug software GNU source level debugger from the Free Software Foundation Metrowerks CodeWarrior IDE 30 day trial version MOTOROLA MMCEVB2107UM D 9 User s Manual Introduction Sites for optional user installed prototyping connectors 1 2 System and User Requirements You need an IBM PC or compatible computer running the Windows 95 or WindowsNT version 4 0 operating system The computer requires a Pentium or equivalent microprocessor 16 megabytes of RAM 50 megabytes of free hard disk space an SVGA color monitor and an RS232 serial communications port To use the Picobug debug monitor you also need Hyperterminal or a comparable terminal emulation program To get the most from your EVB2107 you should be an experienced C or MeCORE assembly programmer The power supply that comes with your EVB2107 converts line power to the input power that the EVB2107 nee
21. 91 CS 3 PTJ4 90 90 e e 89 CS B 88 e e 87 CS EBD B 86 e e 85 CS B 0 EBC_B 84 83 GND 82 81 RWB B 80 e e 79 PTJ4 79 78 77 GND 76 75 GND ADDRI30 74 e e 73 ADDRI 31 ADDRI28 72 e e 71 ADDRI29 ADDRI26 70 e e 69 ADDRI27 ADDRI24 68 e e 67 ADDR 25 ADDRI22 66 e e 65 ADDR 23 ADDRI20 64 e e 63 ADDRI21 ADDRI 18 62 e lt 61 ADDRI19 ADDR 16 60 e 59 ADDRI17 GND 58 57 GND ADDR i4 56 e 55 ADDR 15 ADDRI12 54 e 53 ADDR 13 ADDRI 10 52 e e 51 ADDR 11 ADDR 8 50 e 49 ADDR 9 ADDRI6 48 e e 47 ADDRI7 ADDRI4 46 e e 45 ADDRI5 ADDRI2 44 e e 43 ADDR 3 ADDRIO 42 e e 41 ADDRI1 GND 40 39 GND DATA 30 38 e 37 DATAI31 DATA 28 36 e 35 DATAI29 DATA 26 34 e e 33 DATA 27 DATA 24 32 e e 31 DATAI25 DATA 22 30 e e 29 DATAI23 GND 28 e 27 GND DATA 20 26 e e 25 DATAI21 DATA 18 24 e e 23 DATAI19 DATA 16 22 e e 21 DATAI17 DATA 14 20 e e 19 DATAI15 DATA 12 18 17 DATA 13 GND 16 15 GND DATA 10 14 e e 13 DATA 11 DATA 8 12 e e 11 DATA S DATA 6 10 e 9 DATA 7 DATAI4 8 e 7 DATA S DATA 2 6 e e 5 DATAI3 0 4 e 3 VDDsV 2 e e 1 VDD3V Figure 4 8 Site P4 J4 Pin Assignments MOTOROLA MMCEVB2107UM D 47 User s Manual Connector Information Table 4 9 MAPI Co
22. HIGH High reference for voltage supplied via the MAPI ring 3 MAPIVRL MAPI VOLTAGE REFERENCE LOW Low reference for voltage supplied via the MAPI ring 1 PQA 0 A ANALOG INPUT line 0 A analog input to the QADC also usable for general purpose digital I O 42 MMCEVB2107UM D MOTOROLA User s Manual Connector Sites 1 1 2 2 P3 J3 4 4 2 2 PTJ2 100 100 99 GND3 PTJ2 98 98 e e 97 PTJ2 97 PTJ2 96 96 e e 95 PTJ2 95 PTJ2 94 94 e e 193 PTJ2 93 2 92 92 e e 91 PTJ2 91 PTJ2 90 90 e e 189 PTJ2I89 PTJ2 88 88 e e 87 PTJ2 87 GND3 86 e lt 85 GND3 GND 84 lt 83 GND VDD3V 82 e e 81 PTJ2I811 PTJ2 80 80 79 VDD5V PTJ2 78 78 e e 77 PTJ2 77 PTJ2 76 76 e e 75 PTJ2 75 PTJ2 74 74 e e 73 PTJ2 73 PTJ2 72 72 e e 71 2 71 SCI2 IN 70 e e 69 SCI2 OUT PTJ2 68 68 e e 67 PTJ2 67 SCI1_IN 66 e e 65 SCI1 OUT GND 64 63 GND VDD3V 62 e e 61 261 PTJ2 60 60 e e 59 PTJ2I59 PTJ2 58 58 e e 57 PTJ2 57 PTJ2 56 56 e e 55 PTJ2I55 PTJ2 54 54 e e 53 PTJ2 53 PTJ2 52 52 e e 51 2 51 PTJ2 50 50 e e 49 PTJ2 49 PTJ2 48 48 e e 147 PTJ2 47 GND 46 e e 45 VDD5V VDD3V 44 e 43 GND 2 42 42 e e 41 2 41 2 40 40 e e 39 PTJ2 39 PTJ2 38 38 e e 37 PTJ2 37 PTJ2 36 36 e e 35 PTJ2 35 PTJ2 34 34 e e 133 PTJ2 33 PTJ2 32 32 e e 31 SDCPS PTJ2 30 30 29 005 PTJ2 28 28 e e 27
23. LA User s Manual Section 2 Configuration Configuring Board Components This chapter explains how to configure your EVB2107 and how to hook it up to your computer system 2 1 Configuring Board Components Table 2 1 is a summary of configuration settings subsections 2 1 1 and 2 1 2 give additional information Table 2 1 Component Configuration Settings Component Position Effect User Options Switch 51 Configures booting from chip select 0 Boot Ex In Subswitch ON disables internal FLASH Factory setting In master mode configures booting from ON internal FLASH memory 5 4 e tal In emulation mode configures booting from chip select 1 memory User Options Switch S1 Data 32 16 Subswitch 32 16 Configures a 32 bit external data bus Factory setting Configures a 16 bit external data bus MPU data lines 15 0 become general purpose User Options Switch 51 Swap 02 20 Subswitch Configures chip select 0 control of external FLASH chip select 2 control of external SRAM Factory setting Configures chip select 2 control of external FLASH chip select 0 control of external SRAM 4 MOTOROLA MMCEVB2107UM D User s Manual 13 Configuration Table 2 1 Component Configuration Settings Continued Component Position Effect User Options Switches Configures master mode S1 and 5
24. MMCEVB2107 Evaluation EVB2107 User s Manual Motorola reserves the right to make changes without further notice to any products herein to improve reliability function or design Motorola does not assume any liability arising out of the application use of any product or circuit described herein neither does it convey any license under its patent rights nor the rights of others Motorola products are not designed intended or authorized for use as components in systems intended for surgical implant into the body or other applications intended to support or sustain life or for any other application in which the failure of the Motorola product could create a situation where personal injury or death may occur Should Buyer purchase or use Motorola products for any such unintended or unauthorized application Buyer shall indemnify and hold Motorola and its officers employees subsidiaries affiliates and distributors harmless against all claims costs damages and expenses and reasonable attorney fees arising out of directly or indirectly any claim of personal injury or death associated with such unintended or unauthorized use even if such claim alleges that Motorola was negligent regarding the design or manufacture of the part Motorola and the Motorola logo are registered trademarks of Motorola Inc Motorola Inc is an Equal Opportunity Affirmative Action Employer M CORE name and logo and the OnCE name are trademarks of Mot
25. ON 7 Apply power to the EVB2107 and press the enter key The Picobug monitor starts automatically displaying the command prompt picobug gt To use the Picobug monitor merely enter commands at the prompt Table 3 1 explains these commands To see a list of these commands on your computer screen enter a question mark or the extra command ne at the command prompt MOTOROLA MMCEVB2107UM D 25 User s Manual Operation Table 3 1 Picobug Commands Command Explanation br address Breakpoint e With optional address value sets a new breakpoint at that address e Without any address value lists all current breakpoints g address Go e With optional address value starts code execution from that address Without any address value starts code execution from the current program counter value In either case execution stops when it arrives at a breakpoint gr Go to Return Executes code from the current program counter value to the return address of the calling routine Should execution arrive at a breakpoint before encountering the return address execution stops at the breakpoint gt address Go to Address Executes code from the current program counter value to the specified address value Should execution arrive at a breakpoint before encountering the specified address execution stops at the breakpoint he Help Displays available commands identical to the command
26. PTJ2 27 PTJ2 26 26 e e 25 PTJ2I25 PTJ2 24 24 e e 23 PTJ2 23 2 22 22 e e 21 2 21 VDD3V 20 e e 19 PTJ2 19 GND 18 e 17 GND AGND 16 e 15 AGND 3 14 e 13 AGND PQBI2 12 e e 11 AGND 10 e 9 AGND PQB O 8 e 7 AGND PQAI4 6 e 5 AGND 3 4 e 3 AGND PQA 1 2 e 1 AGND Figure 4 6 MAPI Connector Site P2 J2 Pin Assignments MOTOROLA MMCEVB2107UM D 43 User s Manual Connector Information Table 4 7 Connector Site P2 J2 Signal Descriptions Pin Mnemonic Signal 100 98 87 81 80 78 PTJ2 x Pass through 71 68 67 61 47 42 32 30 28 21 19 99 86 85 GND3 GROUND Connection to the GROUND 3 plane 84 83 64 63 46 43 GND GROUND 18 17 82 62 44 20 VDD3V 3 3 volt power 79 45 29 VDD5V 5 volt power 70 65 SCI2_IN SCIH1_IN SCI INPUT Serial communications interface SCI input lines 2 and 1 otherwise available for general purpose I O use These lines also are known as RXDB and RXDA 69 65 SCI2 OUT SCI OUTPUT Serial communications interface SCI output lines SCl1 OUT 2 and 1 otherwise available for general purpose I O use These lines also are known as TXDB and TXDA 31 SDCPS SHUT DOWN CMB POWER SUPPLY Input signal If low disables the CMB on board power supply 16 15 13 11 9 7 5 3 AGND ANALOG GROUND Analog ground connection for the 1
27. ation J51 Pin Assignments MOTOROLA MMCEVB2107UM D 37 User s Manual Connector Information Table 4 3 Connector Location J51 Signal Descriptions Pin Mnemonic Signal 20 18 16 14 GND GROUND 12 10 8 6 4 2 19 1 19 P3_3V OPERATING VOLTAGE Transmission line for 3 3 volt MCU operating power 17 15 13 11 9 INT B 0 EXTERNAL INTERRUPT lines 0 7 Active low lines for external interrupts 7 5 3 INT_B 7 or general purpose I O In addition certain lines can show processor core signal states INT_B 7 6 states of TSIZ 1 0 signals provided that the chip configuration register CCR SZEN bit is set INT_B 5 2 states of PSTAT 3 0 signals provided that the CCR PSTEN bit is set J52 AGND 201 19 VRH AGND 18 17 VRL AGND 16 15 0 AGND 145 13 POA I 12 11 3 AGND 10 9 AGND 8 7 AGND 6 5 PQB 1 AGND 41 3 PQB 2 AGND 2 1 PQB 3 Figure 4 3 Connector Location J52 Pin Assignments Table 4 4 Connector Location J52 Signal Descriptions Pin Mnemonic Signal 20 18 16 14 AGND ANALOG GROUND Analog ground connection for the analog digital 12 10 8 6 4 2 converter 19 VRH VOLTAGE REFERENCE HIGH High reference for the A D converter 17 VRL VOLTAGE REFERENCE LOW Low reference for the A D converter 15 13 11 9 PQA 0 PQA 1 A ANALOG INPUTS l
28. de field to specify byte half word or word values in the display When you are done viewing the display click on the Close button to return to the main screen 13 Toerase FLASH memory click on the Erase FLASH button The SysDS Loader erases all contents of the FLASH memory except for the sectors that contain system software 4 MOTOROLA MMCEVB2107UM D User s Manual 33 Operation 14 To erase a sector of FLASH memory click on the Erase Sector button This brings up the 15 16 34 Flash Sector Number dialog box Enter the number of the sector to be erased 4 or greater then click on the OK button You may not erase FLASH sectors 0 through 3 which contain system software To verify that a FLASH sector is blank click on the Blank Check button This brings up a dialog box that asks for a sector number Enter the number of the sector to be blank checked then click on the OK button A message tells you the results of the blank check If the sector is not blank you can erase the sector or try a different sector To end your SysDS Loader session merely close the main screen MMCEVB2107UM D MOTOROLA User s Manual OnCE Connector J7 Section 4 Connector Information This chapter consists of assignments and signal descriptions for EVB2107 connectors 4 1 OnCE Connector J7 Connector J7 a 2 by 7 pin connector conveys data and control signals to and from the OnCE control block Figu
29. ds 12 volts at a minimum of 0 5 amperes 1 3 EVB2107 Layout Figure 1 1 shows the layout of the EVB2107 Connector J7 is the OnCE connector Connector J36 is for external standby power for internal SRAM Connector J57 is the port B RS232 serial connector connector J58 is the port A serial connector Connector J61 is the connector for 12 volt input power Switches 51 and 52 configure several aspects of memory organization and access Switch 53 is the reset switch Switch S4 is the power switch Several two pin jumper headers are convenient measurement points for various power signals e J28 3 volt power to the resident MCU at location 010 J37 standby power for internal SRAM J38 power for internal FLASH J39 PLL power and e J48 5 volt power to the queued analog digital converter QADC To measure any of these signals temporarily remove the jumper then connect the leads of your meter to the header pins LED DS1 confirms VPP programming voltage LEDs DS2 through DSS are general purpose status indicators LED DS6 confirms operating power The EVB2107 prototyping area is between MAPI connector P2 and the RS232 connectors J57 J58 Ground connections are the left and right columns of this area The area s top row includes connection points for APWR AGND 3 3 volts and 5 volts 10 MMCEVB2107UM D 4 User s Manual EVB2107 Layout
30. e MMCEVB2107UM D 4 User s Manual Performing the EVB2107 Selftest switch 54 to turn on power LED 056 lights to confirm that EVB2107 is powered Should LED DS6 not light you may need to replace the fuse at location next to power connector J61 Use a BUS 1 5 fuse or compatible This completes system connections you are ready to perform a selftest per the instructions of subsection 2 3 below You are ready to begin debugging or other development activities per the instructions of Chapter 3 2 3 Performing the EVB2107 Selftest Once you have configured your EVB2107 you can perform a selftest of its components l Make sure that EVB2107 power is turned off or disconnected Power LED DS6 should be out Set switch S2 for the built in selftest USRO 1 and USR2 subswitches all OFF Turn on power LED DS6 comes on to confirm power and the EVB2107 begins its selftest LEDs DS2 through DS5 light and go out during the test according to the sequence of Table 2 3 Table 2 3 EVB2107 Selftest LED Sequence DS2 DS3 054 055 Test Action OFF ON OFF ON 8 bit write to memory ON OFF ON OFF 8 bit read from memory OFF ON OFF ON 16 bit write to memory ON OFF ON OFF 16 bit read from memory OFF ON OFF ON 32 bit write to memory ON OFF ON OFF NOTES 1 Should all four LEDs stay lit at this point the EVB2107 has failed the SRAM test aborting the rest of the selft
31. e 1920 kilobytes 0x801F_FFFF 0x8020_0000 User address space 6 megabytes 0x807F_FFFF 0x8100_0000 EVB SRAM CS2 20 MMCEVB2107UM D User s Manual 4 MOTOROLA Chip Select 1 Emulation Table 2 5 EVB2107 Alternate Memory Swap 02 20 subswitch OFF Related Address Range Memory Resource Chip Select 0x8000_0000 EVB SRAM CS b 0 2 megabytes 0x800F FFFF 0x8010 0000 undefined 0x801F_FFFF 0 8020_0000 User address 6 megabytes 0x807F_FFFB MMIO read only byte 0x807F_FFFC reads in USRO USR1 USR2 subswitch settings MMIO write only byte controls LEDs and internal FLASH programming voltage 0x8100_0000 EVB FLASH CS b 2 2 megabytes Ox811F FFFF 0x8120 0000 User address space 6 megabytes 0x817F_FFFF NOTE Using the alternate memory map means that you cannot use the Motorola system software which is FLASH based For debugging in the alternate memory map you must use an EBDI or other product that communicates through the OnCE interface 2 5 Chip Select 1 Emulation Chip select 1 emulation pertains to three cases of M1 MO and Swap 02 20 subswitch settings Case I M1 OFF OFF Swap 02 20 ON These subswitch settings configure emulation mode MCU memory range 0x0000_0000 0x0001_FFFF under chip select 1 control gets mapped to EVB2107 SRAM Chip select 2 provides access to the same physical memory but at EVB2107 addresses 0x8102_0000
32. e CMB2107 s modular all purpose interface MAPI connectors the printed circuit board has sites for these connectors MAPI connector sites P1 through P4 ring the U10 resident MCU AII the MAPI signals are available at these sites as well as at sites J1 through J4 on the bottom of the board Figure 4 5 through Figure 4 8 and Table 4 6 through Table 4 9 give the pin assignments and signal descriptions for these connector sites 40 MMCEVB2107UM D MOTOROLA User s Manual Connector Sites 1 1 2 2 P3 J3 4 4 P1 J1 PTJ1 100 100 99 VDD3V PTJ1 98 98 e e 97 PTJ1 97 PTJ1 96 96 e 95 1 95 PTJ1 94 94 e e 93 1 93 GND 92 e e 91 1 91 VDD5V 90 89 GND PTJ1 88 88 e e 87 1 87 PTJ1 86 86 e e 85 PTJ1 85 PTJ1 84 84 e e 83 1 83 PTJ1 82 82 e e 81 1 81 PTJ1 80 80 e e 79 PTJI 79 PTJ1 78 78 e e 77 PTJ1 77 PTJ1 76 76 e e 75 1 75 GND 74 e e 73 DEVSP PTJ1 72 72 e 71 GND PTJ1 70 70 e e 69 PTJ1 69 INT B 6 68 e e 67 INT B 7 INT B 4 66 e e 65 INT B 5 INT B 2 64 e e 63 INT INT 0 62 e lt 61 INT BI1 VDD3V 60 e e 59 VDD3V IDVDD MIDO 58 e e 57 ICOC23 ICOC2 2 56 e e 55 ICOC2 1 ICOC1 3 54 e e 53 ICOC2 O GND MID1 52 e e 51 ICOC1I2 ICOC1 1 50 e e 49 ICOC1 O SCK 48 e e 47 PTJ1 47 GND 46 e e 45 1 45 MOSI 44 e e 43 1 43 MISO 42 e 41 GND GND MID2 40 e e
33. e chip select base address does not correspond to the configured chip select Correct the problem then click again on the Download button To upload FLASH memory contents to a file in your PC click on the Upload button This brings up the Upload To File dialog box Figure 3 2 Upload To File File name Upload hex Browse m Enter in Start Address End Address Size in bytes Mode Ox s0000000 0801 FFFFF 20971 51 Byte Figure 3 2 Upload File Dialog e Enter the of the destination file Optionally click on the Browse button to select a file via a standard file select dialog box The Start Address field indicates the start of EVB2107 FLASH memory The default address value corresponds to the value of the SYSTEM field of the main screen but you may enter a different address if appropriate e Enter the appropriate value in the End Address field The system automatically determines the value for the Size in Bytes field The Size in Bytes field value corresponds to the value of the Size field of the main screen If appropriate you may enter a different value MMCEVB2107UM D 4 MOTOROLA User s Manual default Mode field value is Byte Using the SysDS Loader e When the Upload To File dialog box shows appropriate values click on the Save button A progress message appears during uploading 11 To verify that the contents of Flash memory match the select
34. e that TXD signals are designated SCI_OUT for other connectors TXDB is SCI2 OUT TXDA is 8 OUT signals are designated SCI IN for other connectors RXDB is 8 2 IN RXDA is IN 4 3 SRAM External Standby Power Connector J36 Connector J36 is for internal SRAM standby external power If you do not connect such external power internal SRAM does not retain data when you turn off board power J36 IC GND 1 POSITIVE Standby external power must be provided by a user supplied power supply The MMC2107 chip explains the correct voltage VSTBY level 4 4 Prototyping Connector Sites J51 J52 J53 Board locations J51 through J53 are available for optional user installation of Berg 69192 620 2 by 10 pin headers for wire wrapping probing or cabling to external prototype circuits Figure 4 2 and Table 4 3 give the pin assignments and signal descriptions for such a connector installed at location J51 Figure 4 3 and Table 4 4 give the pin assignments and signal descriptions for such a connector installed at location J52 Figure 4 4 and Table 4 5 give the pin assignments and signal descriptions for such a connector installed at location J53 J51 GND 201 19 GND 18 17 INT BIO GND 16 115 BI1 GND 14 113 INT BI2 GND 12 e 11 INT GND 10 9 INT B 4 GND 8 7 INT BI5 GND 6 5 INT B 6 GND 4 3 INT_B 7 GND 2 P3_3V Figure 4 2 Connector Loc
35. eave the File name field blank NOTE The Restore System Software button of the main screen updates FLASH sectors 0 through 3 with the software in your hard drive directory Motorola LoaderMMC2107 Should a factory update replace the software in this directory return EVB2107 switches to their factory settings follow steps 1 through 4 above then click on the Restore System Software button 4 MOTOROLA MMCEVB2107UM D User s Manual 31 Operation 10 32 Use the FLASH area to configure the FLASH type bus width and size To program CMFR FLASH make sure to specify that value in the FLASH type field The value in the Base Address field is automatic However you may select the optional value CUSTOM which brings up the Custom Address dialog box Enter an appropriate address then click on the dialog box OK button to return to the main screen In the Communications area use the Port field to specify the PC serial port and use the Speed field to specify the communications rate The default rate is 19200 baud To program FLASH memory click on the Download button As the software downloads the file you specified a progress message appears in a Status dialog box A Download successful message appears at the end of downloading you are ready to use the code in FLASH memory The error message Unable to Validate Flash configuration indicates some problem with the programming A likely such problem is that th
36. ed download file click on the Verify button A progress message appears as verification begins A Verify successful message appears at the end of verification e If verification fails an error message specifies the location that did not have the expected contents e To recover from a verification failure try downloading Flash again to replace the selected download file 12 To view the contents of Flash memory click on the Display button This brings up the Display Flash Ram display Figure 3 3 Box mmm Soe 0 5 5LRERZRBBSSS 5 a 00 oc pn 73 ZZ 74 73 71 60 EB ZA EB Jk 60 Tb 1B 71 00 16 82 71 50 00 cz DD zu Bon pi 21 34 na TT 12 AE EE 14 OL 72 10 DD CZ 60 01 BB 1H BE 00 15 OL 72 DD cz 00 00 no DD 01 FT 72 Bh x 02 00 zy gx 37 nO C3 00 DD Bi TF FF 2 90000000 EC MTM 1 Figure 3 3 Display Flash Ram Display The Address field shows the first address of the value display One way to change the display is to enter a different address in this field e Another way to change the value display is to use the scroll bars Use the Mo
37. est Contact Motorola customer support for assis tance 32 bit read from memory Then individual LEDs light several times in the sequence DS5 DS4 DS3 and DS2 When all four LEDs go out the EVB2107 has passed the selftest If any LEDs stay lit the EVB2107 has failed the selftest contact Motorola customer support for assistance Turn off power Configure switch S2 for your next development activity before restoring power to the EVB2107 MOTOROLA MMCEVB2107UM D 19 User s Manual Configuration 2 4 Memory Maps Table 2 4 is the default memory map Swap 02 20 subswitch is ON Table 2 5 is the memory map if the Swap 02 20 subswitch is OFF Table 2 4 EVB2107 Default Memory Map Swap 02 20 subswitch ON 0x810F_FFFF 1 megabyte 0x8100_0000 Reserved for System Software 0x8100_BFFF 41 kilobytes 0x8100 C000 User Code 0x810F_FFFF 983 kilobytes 0x8110_0000 0x811F_FFFF undefined 0x8120_0000 0x817F_FFFB User address space 6 megabytes 0x817F_FFFC MMIO read only byte reads in USRO USR1 USR2 subswitch settings 0x817F_FFFD MMIO write only byte controls LEDs and internal FLASH programming voltage Related Address Range Sub Range Memory Resource Chip Select 0x8000 0000 EVB FLASH CSO 2 megabytes 0x801F_FFFF 0x8000_0000 System Software 128 kilobytes 0x8001 FFFF 0x8002 0000 User Cod
38. ines 0 1 3 4 A analog inputs to the A D converter also usable for general purpose digital 7 5 3 1 PQB 0 ANALOG INPUTS lines 0 3 analog inputs to the A D converter also PQB 3 usable as general purpose digital inputs 38 MMCEVB2107UM D MOTOROLA User s Manual Prototyping Connector Sites 451 452 453 J53 GND 20 19 ICOC1 0 ICOC1 1 18 17 ICOCI 2 ICOC1 3 16 15 ICOC2IO ICOC2 1 14 13 ICOC2I2 ICOC2 3 12 11 RSTOUT B RESET B 10 9 SCK 55 8 7 MISO MOSI SCH IN SCI OUT 4120 3 SCI2_IN SCI2 OUT 210 P3 3V Figure 4 4 Connector Location J53 Pin Assignments 4 MOTOROLA MMCEVB2107UM D 39 User s Manual Connector Information Table 4 5 Connector Location J53 Signal Descriptions Pin Mnemonic Signal 20 GND GROUND 19 16 ICOC1 0 INTERFACE TIMER 2 lines 0 3 Control lines for timer 1 of the serial ICOC1 3 communications interface SCI When not needed to control the timer these lines are available for general purpose 15 12 ICOC2 0 INTERFACE TIMER 2 lines 0 3 Control lines for timer 2 of the serial 2 3 communications interface When not needed to control the timer these lines are available for general purpose 11 RSTOUT_B RESET OUT Active low output signa
39. ing Embedded 25 3 1 1 Using the Picobug 25 22 Picobug Sample Session 27 3 1 3 Using GNU Source Level 30 3 2 Loader od Md c AA 30 Section 4 Connector Information 4 1 OnCE Connector GT oei 35 4 2 5232 Connectors 757 58 36 4 3 SRAM External Standby Power Connector 736 37 44 Prototyping Connector Sites 751 J52 53 37 4 5 MAPI Connector Sites P1 J1 P2 J2 P3 J3 40 i fo gt oe PY 49 4 MMCEVB2107UM D User s Manual MMCEVB2107UM D 4 MOTOROLA User s Manual Figures 1 1 2107 Evaluation 11 2 1 RESiste FSS xx bab oe ew es es C CR 22 3 1 SysDS LoaderMal Screen 31 3 2 Upload To File Dialog Box 02 3 3 Display Flash Ram Display 33 4 1 OnCE Connector J7 Pin Assignments 35 4 2 Connector Location J51 Pin Assignments 37 4 3 Connector Location J52 Pin Assignments 38 4 4
40. l controlled by the processor that resets external components Activation of any internal reset sources asserts this line 10 _ RESET IN Active low input signal that starts a system reset reset the MMC2107 device and most peripherals 9 SCK SERIAL CLOCK If SPI is enabled the serial clock signal If SPI is disabled a general purpose port E I O signal 8 SS B SLAVE SELECT Active low slave select signal in slave mode In master mode a peripheral chip select signal 7 MISO MASTER IN SLAVE OUT If SPI is enabled the data master in slave out signal If SPI is disabled a general purpose port E I O signal 6 MOSI MASTER OUT SLAVE IN If SPI is enabled the data master out slave in signal If SPI is disabled a general purpose port E signal 5 3 SCI IN SCI INPUT Serial communications interface SCI input lines 1 and 2 SCI2 IN otherwise available for general purpose use These lines also are known as RXDA and RXDB 4 2 SCI1 OUT SCI OUTPUT Serial communications interface SCI output lines 1 and 2 SCI2 OUT otherwise available for general purpose use These lines also are known as TXDA and TXDB 1 P3 3V OPERATING VOLTAGE Transmission line for 3 3 volt MCU operating power 4 5 Connector Sites P1 J1 P2 J2 P3 J3 4 4 The printed circuit board of your EVB2107 is identical to that of the MMCCMB2107 Controller and Memory Board CMB2107 Although the EVB2107 does not have th
41. lt power to the queued analog digital converter QADC During normal use of your EVB2107 leave the jumpers in all of these headers To measure any of these signals b Make sure that EVB2107 power is OFF Remove the jumper from the corresponding power header Connect meter leads to the header pins Turn ON EVB2107 power and read the voltage from the meter Turn OFF EVB2107 power Disconnect the meter leads Install the jumper in the power header 2 2 Making Computer System Connections When you have configured your EVB2107 you are ready to connect it to your computer system 1 2 Make sure that power is disconnected For RS232 communication directly with your host computer connect an RS232 cable between EVB2107 connector J58 port A and the appropriate serial port of your computer Alternatively if you will use an EBDI with your EVB2107 connect an appropriate 14 lead cable between EVB2107 connector J7 and the EBDI Then use an appropriate cable to connect the EBDI to your host computer Using an EBDI means that you do not need to use EVB2107 connector J58 at all However a target board could communicate through connector J58 Optional If your code running in a target board supports RS232 communication with the EVB2107 you can connect a second RS232 cable between the target board and EVB2107 connector J57 port B Connect your 12 volt power supply to line power and to EVB2107 connector J61 Us
42. nnector Site P4 J4 Signal Descriptions Pin Mnemonic Signal 100 VDD5V 5 volt power 99 2 1 VDD3V 3 3 volt power 98 94 CSE1 EMULATION CHIP SELECTS lines 1 0 Emulation mode output chip select signals 97 96 93 83 GND GROUND 76 75 58 57 40 39 28 27 16 15 95 CLK OUT CLOCK OUTPUT System clock output 92 90 79 PTJ4 x Pass Through 91 89 87 85 CS B 3 CHIP SELECTS lines 3 0 Active low output lines that provide chip selects CS B 0 to external devices 88 OE b OUTPUT ENABLE Active low output that indicates that a bus access is a read access enables slave devices to drive the data bus 86 84 82 80 EBD B ENABLE BYTES D C A B Active low outputs active during an operation to B EBB B corresponding data bits D31 D24 for enable byte D 023 016 for enable byte 015 08 for enable byte 07 00 for enable byte B 81 RW B READ WRITE ENABLE Active low signal indicating that the current bus access is a write access Otherwise the current bus access is a read access 78 TEA B TRANSFER ERROR ACKNOWLEDGE Active low input that indicating that a bus transfer error has occurred 77 TA B TRANSFER ACKNOWLEDGE Active low input indicating completion of a data transfer for either a read or a write cycle 74 59 56 41 ADDR 81 ADDRESS BUS lines 31 0 Output lines for addressing external devices
43. ops code execution The system responds with this new display of register values At breakpoint pe 8101 11 8101 11 50100002 psr 80000100 epsr 80000100 fpsr 04000200 550 554 bad0beef 80010040 02200008 00000100 00c90800 vbr 8100dc00 r0 r7 8101efd8 8101 000 00000000 00000001 00002000 00000000 00000001 817ffffd r8 r15 8101efd8 80010040 0000000 00000080 00cc0004 000000c0 8100 7 4 81014056 8101D11E 8607 stb 11 To remove all breakpoints enter the No Breakpoint nobr command without any address value picobug nobr The Picobug prompt reappears confirming that the system has removed the breakpoints picobug 12 To see the list of breakpoints again once more enter the Breakpoint br command without any address value picobug gt br As there are no longer any breakpoints the system responds with the Picobug prompt picobug gt 13 To continue with this example session enter another appropriate command For example to resume program execution enter the Go g command MMCEVB2107UM D 29 MOTOROLA User s Manual Operation 14 To end your Picobug session remove power from the CMB and close the terminal emulation program 3 1 3 Using the GNU Source Level Debugger The GNU source level debugger is on the CD ROM that comes with your EVB2107 This GNU software works with the Picobug monitor to provide source level debugging for your code The EVB2107 software release
44. orola Inc Motorola Inc 2000 ALL RIGHTS RESERVED CAUTION ESD Protection MeCORE development systems include open construction printed circuit boards that contain static sensitive components These boards are subject to damage from electrostatic discharge ESD To prevent such damage you must use static safe work surfaces and grounding straps as defined ANSI EOS ESD 56 1 and ANSI EOS ESD S4 I All handling of these boards must be in accordance with ANSI EAI 625 MOTOROLA MMCEVB2107UM D 2 User s Manual Contents Section 1 Introduction 1 1 2 is deta Galles Epi AD 9 1 2 System and User Requirements 10 13 EVB2107 Layout PE 10 Section 2 Configuration 2 1 Configuring Board 13 2 1 1 Setting the User Option Switches 51 52 16 2 1 2 Using the Power Headers J28 J37 J38 J39 8 18 2 2 Making Computer System 18 2 3 Performing the EVB2107 Selftest 19 24 Memory eer teri REO RERIaAGS 20 2 Chip Select LION 21 2 6 Memory Mapped 22 2 7 Using the Prototyping Area 23 Section 3 Operation 3 1 Debugg
45. ough USR2 activates or deactivates programming voltage and controls the status LEDs 052 through 055 The register consists of two bytes as Figure 2 1 depicts 817F_FFFC 807F_FFFC 817F_FFFD 807F_FFFD D31 D30 029 028 024 023 021 020 019 018 017 016 USR2 USR1 USRO Not Used Not Used Prog V LED 055 LED DS4 LED DS3 LED 052 Figure 2 1 MMIO Register The upper byte of the register is read only Bits D31 through D29 show the positions of subswitches USR2 through USRO respectively e This byte is at address 0 817 0 807 FFFC if the swap 02 20 subswitch is OFF e subswitch OFF setting produces a 0 bit value a subswitch ON setting produces a 1 bit value 22 MMCEVB2107UM D 4 User s Manual Using the Prototyping Area The lower byte of the register is write only cleared by a reset Bit D20 set enables a write or erasure of FLASH that is applies 5 volts to the supply pin Bit D20 clear disables a write or erasure of FLASH e Bits D19 through D16 control status LEDs 055 through DS2 respectively set bits turn ON the corresponding LEDs clear bits turn OFF the corresponding LEDs e This byte is at address 0x817F_FFFD or 0x807F_FFFD if the swap 02 20 subswitch is OFF In single chip mode Port H controls USR subswitch and status LED functionality e Port H bit 7 must be configured as a low output e Port H bits 6 tho
46. re 4 1 and Table 4 1 give the pin assignments and signal descriptions for this connector J7 ONCE_TDI 1 2 GND ONCE_TDO 3 e e 4 GND ONCE TCLK 5 6 GND NC 7 e e 8 _ 9 e e 10 5 VDD3V 11 12 ONCE DE B 13 14 ONCE_TRST_B Figure 4 1 OnCE Connector 7 Pin Assignments Table 4 1 OnCE Connector J7 Signal Descriptions Pin Mnemonic Signal 1 ONCE TDI TEST DATA INPUT Serial input for JTAG test instructions and data sampled on the rising edge of the ONCE_TCLK signal 2 4 6 GND GROUND 3 ONCE OnCE TEST DATA OUTPUT Serial output for JTAG test instructions and data Tri stateable and actively driven in the Shift IR and Shift DR controller states this signal changes on the falling edge of the ONCE_TCLK signal 5 ONCE TCLK OnCE TEST CLOCK Input signal that synchronizes JTAG and OnCE logic 7 8 13 No connection 9 RESET b RESET IN Active low input signal that starts a system reset a reset of the MMC2107 device and most peripherals 10 ONCE TMS OnCE TEST MODE SELECT Input signal that sequences the JTAG test controller s state machine sampled on the rising edge of the ONCE TCLK signal 11 VDD3V 3 3 volt power MOTOROLA MMCEVB2107UM D 35 User s Manual Connector Information Table 4 1 OnCE Connector J7 Signal Descriptions Continued Pin Mnemonic Signal 12 ONCE DE
47. terminal emulation program is running stop the program The SysDS Loader needs the same computer serial port that Hyperterminal uses 3 Set switch S2 for the Programmer USRO subswitch ON USR1 and USR2 subswitches OFF 4 Press switch S3 to reset the EVB2107 30 MMCEVB2107UM D 4 User s Manual Using the SysDS Loader 5 Start the SysDS Loader The main screen Figure 3 1 appears Motorola SysDS Loader for CMB EVB2107 1 0 FLASH RAM File TS Bewe PSI 080000000 2 FLASH Start Address 0x80000000 FLASH End Address 0 801FFFFF Communications Port Speed 19200 SYSTEM CMB EVB2107 Restore System Software FLASH Type Bus Width Download D29LV800BB w 32 Upload Base Address Size Verify Display Erase FLASH Erase Sector Blank Check Figure 3 1 SysDS Loader Main Screen 6 Go to the File name field e If you know the full pathname of the file to be programmed enter the pathname in this field e If you do not know the full pathname of the file to be programmed click on the Browse button This brings up a standard file select dialog box select the file and click on the OK button This returns you to the main screen entering the pathname in the File name field e if your only action for this Loader session will be uploading FLASH contents you may l
48. ugh 4 read the settings of subswitches USR2 through USRO respectively e Port H bits 3 through 0 control status LEDs 055 through 052 respectively set bits turn ON the corresponding LEDs clear bits turn OFF the corresponding LEDs e Single chip mode does not support Prog V control 2 7 Using the Prototyping Area The EVB2107 prototyping area lets you add your own components to the board Merely insert the component s feet through holes in the board then solder the feet in place to hold the component in position Run appropriate leads from the new component to board power and ground locations Note the connection points of the prototyping area e Ground columns on either side Analog power three points at the upper left corner Analog ground three points of the top row 33 volt power three points of the top row and e 5 volt power three points at the upper right corner Near the prototyping area are the three prototyping connector sites J51 J52 and J53 Chapter 4 includes pin assignments and signal descriptions for these connector sites MOTOROLA MMCEVB2107UM D 23 User s Manual Configuration 24 MMCEVB2107UM D 4 User s Manual Debugging Embedded Code Section 3 Operation This chapter explains how to begin using debugging tools available for your MMCEVB2107 Evaluation Board as well as how to use Motorola s SysDS Loader 3 1 Debugging Embedded Code With your EVB21
49. ult n half words w words or i instructions nobr address No Breakpoint e With optional address value removes the breakpoint from that address Without any address value removes all the breakpoints 26 MMCEVB2107UM D MOTOROLA User s Manual Debugging Embedded Code Table 3 1 Picobug Commands Continued Command Explanation reset Reset Resets the CPU and peripherals rd name Register Display With optional name value displays the value of that CPU register Without any name value displays the values of all CPU registers rm name value Register Modify Assigns the value parameter value to the name CPU register t Trace Step Single steps one instruction identical to the s command 5 Step Trace Single steps one instruction identical to the t command 2 Help Displays available commands identical to the he command 3 1 2 Picobug Sample Session 1 This sample session begins with the Picobug prompt picobug gt 2 To see the contents of all registers enter the Register Display rd command without any name value picobug gt rd The system responds with a display such as this pc 8101d0c0 fffffffe 50100002 psr 80000000 epsr 80000000 fpsr 04000200 550 554 badObeef 80010040 02200008 00000100 00c90800 r0 r7 badObeef 817ffffd 80010040 00c30000 00002000 r8 r15 81000024 80010040 0000000 00000080 00cc00
50. y J37 Factory setting internal chip FLASH voltage J38 PLL Leave Jumper Installed during normal use synchronization J39 analog voltage J48 Measures current of specified power signal MMCEVB2107UM D 15 4 MOTOROLA User s Manual Configuration 2 1 1 Setting the User Option Switches 51 52 Switches 51 and 52 configure several aspects of board initialization and operation including operation mode and the firmware module to be run out of reset The diagram below shows the factory configuration e 32 bit external data bus Chip select 0 controls boot memory and external FLASH Disabling of internal FLASH Chip select 2 control of SRAM Master mode and e Picobug firmware module to be run out of reset z OR BOOTEXIN 5 9 4 32 16 OIl SWAP 02 20 81IO 1 1 5 O 4 gt USRO w s2 2 USR1 0 USR2 8 0 1 1 For a different configuration reset the 51 and 52 subswitches per Table 2 2 NOTE Changes you make to settings of the Boot Ex In Data 32 16 Swap 02 20 MO or MI subswitches do not take effect until the next reset or powerup of your EVB2107 16 MMCEVB2107UM D 4 User s Manual Configuring Board Components Table 2 2 User Options Switch Settings Functionality Selection Subswitch Settings Boot Memory Configures booting from BOOT EX IN2 ON chip

Download Pdf Manuals

image

Related Search

Related Contents

4Motion Device Driver Ver.3.0.10 User Manual  Infinity NV22P User's Manual  Niles Audio BG525 Speaker User Manual  ステンレスボトル MMN-HX  Mode d´emploi SCHICK - Fraiseuse S2 Master  プレミアム効率(IE3)ギヤモータ  Users Manual  Udaan User Manual  Cadet RBFC Installation Guide  LCD TV Monitor T1 Series User`s Manual  

Copyright © All rights reserved.
Failed to retrieve file