Home
User`s Manual
Contents
1. 27 3 1 1 Using the Picobug 20 22 Pieobug Sample Session 29 3 1 3 Using the GNU Source Level 32 3 2 Using the SysDS Loader 32 Section 4 Information 4 1 Connectors P1 J1 P2 J2 P3 J3 37 4 2 OnCE Connector 9 diss Sudden e e taeda etr E 46 4 3 Logic Analyzer Connectors J5 J17 J18 47 4 4 RS232 Connectors 757 58 50 4 5 SRAM External Standby Power Connector 336 51 4 6 Prototyping Connector Sites 751 752 53 51 4 mororoLa MMCCMB2107UM D User s Manual MMCCMB2107UM D User s Manual 4 MOTOROLA Figures 1 1 MMCCMB2107 Controller and Memory Board 11 2 1 Resister ds aes ES RICE UR 24 3 1 SysDS Loader Screen 33 3 2 Upload File Dialog Box 34 3 3 Display Flash Ram Display 35 4 1 MAPI Connector P1 J1 Pin 38 4 2 MAPI Connector P2 J2 Pin 1 40 4 3 MAPI Connector P3 J3 Pin 1 42
2. 38 MMCCMB2107UM D 4 MOTOROLA User s Manual MAPI Connectors P1 J1 P2 J2 P3 J3 P4 J4 Table 4 1 MAPI Connector 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 BIO 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 0 signals provided that the chip configuration register CCR SZEN bit is set e 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 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 iden
3. Connector Information Table 4 10 Connector Location J51 Signal Descriptions Pin Mnemonic Signal 20 18 16 14 GND GROUND 12 10 8 6 4 2 19 1 19 VDD3V 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 1 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 AGND 12 11 3 AGND 10 9 AGND 8 7 AGND 6 5 PQB 1 AGND 41 4 3 2 AGND 21 1 PQB 3 Figure 4 10 Connector Location J52 Pin Assignments Table 4 11 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 QADC 17 VRL VOLTAGE REFERENCE LOW Low reference for the QADC 15 13 11 9 PQA 0 PQA 1 ANALOG INPUTS lines 0 1 3 4 A analog inputs to the QADC also PQA 3 usable for gener
4. Three 38 pin Mictor logic analyzer connectors e Motorola s System Development Software SysDS e Metrowerks MetroTRK debug software GNU source level debugger from the Free Software Foundation e Metrowerks CodeWarrior IDE 30 day trial version 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 CMB2107 you should be an experienced C or MeCORE assembly programmer The power supply that comes with your CMB2107 converts line power to the input power that the CMB2107 needs 12 volts at a minimum of 0 5 amperes 1 3 CMB2107 Layout Figure 1 1 shows the layout of the CMB2107 Connectors P1 through P4 on the top of the board are the MAPI I O and interrupt connectors The corresponding MAPI connectors on the bottom of the CMB2107 are J1 through J4 Connector J7 is the OnCE connector Connectors J5 J17 and J18 are the logic analyzer connectors Connector J36 is for external standby power for internal SRAM Connector J57 is the port B RS232 serial connector connector
5. USR1 USRO Not Used Not Used Prog V LED DS5 LED DS4 LED DS3 LED DS2 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 This byte is at address 0 817 or 0 807 FFFC if the Swap 02 20 subswitch is OFF Asubswitch OFF setting produces a 0 bit value a subswitch ON setting produces a 1 bit value 24 MMCCMB2107UM 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 though 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 Pro
6. 10 ONCE TMS VDD3V 11 12 ONCE DE B NC 13 14 ONCE_TRST_B Figure 4 5 OnCE Connector 7 Pin Assignments Table 4 5 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 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 5 ONCE TCLK OnCE TEST CLOCK Input signal that synchronizes JTAG and OnCE logic 7 8 13 NC 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 12 ONCE DE B DEBUG EVENT Active low debug mode control line 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 46 MMCCMB2107UM D 4 MOTOROLA User s Manual Logic Analyzer Conne
7. 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 5011 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 501 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 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 PQA 4 PQA 3 A ANALOG INPUTS lines 4 3 1 A analog inputs to the QADC PQA 1 also usable for general purpose digital MOTOROLA MMCCMB2107UM D User s Manual 41 Connector Information VDD3V PTJ3 98 PTJ3 96 PTJ3 94 PTJ3 92 PTJ3 90 PTJ3 88 PTJ3 86 ONCE DE B ONCE TDI ONCE TDO VSTBY IDVDD VDD5V PTJ3 72 PTJ3 70 GND TCI 2 TCH VDD3V PTJ3 58 PTJ3 56 PTJ3 54 PTJ3 52 PTJ3 50 PTJ3 48 PTJ3 46 PTJ3 44 PTJ3
8. 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 lt 27 GND DATA 20 26 e e 25 DATA 21 DATA 18 24 e e 23 DATA 19 DATA 16 22 e e 21 DATA 17 DATA 14 20 e e 19 DATAI15 DATA 12 18 e e 17 DATA 13 GND 16 e e 15 GND DATA 10 14 e e 13 DATA 11 DATA 8 12 e e 11 DATA 9 DATA 6 10 e e 9 DATA 7 DATAI4 8 e e 7 DATA S DATA 2 6 e e 5 DATAI3 DATA O 4 e e 3 DATA 1 VDD3V 2 e e 1 VDD3V Figure 4 4 MAPI Connector P4 J4 Pin Assignments 44 MMCCMB2107UM D 4 MOTOROLA User s Manual MAPI Connectors P1 J1 P2 J2 P3 J3 P4 J4 Table 4 4 MAPI Connector P4 J4 Signal Descriptions Pin Mnemonic Signal 100 VDD5V 5 volt power 99 2 1 VDD3V 3 3 volt power 98 94 CSE1 CSEO 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 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 EBA B
9. 4 4 MAPI Connector P4 J4 Pin 44 4 5 OnCE Connector J7 Pin Assignments 46 4 6 Logic Analyzer Connector J5 A Pin 47 4 7 Logic Analyzer Connector J17 D Pin Assignments 48 4 8 Logic Analyzer Connector J18 C Pin Assignments 49 4 9 Connector Location J51 Pin Assignments 51 4 10 Connector Location 752 Pin Assignments 52 4 11 Connector Location J53 Pin Assignments 53 4 MOTOROLA MMCCMM2107UM D User s Manual MMCCMM2107UM D 4 MOTOROLA User s Manual Tables 1 1 MMCCMB2107 Controller and Memory Board Specifications 12 2 1 Component Configuration Settings 13 2 2 User Options Switch 17 2 9 CMB2107 Selftest LED 20 2 4 2107 Default Memory Map Swap 02 20 subswitch 21 2 5 Joint CMB2107 MPFB1200 Memory 22 2 6 CMB2107 Alternate Memory Map Swap 02 20 subswitch OFF 23 3 1 Picobug Commands enrera 28 4 1 MAPI Connector 1 Signal Descriptions 39 4 2 MAPI Connector P2 J2 Signal Descriptions 41 4 3 Connector P3 J3 Signal
10. 42 PTJ3 40 PTJ3 38 PTJ3 36 PTJ3 34 PTJ3 32 PTJ3 30 PTJ3 28 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 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 MIDA 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 3 MAPI Connector P3 J3 Pin Assignments 42 MMCCMB2107UM D User s Manual 4 MOTOROLA MAPI Connectors P1 J1 P2 J2 P3 J3 P4 J4 Table 4 3 MAPI Connector 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 D
11. FLASH voltage J38 PLL Leave Jumper Installed during normal use synchronization J39 analog voltage J48 Measures current of specified power signal MMCCMB2107UM D 15 4 MOTOROLA User s Manual Configuration 2 1 1 Setting the User Option Switches 1 2 Switches 51 and 2 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 control of boot memory and external FLASH e 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 DATA 32 16 OIl SWAP 02 20 0 mo 81IO 1 Mt 5 O 4 gt USRO ES 52 USR1 USR2 8 1 k 1 For a different configuration reset the 51 and 2 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 CMB2107 16 MMCCMB2107UM D 4 MOTOROLA User s Manual Configuring Board Components Table 2 2 User Options Switch Settings Functionality Selection Subswitch Settings Boot Memory Configures booting from BOOT EX IN chip select 0 memory disables internal FLASH Mast
12. J17 48 logic analyzer connector J18 49 logic analyzer connector J5 47 connectors P1 J1 P4 J4 40 42 44 OnCE connector J7 46 connector pn assignments RS232 connectors J57 J58 50 connector signal descriptions connector site J51 52 connector site J52 52 connector site J53 53 logic analyzer connector J17 48 logic analyzer connector J18 49 logic analyzer connector J5 47 MAPI connectors P1 J1 P4 J4 39 41 43 45 OnCE connector J7 46 RS232 connectors J57 J58 50 D debugging embedded code 27 32 E emulation chip select 1 23 24 eyelet areas 23 24 25 features 9 10 MMCCMB2107UM D G GNU source level debugger 32 introduction 9 12 layout 10 12 logic analyzer connectors 47 50 MAPI connectors 37 45 memory mapped I O 24 25 memory maps 21 23 O OnCE connector 46 operation 27 36 Picobug monitor commands 28 29 sample session 29 32 using 27 32 pin assignments connector site 51 51 connector site J52 52 connector site J53 53 logic analyzer connector J17 48 logic analyzer connector J18 49 logic analyzer connector J5 47 connectors P1 J1 P4 J4 40 42 44 OnCE connector J7 46 RS232 connectors J57 J58 50 prototyping areas 25 prototyping connector sites 51 53 R requirements system user 10 MOTOROLA User s Manual 55 S selftest 19 20 setting components configuration switches S3 S4 16 signal descriptions connector site J51 52 connector site J
13. J58 is the port A RS232 serial connector Connector J61 is the connector for 12 volt input power Switches S1 and S2 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 128 3 volt power to the resident MCU at location U10 J37 standby power for internal SRAM e J38 power for internal FLASH 10 MMCCMB2107UM D 4 MOTOROLA User s Manual J39 PLL power and e J48 5 volt power to the queued analog digital converter QADC CMB2107 Layout To measure any of these signals temporarily remove the jumper then connect the leads of your meter to the header pins DS2 DS3 DS4 DS5 0000 DSi J5 J17 J18 U1 P4 P1 J28 P3 J38 U10 J51 J52 J48 J39 ss T J53 54 J57 J58 J7 S1 52 436 337 56 J61 F1 Figure 1 1 MMCCMB2107 Controller and Memory Board LED DS1 confirms VPP programming voltage LEDs DS2 through DSS are general purpose status indicators LED DS6 confirms operating power The CMB2107 prototyping a
14. Manual 4 MOTOROLA Section 2 Configuration Configuring Board Components This chapter explains how to configure your CMB2107 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 1 Configures booting from chip select 0 Boot Ex In Subswitch ON memory disables internal FLASH ES Factory settind In master mode configures booting from ON internal FLASH memory BOOTEXIN 5 4 Lal In emulation mode configures booting from chip select 1 memory User Options Switch S1 Data 32 16 Subswitch DATA 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 S1 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 MMCCMB2107UM D 13 User s Manual Configuration Table 2 1 Component Configuration Settings Continued Component Position Effect User Options Switches Configures master mode 1 and S2 MO and 1 S
15. The CMB2107 also has a OnCE connector enabling you to use a debugging application that requires one Optionally you may use the CMB2107 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 CMB2107 s SRAM for execution or FLASH memory for execution or for storage in non volatile memory The CMB2107 will combine easily with other optional development boards from Motorola such as the 1200 Platform Board Such an optional board expands CMB2107 capacity enhances CMB2107 performance or adds to CMB2107 features 1 1 CMB2107 Features The CMB2107 features e 144 pin quad flat pack MMC2107 resident MCU 2megabytes FLASH memory 2megabytes 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 OnCEconnector Four user accessible LEDs Two DIP switches for system configuration and firmware selection User prototyping breadboard area MOTOROLA MMCCMB2107UM D 9 User s Manual Introduction modular all purpose interface MAPI 400 connector ring on the top and bottom of the CMB2107 for easy connection to other compatible development boards
16. To erase a sector of FLASH memory click on the Erase Sector button This brings up the 15 16 36 Flash Sector Number dialog Enter 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 MMCCMB2107UM D MOTOROLA User s Manual MAPI Connectors P1 J1 P2 J2 P3 J3 P4 J4 Section 4 Connector Information This chapter consists of pin assignments and signal descriptions for CMB2107 connectors 4 1 MAPI Connectors P1 J1 P2 J2 P3 J3 P4 J4 Connectors P1 through P4 all 2 by 50 pin connectors are the CMB2107 MAPI connectors Connectors J1 through J4 on the bottom of the CMB2107 have the same pin assignments The diagram below shows the orientation of the CMB2107 MAPI connectors Figure 4 1 through Figure 4 4 and Table 4 1 through Table 4 4 give the pin assignments and signal descriptions for these connectors 100 4 MOTOROLA MMCCMB2107UM D 37 User s Manual Connector Information P
17. name Upload hex Browse Enter in HEX Start Address End Address Size in bytes Mode 080000000 ox eotFFFFF 2097151 Save Figure 3 2 Upload To File Dialog Box e Enter the name 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 CMB2107 FLASH memory or RAM 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 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 MMCCMB2107UM D 4 MOTOROLA User s Manual Using the SysDS Loader e default Mode field value is Byte 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 selected 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
18. select 1 emulation MOTOROLA MMCCMB2107UM D 23 User s Manual Configuration Case II M1 OFF M0 OFF Swap 02 20 OFF These subswitch settings also configure emulation mode MCU memory range 0x0000 0000 0 0001 FFFF under chip select 1 control gets mapped to CMB2107 FLASH Chip select 2 provides access to the same physical memory but at CMB2107 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 III M1 OFF M0 ON Swap 02 20 ON These subswitch settings also configure emulation mode Chip select 1 does not specify any CMB2107 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 platform board or other user defined memory 2 6 Memory Mapped I O 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 through USR2 activates or deactivates programming voltage and controls the status LEDs DS2 through 1555 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
19. stay lit the CMB2107 has failed the selftest contact Motorola customer support for assistance 7 Turn off power Configure switch S2 for your next development activity before turning power back on MMCCMB2107UM D MOTOROLA User s Manual 2 4 Memory Maps Table 2 4 is the default memory map Swap 02 20 subswitch is ON Memory Maps Table 2 4 CMB2107 Default Memory Map Swap 02 20 subswitch ON 0x811F_FFFF 2 megabytes 0x8100_0000 Reserved for System Software 0x8100_BFFF 41 kilobytes 0x8100 C000 User Code 0x811F_FFFF 2007 kilobytes 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 CMB FLASH CSO 2 megabytes 0x801F_FFFF System 0x8000_0000 System Software 128 kilobytes 0x8001_FFFF Sectors 0 3 0x8002_0000 User Code 1920 kilobytes 0x801F_FFFF Sectors 4 18 0x8020_0000 User address space 6 megabytes 0x807F_FFFF 0x8100_0000 CMB SRAM CS2 NOTES 1 If you use the CMB2107 with an MPFB1200 platform board and if platform board SRAM is associated with the same chip select as CMB2107 SRAM the MMIO function uses the last four bytes of CMB SRAM 4 MOTOROLA MMCCMB
20. the CMB2107 with an MPFB1200 platform board To do so you must connect the boards via their MAPI rings Hold the CMB2107 directly above the other board Turn the CMB2107 so that the right triangle silk screen markings line up Then press the CMB2107 down onto the other board CMB2107 connectors J1 through J4 on the bottom of the board must connect with the corresponding MAPI connectors P1 through P4 on the top of the other board Optional You may use a logic analyzer with the CMB2107 If you do connect appropriate cables to any of the logic analyzer connectors J5 J17 or J18 Such a cable must terminate with a compatible Mictor connector Section 4 includes pin assignments and cable descriptions for the logic analyzer connectors Note the Tektronix pattern pin numbering If you are using the CMB2107 as a standalone tool connect your 12 volt power supply to line power and to CMB2107 connector J61 Use switch S4 to turn on power LED DS6 lights to confirm that the CMB2107 is powered Should the LED DS6 not light you may need to replace the fuse at location F1 next to power connector J61 Use a BUS GMA 1 5A fuse or compatible If you did connect the CMB2107 to a platform board apply power to the platform board per its instructions CMB2107 LED DS6 lights to confirm that the CMB2107 receives power from the platform board As for step 6 should the LEDs not light you may need to replace the platform board fuse This completes syst
21. 001 00002000 00000000 00000001 817ffffd r8 r15 8101efd8 80010040 0000000 00000080 00cc0004 000000c0 8100 7 4 81014056 8101D11E B607 stb 27 11 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 MMCCMB2107UM D 31 4 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 CMB2107 This GNU software works with the Picobug monitor to provide source level debugging for your code The CMB2107 software release 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
22. 1 J1 PTJ1 100 100 99 VDD3V PTJ1 98 98 e e 97 PTJ1 97 PTJ1 96 96 e e 95 PTJ1 95 PTJ1 94 94 e e 93 1 93 GND 92 e 91 PTJ1 91 VDD5V 90 e 89 GND PTJ1 88 88 e e 87 PTJ1 87 PTJ1 86 86 e e 85 PTJ1 85 PTJ1 84 84 e e 83 PTJ1 83 PTJ1 82 82 e e 81 PTJ1 81 PTJ1 80 80 e e 79 PTJI 79 PTJ1 78 78 e e 77 PTJ1 77 PTJ1 76 76 e e 75 PTJ1 75 GND 74 e e 73 DEVSP 0 PTJ1 72 72 e e 71 GND PTJ1 70 70 e e 69 PTJ1 69 INT B 6 68 e e 67 INT B 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 B 1 VDD3V 60 e e 59 VDD3V IDVDD MIDO 58 e e 57 1 2 3 ICOC2 2 56 e e 55 ICOC2 1 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 147 PTJ1 47 GND 46 e e 45 PTJ1 45 MOSI 44 e e 143 PTJ1 43 MISO 42 e 41 GND GND MID2 40 e e 39 PTJ1 39 SS B 38 e e 37 PTJ1 37 PTJ1 36 36 e e 35 PTJ1 35 IDVDD MID3 34 e e 33 PTJ1 33 PTJ1 32 32 e e 31 PTJ1 31 PTJ1 30 30 e e 29 PTJ1 29 GND 28 e e 27 PTJ1 27 GND1 26 e e 25 GND1 PTJ1 24 24 e e 123 PTJ1 23 PTJ1 22 22 e e 21 PTJ1 21 PTJ1 20 20 e e 19 PTJ1 19 PTJ1 18 18 e e 17 PTJ1 17 PTJ1 16 16 e e 15 PTJ1 15 PTJ1 14 14 e e 13 PTJ1 13 GND1 12 e e 11 PTJI 11 AGND 10 e e 9 PTJ1 9 AGND 8 e e 7 1 7 AGND 6 e e 5 MAPIVRH AGND 4 e 3 MAPIVRL AGND 2 e e 1 PQA 0 Figure 4 1 Connector P1 J1 Pin Assignments
23. 2107UM D User s Manual 21 Configuration Table 2 5 is the combined memory map for a CMB2107 and an MPFB1200 platform board each with factory settings This yields eight megabytes each of FLASH memory and SRAM Note that CMB2107 factory settings configure master mode this platform board map also is valid for CMB2107 emulation mode with chip select 1 internal FLASH emulation disabled The CMB2107 Data 32 16 subswitch must be ON for this MPFB1200 memory map to be valid but the CMB2107 Boot Ex In subswitch has no effect on the map Table 2 5 Joint CMB2107 MPFB1200 Memory Map 0x818F_FFFF Chip Address Range Use Size Select 0x8000 0000 CMB2107 FLASH 2 megabytes CSO 0x801F_FFFF 0x8020 0000 MPFB1200 FLASH 6 megabytes CSO 0x807F_FFFF 0x8080 0000 Unused 0x809F_FFFF 0x80A0_0000 MPFB1200 SRAM 6 megabytes CS1 0x80FF_FFFF 0 8100 0000 CMB2107 SRAM 2 megabyte CS2 0x811F_FFFF 0x8120 0000 Unused 0x817F_FFFF 0x8180 0000 1200 Peripherals 4 kilobytes CS3 0x8180 OFFF 0x8180 1000 1200 User Space D 1 megabyte CS3 almost NOTES 1 For the alternate MPFB SRAM address range 0 8120 0000 through 0x817F_FFFB use the MPFB main SRAM jumper header W2 to select CS2 22 MMCCMB2107UM D User s Manual 4 MOTOROLA Chip Select 1 Emulation Table 2 6 is the CMB2107 memory map if the Swap 02 20 subswitch is OFF Table 2 6 CMB2107 Alternate
24. 5 7 TC 2 TC 0 TRANSFER CODE lines 2 0 Outputs indicating the data transfer code for the current bus cycle 8 9 12 15 33 INT B 7 EXTERNAL INTERRUPT lines 7 0 Active low lines for external interrupts 34 INT B 0 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 16 RESET B RESET IN Active low input signal that starts a system reset a reset of the MMC2107 device and most peripherals 20 23 EBV B ENABLE BYTES V Y CPLD general enable bytes for control of on board EBY B SRAM Enable byte V bits MD7 MD0 enable byte W bits MD15 8 enable byte X MD23 MD16 enable byte Y bits MD31 MD24 MOTOROLA MMCCMB2107UM D User s Manual 49 Connector Information Table 4 8 Logic Analyzer Connector J18 C Signal Descriptions Continued Pin Mnemonic Signal 24 27 EBD_B ENABLE BYTES D A Active low outputs active during an operation to EBA_B corresponding data bits D31 D24 for enable byte D D23 D16 for enable byte 015 08 for enable byte B 07 00 for enable byte A 29 RSTOUT B RESET OUT Active low output signal controlled by the processor that resets external components Activation of any internal
25. 52 52 connector site J53 53 logic analyzer connector J17 48 logic analyzer connector J18 49 logic analyzer connector J5 47 connectors P1 J1 P4 J4 39 41 43 45 OnCE connector J7 46 RS232 connectors J27 J28 50 specifications 12 SRAM external standby power connector J36 51 SysDS Loader using 32 36 SysDS loader steps 32 36 system requirements 10 user requirements 10 MOTOROLA MMCCMB2107UM D 56 User s Manual Revision History Revision Number Date Author Summary of Changes Original July 2000 Original document MMCCMB2107UM D MOTOROLA User s Manual 57 Revision History MOTOROLA MMCCMB2107UM D 58 User s Manual
26. DRESS BUS lines 25 0 Output lines for addressing external devices ADDRIO These lines change state only during external memory accesses not in exact order Exception Pins 10 12 ADDRI25 ADDR 23 always have the value 0 36 R_W_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 4 MOTOROLA MMCCMB2107UM D 47 User s Manual Connector Information J17 NC 1 e 38 NC NC 2 e 37 NC TA_B 3 e 36 SHS DATA 31 4 e 35 DATA 15 DATA 30 5 e 34 DATA 14 DATA 29 6 e e 33 DATA 13 DATA 28 7 e 32 DATA 12 DATA 27 8 e e 31 DATA 1 1 DATA 26 9 e e 30 DATA 10 DATA 25 10 29 DATA 9 DATA 24 11 28 DATAI8 DATA 23 12 27 DATA 7 DATA 22 13 26 DATAI6 DATA 21 14 25 DATA 5 DATA 20 15 24 DATA 4 DATA 19 16 23 DATA 3 DATA 18 17 22 DATA 2 DATA 17 18 21 DATA 1 DATA 16 19 20 Figure 4 7 Logic Analyzer Connector 17 D Pin Assignments Table 4 7 Logic Analyzer Connector J17 D Signal Descriptions Pin Mnemonic Signal 1 2 37 38 NC No connection 3 TA_B TRANSFER ACKNOWLEDGE Active low input indicating completion of a data transfer for either a read or a write cycle 4 35 DATA 31 DATA 0 DATA BUS Bi directional d
27. Descriptions 43 4 4 MAPI Connector P4 J4 Signal Descriptions 45 4 5 OnCE Connector J7 Signal Descriptions 46 4 6 Logic Analyzer Connector J5 A Signal Descriptions 47 4 7 Logic Analyzer Connector J17 D Signal Descriptions 48 4 8 Logic Analyzer Connector J18 C Signal Descriptions 49 4 9 RS232 Connector J57 J58 Pin Assignments 50 4 10 Connector Location J51 Signal Descriptions 52 4 11 Connector Location J52 Signal 52 4 12 Connector Location J53 Signal Descriptions 53 4 MMCCMB2107UM D User s Manual MMCCMB2107UM D 4 MOTOROLA User s Manual CMB2107 Features Section 1 Introduction This user s manual explains connection configuration and operation information for the MMCCMB2107 Controller and Memory Board CMB2107 a development tool of Motorola s MeCORE family The CMB2107 lets you develop code to be embedded in an MMC2107 microcontroller unit As a standalone tool the CMB2107 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
28. EBB B corresponding data bits D31 D24 for enable byte D D23 D16 for enable byte 015 08 for enable byte D7 DO 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 ADDRI 31 ADDRESS BUS lines 31 0 Output lines for addressing external devices 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 not in exact previous logic state order MOTOROLA MMCCMB2107UM D User s Manual 45 Connector Information 4 2 OnCE Connector J7 Connector 77 a 2 by 7 pin connector conveys data and control signals to and from the OnCE control block Figure 4 5 and Table 4 5 give the pin assignments and signal descriptions for this connector J7 ONCE_TDI 1 e e 2 GND ONCE_TDO 3 e 4 GND ONCE_TCLK 5 e e 6 GND NC 7 e e 8 NC RESET B 9 e
29. EBUG EVENT Open drain active low debug signal via 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 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_B 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 m
30. MMCCMB2107 Controller and Memory Board CMB2107 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 or 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 o
31. Memory Map Swap 02 20 subswitch OFF Related Address Range Memory Resource Chip Select 0x8000_0000 CMB SRAM CSO 2 megabytes 0x801F_FFFF 0x8020_0000 User address space 6 megabytes 0x807F_FFFB MMIO read only byte reads 0x807F_FFFC in USRO USR1 USR2 subswitch settings MMIO write only byte controls LEDs and internal FLASH programming voltage 0x8100_0000 CMB FLASH CS2 2 megabytes 0x811F_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 M0 OFF Swap 02 20 ON These subswitch settings configure emulation mode MCU memory range 0x0000 0000 0 0001 FFFF under chip select 1 control gets mapped to CMB2107 SRAM Chip select 2 provides access to the same physical memory but at CMB2107 addresses 0x8102 0000 0 8103 FFFF Motorola system software programs chip select 1 for one 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
32. ND3 GND 84 e lt 83 GND VDD3V 82 e e 81 PTJ2 81 PTJ2 80 80 e e 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 PTJ2 71 SCI2 IN 70 e lt 69 SCI2 OUT PTJ2 68 68 e e 67 PTJ2 67 SCI1_IN 66 e e 65 SCI1 OUT GND 64 e 63 GND VDD3V 62 e e 61 261 PTJ2 60 60 e 159 PTJ2 59 PTJ2 58 58 e e 57 PTJ2 57 PTJ2 56 56 e e 55 PTJ2 55 PTJ2 54 54 e e 53 PTJ2 53 PTJ2 52 52 e e 51 PTJ2 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 PTJ2 42 42 e e 41 PTJ2 41 PTJ2 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 31 SDCPS PTJ2 30 30 e 29 VDD5V PTJ2 28 28 e e 27 PTJ2 27 PTJ2 26 26 e e 25 PTJ2 25 PTJ2 24 24 e e 23 PTJ2 23 PTJ2 22 22 e e 21 PTJ2 21 VDD3V 20 e e 19 PTJ2 19 GND 18 17 GND AGND 16 e 15 AGND 3 14 e 13 AGND 2 12 e 11 AGND 10 e 9 AGND PQB O 8 e 7 AGND PQAI4 6 e 5 AGND PQA 3 4 e 3 AGND PQAI1 2 e 1 AGND Figure 4 2 MAPI Connector P2 J2 Pin Assignments 40 MMCCMB2107UM D 4 MOTOROLA User s Manual Connectors P1 J1 P2 J2 P3 J3 P4 J4 Table 4 2 MAPI Connector P2 J2 Signal Descriptions Pin Mnemonic Signal 100 98 87 81 80 78 PTJ2 x Pass through 71 68 67 61 47 42
33. OUT signals are designated SCI IN for other connectors RXDB is 5 2 IN RXDA is 5 IN 4 5 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 dL ej GND 1 POSITIVE Standby external power must be provided by a user suppled power supply The MMC2107 chip manual explains the correct voltage VSTBY level 4 6 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 9 and Table 4 10 give the pin assignments and signal descriptions for such a connector installed at location J51 Figure 4 10 and Table 4 11 give the pin assignments and signal descriptions for such a connector installed at location J52 Figure 4 11 and Table 4 12 give the pin assignments and signal descriptions for such a connector installed at location J53 J51 GND 20 19 VDD3V GND 18 17 INT GND 16 15 BI1 GND 14 e 113 INT BI2 GND 12 11 INT Bal GND 1014 19 INT_B 4 GND 8 7 INT BI5 GND 6 5 INT B 6 GND 4 3 INT_B 7 GND 2 VDD3V Figure 4 9 Connector Location J51 Pin Assignments 4 MOTOROLA MMCCMB2107UM D 51 User s Manual
34. 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 I O 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 RXDA and RXDB 4 2 500 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 TXDA and TXDB 1 VDD3V OPERATING VOLTAGE Transmission line for 3 3 volt MCU operating power 4 MOTOROLA MMCCMB2107UM D 53 User s Manual Connector Information 54 MMCCMB2107UM D 4 MOTOROLA User s Manual Index C chip select 1 emulation 23 24 CMB2103 layout 10 12 specifications 12 FLASH 34 components configuring 13 18 computer system connections 18 19 configuration 13 25 configuration switches S3 S4 16 configuration table 13 15 configuring components 13 18 connections computer system 18 19 connector information 37 53 connector pin assignments connector site J51 51 connector site J52 52 connector site J53 53 logic analyzer connector
35. User s Manual Using the SysDS Loader 5 Start the SysDS Loader The main screen Figure 3 1 appears Motorola SysDS Loader for CHB EVB2107 v1 0 FLASH RAM File name SYSTEM CMB EvB2107 Restore System Software FLASH Type Base Address Bus Width Size Download 29 w 32 Upload Joxeooo0000 2 MB Verify FLASH Start Address 0480000000 FLASH End Address 0 801FFFFF Display Erase FLASH Communications Port coma Speed 13200 bps Erase Sector Blank Check Figure 3 1 SysDS Loader Main Screen 6 Goto 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 leave 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 WotorolaM oaderMMC2107 Should a factory update replace the software in this directory return CMB2107 switches to their factory
36. al purpose digital 7 5 3 1 PQB 0 B ANALOG INPUTS lines 0 3 B analog inputs to the QADC also usable PQB 3 as general purpose digital inputs 52 MMCCMB2107UM D MOTOROLA User s Manual Prototyping Connector Sites J51 J52 J53 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 SS B 8 7 MISO MOSI SCH IN SCI1_OUT 4 3 SCI2_IN SCI2 OUT 2 VDD3V Figure 4 11 Connector Location J53 Pin Assignments Table 4 12 Connector Location J53 Signal Descriptions Pin Mnemonic Signal 20 GND GROUND 19 16 ICOC1 0 TIMER 1 INPUT CAPTURE OUTPUT CAPTURE lines 0 3 Signals for ICOC1 3 internal timer channel 1 15 12 ICOC2 0 TIMER 2 INPUT CAPTURE OUTPUT CAPTURE lines 0 3 Signals for 2 3 internal timer channel 2 11 RSTOUT_B RESET OUT Active low output signal controlled by the processor that resets external components Activation of any internal reset sources asserts this line 10 RESET_B RESET IN Active low input signal that starts a system reset a reset of 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 I O signal 8 SS_B
37. aster 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 TC O 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 bl GND3 GROUND Connection to the GROUND 3 plane 4 MOTOROLA MMCCMB2107UM D User s Manual 43 Connector Information P4 J4 VDD5V 100 99 VDD3V CSE 1 98 e e 97 GND 96 e lt 95 CLK OUT CSE 0 94 e 93 GND PTJ4 92 92 e e 91 CS 3 PTJ4 90 90 e e 89 CS B OE_B 88 e e 87 CS EBD_B 86 e e 85 CS Bo EBC_B 84 e 83 GND 82 e 81 RWB B 80 e e 79 PTJ4 79 TEA B 78 e 77 GND 76 e e 75 GND ADDRI30 74 e e 73 ADDR 31 ADDR 28 72 e e 71 ADDRI29 ADDR 26 70 e 69 ADDRI27 ADDR 24 68 e e 67 ADDR 25 ADDRI22 66 e 65 ADDR 23 ADDR 20 64 e e 63 ADDRI21 ADDR 18 62 e lt 61 ADDRI19 ADDR 16 60 e 59 ADDRI17 GND 58 e e 57 GND ADDR 14 56 e 55 ADDR 15 ADDR 12 54 e 53 ADDR 13 ADDR 10 52 e e 51 ADDR 11 8 50 e 49 ADDR 9 ADDRI6 48 e e 47 ADDRI7 ADDRI4 46 e e 45 ADDR 5 ADDRI2 44 e e 43 ADDRIO 42 e e 41 ADDRI1 GND 40 e 39 GND DATA 30 38 e 37 DATA 31 DATA 28
38. ata lines 31 0 for accessing external memory not in exact order 36 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 48 MMCCMB2107UM D User s Manual 4 MOTOROLA Logic Analyzer Connectors J5 J17 J18 J18 NC 1 e e 38 NC NC 2 37 NC 3 e o 36 TEA B J7P4 4 e 35 J7P35 TC 2 5 e o 34 INT BIO TC 1 6 e 33 INT_B 1 TC 0 7 e e 32 DEVSP B 0 INT B 7 8 e e 31 J7P31 INT B 6 9 e 30 J7P30 J7P10 10 29 RSTOUT_B J7P11 11 28 J7P28 INT_B 5 12 27 EBA_B INT B 4 13 26 EBB B INT B 3 14 25 B INT_B 2 15 24 EBD_B RESET B 16 23 J7P17 17 22 _ J7P18 18 e 21 EBW_B J7P19 19 20 Figure 4 8 Logic Analyzer Connector 418 C Pin Assignments Table 4 8 Logic Analyzer Connector J18 C Signal Descriptions Pin Mnemonic Signal 1 2 37 38 NC No connection 3 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 4 10 11 17 J7P x MICTOR PINS Open pins of this Mictor connector pins that may be used to 19 28 30 31 35 connect other system signals to a logic analyzer
39. ctors J5 J17 J18 4 3 Logic Analyzer Connectors J5 J17 J18 Connectors J5 J17 and J18 all 2 by 19 pin Mictor connectors are the logic analyzer connectors Figure 4 6 through Figure 4 8 give the pin assignments for these connectors Table 4 6 through Table 4 8 give the signal descriptions for these connectors Note that these figures and tables follow the Techtronics pin numbering pattern J5 NC 1 e e 38 NC NC 2 e 37 NC CLK_OUT 3 e 36 R_W_B CS 0 4 e e 35 ADDRI15 CS B 1 5 e e 34 ADDRI14 CS B 2 6 e e 33 ADDRI13 CS 3 7 e e 32 ADDRI12 CSEO 8 e e 31 ADDRI 11 CSE1 9 e e 30 ADDR 10 ADDRI 25 10 e 29 ADDRI9 ADDR 24 11 28 ADDRI8 ADDR 23 12 27 ADDRIZ ADDR 22 13 26 ADDRI6 ADDR 21 14 25 ADDRI5 ADDR 20 15 24 ADDRI4 ADDR 19 16 e 23 ADDR S ADDRI 18 17 22 ADDRI2 ADDRI 17 18 21 ADDRI 1 ADDRI 16 19 20 ADDRIO Figure 4 6 Logic Analyzer Connector J5 A Pin Assignments Table 4 6 Logic Analyzer Connector J5 A Signal Descriptions Pin Mnemonic Signal 1 2 37 38 NC No connection 3 CLK_OUT CLOCK OUTPUT System clock output 4 7 CS B 0 CS B 3 CHIP SELECTS lines 0 3 Active low output lines that provide chip selects to external devices 8 9 CSE0 CSE1 EMULATION CHIP SELECTS lines 0 1 Emulation mode output chip select signals 10 35 ADDRI25 AD
40. d modify the code you develop for embedding in an MMC2107 MCU 3 1 1 Using the Picobug Monitor The Picobug monitor comes burned into the external FLASH memory devices of your CMB2107 Before you start the Picobug monitor make sure that you have an RS232 connection between CMB2107 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 CMB2107 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 ON 7 Apply power to the CMB2107 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 c
41. em 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 Performing the CMB2107 Selftest Once you have configured your CMB2107 you can perform a selftest of its components 1 Make sure that CMB2107 power is turned off or disconnected Power LED DS6 should be out 2 Setswitch S2 for the built in selftest USRO USRI and USR2 subswitches all OFF 3 Turnon power LED DS6 comes on to confirm power and the CMB2107 begins its selftest 4 MMCCMB2107UM D 19 User s Manual 20 Configuration 4 LEDs DS2 through DSS light and go out during the test according to the sequence of Table 2 3 Table 2 3 CMB2107 Selftest LED Sequence DS2 DS3 DS4 DS5 Test Action OFF ON OFF ON 8 bit write to memory ON OFF ON OFF 8 bit read from 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 32 bit read from NOTES 1 Should all four LEDs stay lit at this point the CMB2107 has failed the SRAM test aborting the rest of the selftest Contact Motorola customer support for assis tance Then individual LEDs light several times in the sequence DS5 DS4 DS3 and DS2 When all four LEDs go out the CMB2107 has passed the selftest If any LEDs
42. er mode configures booting BOOT EX IN2 OFF from internal FLASH memory Emulation mode configures booting from chip select 1 memory Data Bus Size 32 bit DATA 32 162 ON 16 bit MPU data lines 15 0 DATA 32 162 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 MO ON M1 2 ON Emulation disables FLASH MO ON emulation on CS1 M12 OFF Single Chip MO OFF M1 2 ON Emulation enables FLASH MO OFF emulation on CS1 M12 OFF Firmware Module Built in Selftest USRO OFF USR1 OFF USR2 OFF Picobug Monitor USR0 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 powerup MOTOROLA MMCCMB2107UM D User s Manual 17 Configuration 2 1 2 Using the Power Headers J28 J37 J38 J39 J48 Your CMB2107 has these power headers e J28 3 volt power to U10 resident MCU e J37 standby power for internal SRAM of U10 resident MCU e J38 power for internal FLASH of U10 resident MCU e J39 PLL power and e J48 5 volt power to the queued analog digi
43. ess2 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 w words or 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 default n half words 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 28 MMCCMB2107UM D MOTOROLA User s Man
44. f Motorola 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 MMCCMB2107UM D 2 User s Manual Contents Section 1 Introduction 1 1 CMB2107 Ta eta eters 9 1 2 System and User Requirements 10 1 3 MB2107 LOW 10 Section 2 Configuration 2 1 Configuring Board 13 2 1 1 Setting the User Option Switches S1 52 16 2 1 2 Using the Power Headers J28 J37 J38 J39 8 18 22 Making Computer System 18 2 3 Performing the CMB2107 19 24 Memory 21 25 Chip Select L NAS 23 2 6 Memory Mapped 24 2 7 Using the Prototyping Area 25 Section 3 Operation 3 1 Debugging Embedded Codes aiii
45. 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 8 8 B n OD DD DO 00 OD DD 00 CO DD 50 mn PD DD PD GO PD OO PD 80 00 OO ED 94 03 73 22 74 03 77 25 bt 70 72 23 15 12 tff AR 08 Ef 26 72 i OF l4 15 37 EH 17 ZA Tz 00 Cz 40 ZZ DE 01 b Close 20 eem 88248585 288888 SRGRGHRECSRS 8888 gc oo gu 00 90 00 354 02 25 84 78 OR ZA TZ AT GE Bz Ob TE 00 EZ 01 F 00 00 oo mn 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 Another way to change the value display is to use the scroll bars Use the Mode field to specify byte half word or word values in the display e 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 MMCCMB2107UM D 35 User s Manual Operation 14
46. g V control 2 7 Using the Prototyping Area The CMB2107 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 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 MMCCMB2107UM D 25 User s Manual Configuration 26 MMCCMB2107UM D 4 MOTOROLA User s Manual Debugging Embedded Code Section 3 Operation This chapter explains how to begin using debugging tools available for your MMCCMB2107 Controller and Memory Board as well as how to use Motorola s SysDS Loader 3 1 Debugging Embedded Code With your CMB2107 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 an
47. ommands on your computer screen enter a question mark or the extra command ne at the command prompt MOTOROLA MMCCMB2107UM D 27 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 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 addr
48. rea 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 4 MOTOROLA MMCCMB2107UM D User s Manual 11 Introduction Note the three groups of eyelets at the lower left of the CMB2107 sites J51 J52 and J53 Although the factory does not populate these sites you may access many signals at these sites If you desire you could install your own connectors 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 CMB2107 fuse The resident MCU at location U10 is an MMC2107 device in a 144 package The CPLD is at location U1 Table 1 1 lists CMB2107 specifications Table 1 1 MMCCMB2107 Controller and Memory Board Specifications Characteristic Specifications MCU extension I O port HCMOS compatible Operating temperature 0 to 40 C Storage temperature 40 to 85 Relative humidity 0 to 90 non condensing Reference clock crystal frequency 8 megahertz External clock 32 or 16 megahertz depending on board settings Power requirements from a separate power source 12 volts dc ata minimum 0 5 amperes provided Dimensions 6 9 x 8 2 inches 175 x 208 mm MMCCMB2107UM D User s
49. reset sources asserts this line 32 DEVSP B 0 DEVELOPMENT SPACE 0 Active low signal indicating that the current memory cycle is addressing on board devices 36 TEA B TRANSFER ERROR ACKNOWLEDGE Active low input that indicating that a bus transfer error has occurred 4 4 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 9 lists the pin assignments and signal directions for these connectors Table 4 9 RS232 Connector J57 J58 Pin Assignments Pin Signal Signal Direction 1 CD Out hard wired active Carrier Detect positive 2 TXD SCI OUT Out Transmitted Data 3 RXD 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 Ring Indicator negative NOTE Connector J57 is for channel B and connector J58 is for channel A Accordingly the respective pin 7 assignments can be thought of as CDB and 50 MMCCMB2107UM D User s Manual 4 MOTOROLA SRAM External Standby Power Connector J36 CDA Similarly the respective pin 2 assignments can be thought of as TXDB and TXDA and so forth Also note that TXD signals are designated SCI_OUT for other connectors TXDB is SCI2 OUT TXDA is 8
50. s this epc FFFFFFFE MOTOROLA MMCCMB2107UM D User s Manual 29 Operation 4 To see the contents of a specific memory location enter the Memory Display md 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 b The system responds with a display such as this 8101D000 71 12 10 7F 00 00 24 70 9F 00 8F 00 20 70 q p p 8101D010 00 CF 00 00 24 70 9F 6 Todownload 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 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 see the new contents of registers enter the Register Displa
51. settings follow steps 1 through 4 above then click on the Restore System Software button 4 MOTOROLA MMCCMB2107UM D User s Manual 33 Operation 10 34 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 the 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
52. tal converter QADC During normal use of your CMB2107 leave the jumpers in all of these headers To measure any of these signals 1 Make sure that CMB2107 power is OFF 2 Remove the jumper from the corresponding power header 3 Connect meter leads to the header pins 4 Turn ON CMB2107 power and read the voltage from the meter 5 Turn OFF CMB2107 power 6 Disconnect the meter leads 7 Install jumper in power header 2 2 Making Computer System Connections When you have configured your CMB2107 you are ready to connect it to your computer system 1 Make sure that power is disconnected 2 For RS232 communication directly with your host computer connect an RS232 cable between CMB2107 connector J58 port A and the appropriate serial port of your computer 3 Alternatively if you will use an EBDI with your CMB2107 connect an appropriate 14 lead cable between CMB2107 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 CMB2107 connector J58 at all However a target board could communicate through connector J58 4 Optional If your code running in a target board supports RS232 communication with the CMB2107 you can connect a second RS232 cable between the target board and CMB2107 connector J57 port B 18 MMCCMB2107UM D 4 MOTOROLA User s Manual 2 3 Performing the CMB2107 Selftest Optional You may use
53. 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 NOTEs 1 SysDS Loader functionality is the same for both communication connections either host computer port directly to CMB2107 RS232 connector J58 or host computer port to an EBDI then to the CMB2107 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 If the 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 CMB2107 product release guide includes installation instructions 2 Ifthe Hyperterminal 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 CMB2107 32 MMCCMB2107UM D 4 MOTOROLA
54. tification 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 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 4 MOTOROLA MMCCMB2107UM D User s Manual 39 Connector Information P2 J2 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 PTJ2 92 92 e e 91 PTJ2 91 PTJ2 90 90 e e 189 PTJ2 89 PTJ2 88 88 e e 87 PTJ2 87 GND3 86 e lt 85 G
55. ual 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 Single steps instruction identical to the t command 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 epc fffffffe fpc 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 00cc0004 vbr 8100dc00 00000000 00000009 81005000 000000c0 8100 7 4 8001125 3 To see the contents of a specific register such as the epc register enter the Register Display rd command with the name value picobug gt rd epc The system responds with a display such a
56. ubswitches vo 651 Factory setting ON M B 07114 Configures emulation mode disables internal Ein FLASH emulation on chip select 1 8 15 7 1 QN Configures single chip mode M 51 4 Configures emulation mode enables internal FLASH emulation on chip select 1 USR0 USR2 Subswitches User Option Switch S2 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 MMCCMB2107UM D User s Manual 4 MOTOROLA Configuring Board Components Table 2 1 Component Configuration Settings Continued Component Position Effect User Option Switch S2 Specifies user code to be run out of reset USRO USR2 Subswitches continued uso USR1 07 use 8 IO 1 ON Reset Switch S3 Push to reset all board components Power Switch S4 Turns power OFF ON OF Factory setting Turns power ON ON CFF Power Headers Connects specified power signal MCU 3V J28 internal RAM standby J37 Factory setting internal chip
57. y 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 8101d000 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 30 MMCCMB2107UM D 4 MOTOROLA 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 To start program execution enter the Go g command picobug gt g In this instance the breakpoint set during step 8 stops code execution The system responds with this new display of register values At breakpoint pe 8101 11 epc 8101 11 50100002 psr 80000100 epsr 80000100 fpsr 04000200 550 554 bad0beef 80010040 02200008 00000100 00c90800 vbr 8100dc00 r0 r7 8101efd8 8101 000 00000000 00000
Download Pdf Manuals
Related Search
Related Contents
BE 68 Manuel d`utilisation Bedienungsanleitung SERVICE MANUAL Modelo #: SR42UB A&D UA-1030T User's Manual Retrospect 7.5 Manual esteira EMP-880 Samsung BX2031 manual de utilizador User Manual Copyright © All rights reserved.
Failed to retrieve file