Home
User`s Manual
Contents
1. edt i uo i to E EUR IER prata ut ee 20 Section 3 Operation 3 1 Debugging Embedded 21 3 1 1 Using the Picobug Debug 21 3 1 2 Picobug Sample 23 3 1 3 Using the GNU Source Level Debugger 25 3 2 Downloading to FLASH 26 3 2 1 Using the FLASH 26 3 2 2 Restoring System Software 31 3 3 Controlling 12001 lt 31 Section 4 Connector Information 4 1 Connectors P1 J1 P2 J2 P3 J8 P4 J4 33 42 Connector P5 uos exe x denied GU ER EN ves 43 Index MMCCMB 1200UM D Rev 2 MOTOROLA User s Manual 3 Table of Contents MOTOROLA Rev 2 MMCCMB1200UM D 4 User s Manual List of Figures Figure 1 1 MMCCMB1200 Computer and Memory Board 11 Figure 1 2 Foot Locations on Bottom of CMB1200 12 Figure 3 1 FLASH Programmer Main 26 Figure 3 2 Picobug Protocol Selection 27 Figure 3 3 Memory Contents 30 Figure 4 1 Connector P1 J1 Pin Assignments 34 Figure 4 2 MAPI Connector P2 J2 Pin Assignments 36 Figure 4 3 Conne
2. 1200 Controller and Memory Board CMB1200 User s Manual Revision 2 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 4 are registered trademarks of Motorola Inc Motorola Inc is an Equal Opportunity Affirmative Action Employer The M CORE name and logotype and the OnCE name are tra
3. General purpose input GPIO SO and output lines 87 TRST TEST RESET Active low input signal to the Schmitt trigger asynchronously initializing the test controller The TRST pin has an internal 47k pullup resistor 85 TCK TEST CLOCK Input signal that synchronizes the JTAG test logic The TCK pin has an internal 47k pull up resistor 84 DE DEBUG EVENT Open drain active low debug signal If an input signal from an external command controller causes the EVB to enter debug mode If an output signal acknowledges that the MCU is in debug mode 83 TMS TEST MODE SELECT Input signal that sequences the test controller s state machine sampled on the rising edge of the TCK signal The TMS pin has an internal 47k pull up resistor 82 TDI TEST DATA INPUT Serial input signal for test instructions and data sampled on the rising edge of the TCK signal The TDI pin has an internal 47k pullup resistor 80 TDO TEST DATA OUTPUT Serial output signal for test instructions and data Three stateable and actively driven in the Shift IR and Shift DR controller states this signal changes on the falling edge of the TCK signal 79 RSTOUT RESET OUT Active low output signal that resets external components Activation of any internal reset sources asserts this line 78 VBATT STANDBY BATTERY POWER 77 RSTIN RESET IN Active low input signal that starts a system reset a reset of the PowerStrike devic
4. MOTOROLA Rev 2 MMCCMB1200UM D 48 User s Manual
5. NC NC SPI CLK SPI MOSI NC NC GND NC NC NC ROW 6 ROW 4 ROW 2 ROW 0 NC e 49 e 47 e 45 e 43 e 41 e 39 e 37 e 35 e 33 e 31 e 29 e 27 e 25 e 23 e 21 e 19 e 17 e 15 e 13 e 11 9 e 7 e 5 e 3 1 NC NC NC GND NC NC NC NC GND NC NC SPI GP SPI EN SPI MISO NC NC GND GND NC NC ROW 7 ROW 5 ROW 3 ROW 1 GND MAPI Connector P2 J2 Pin Assignments Rev 2 MMCCMB1200UM D 36 User s Manual Connector Information MAPI Connectors P1 J1 P2 J2 P3 J3 P4 J4 Table 4 2 MAPI Connector P2 J2 Signal Descriptions Pin Mnemonic Signal 100 98 96 94 92 GND GROUND 90 88 86 83 64 63 46 43 36 33 18 17 15 1 97 95 93 91 89 87 PWM 5 PWM 0 PULSE WIDTH MODULATOR lines 5 0 External interface lines for the pulse width modulator block Default state upon reset is general purpose input 82 80 78 71 62 NC No connection 47 45 44 42 37 35 34 32 28 22 19 16 14 11 2 79 VCC OPERATING VOLTAGE Transmission line for 5 volt CMB1200 input power 70 66 RXD1 RXDO RECEIVE DATA lines 1 0 Input data receive lines for UART channels 1 and 0 69 65 TXD1 TXDO TRANSMIT DATA lines 1 0 Output data transmission lines for UART channels 1 and 0 68 CTSO CLEAR TO SEND 0 Active low output that can be programmed as the U
6. bit 7 or 4 Toturn the LED OFF assign the value 1 to the data bit bit 7 MMCCMB1200UM D Rev 2 MOTOROLA User s Manual 31 MOTOROLA For example this line of C code will turn ON LED STO unsigned short 0 10005000 0x0040 This line of code will turn OFF LED DS3 unsigned short 0 10005010 0 00 0 Rev 2 MMCCMB1200UM D 32 User s Manual Section 4 Connector Information This chapter consists of pin assignments and signal descriptions for CMB1200 MAPI and OnCE connectors This chapter does not cover the standard connectors J8 J9 or J10 4 1 MAPI Connectors P1 J1 P2 J2 P3 J3 P4 J4 Connectors P1 through P4 all 2 by 50 pin connectors are the CMB1200 MAPI connectors Connectors J1 through J4 on the bottom of the CMB1200 have the same pin assignments The diagram below shows the orientation of the CMB1200 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 MMCCMB 1200UM D Rev 2 MOTOROLA User s Manual 33 Connector Information MOTOROLA NC NC NC NC GND VCC NC NC NC NC NC NC NC GND NC NC NC NC NC NC NC GND NC NC GND 100 98 96 94 92 90 88 86 84 82 80 78 76 74 72 70 68 66 64 62 60 58 56 54 52 99 97 95 93 91 89 87 85 83 81 79 77 75 73 71 69 67 65 63 61 59 57 55 53 51 NC NC NC NC NC GND NC NC
7. rd command without any name value picobug rd The system responds with a display such as this pc 30000286 epc 30000286 fpc 0010 000 psr 80000100 epsr 80000100 fpsr 00020000 550 554 badObeef 20000 00 20008000 20010042 00000801 vbr 30005 00 r0 r7 30002718 00000050 0000ea60 30005494 30006708 80070101 00000200 00000040 r8 r15 0010 000 00020000 20000 00 300067c0 00000000 30005194 10005000 30000286 3 Tosee the contents of a specific register such as the epc register enter the Register Display rd command with the name value picobug rd epc The system responds with a display such as this epc 30000286 4 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 md 0x30001000 w The system responds with a display such as this 30001000 8EFOB37E 5 To see the contents of a memory range enter the Memory Display command with the beginning and ending addresses An optional size value in this case b for byte may be part of the command picobug md 0x30000000 0 30000010 b The system responds with a display such as this 30000000 8E FO 00 00 55 55 55 55 OE 22 9E E8 03 20 OD 20 OE UUUU 30000010 F7 MMCCMB1200UM D Rev 2 MOTOROLA User s Manual 23 6 Todownload into SRAM a program executable in S record fo
8. these connectors or use appropriate connectors Section 4 Connector Information gives pin assignments and signal descriptions for these connectors 2 3 Performing the CMB1200 Self Test Once you have configured your CMB1200 you can perform a self test of CMB1200 components 1 If your CMB1200 is powered turn off or disconnect power The green LED DS5 goes out Make sure that a fabricated jumper is in jumper header W9 Remove the fabricated jumpers from positions C and D of jumper header W14 Turn one of these jumpers 90 degrees then reinsert it so that it connects W14 pins 5 and 7 Apply power to the CMB1200 The green LED DS5 comes on to confirm power The CMB1200 automatically begins its self test The four yellow LEDs STO through ST3 flicker during the self test approximately one minute then light without flickering to confirm that the 1200 passed the self test If at the end of the self test any of the yellow LEDs does not light without flickering the CMB1200 fails the self test Contact Motorola customer support for assistance When the CMB1200 passes the self test disconnect power restore jumper header W14 to its operating configuration then restore power This completes the self test MMCCMB1200UM D Rev 2 MOTOROLA User s Manual 19 Configuration 2 4 Memory Maps Your CMB1200 uses a 16V8 generic array logic GAL device for chip select address decoding The configuration of jumpe
9. GPIO SI 90 e e 89 GPIO SO NC 42 e e 141 MOD NC 88 e e 87 TRST NC 40 e e 39 LVRSTIN NC 86 e 85 NC 38 e e 137 GND DE 84 ee 83 TMS NC 36 35 PGND TDI 82 e e 81 GND NC 34 e e 133 NC TDO 80 e 79 RSTOUT NC 32 e e 131 GND VBATT 78 e e 77 RSTIN NC 30 e e 29 NC NC 76 e e 75 RESERVED 28 e e 27 RESERVED VCC 74 ee 73 NC NC 26 e e 25 GND NC 72 ee 71 NC 24 e 123 GND NC 70 e e 69 NC NC 22 e e 21 GPSOUT GND 68 e 67 NC NC 20 ee 19 NC NC 66 ee 65 GND NC 18 e e 17 NC 64 ee 63 NC 16 e e 15 NC NC 62 e 61 NC NC 14 e 13 NC NC 60 e e 59 NC NC 12 e e 11 NC TEST 58 ee 57 NC NC 10 9 GND NC 56 ee 55 GND NC 8 ee 7 VSS_OSC NC 54 ee 53 NC 6 ee 5 VDD OSC NC 52 ee 51 NC VDD IO 4 ee 3 VDD_CORE VDD LOGIC 2 1 VSS CORE Figure 4 3 MAPI Connector P3 J3 Pin Assignments MOTOROLA Rev 2 MMCCMB1200UM D 38 User s Manual Connector Information MAPI Connectors P1 J1 P2 J2 P3 J3 P4 J4 Table 4 3 MAPI Connector P3 J3 Signal Descriptions Pin Mnemonic Signal 100 98 96 94 88 86 NC No connection 76 75 73 69 67 66 64 57 56 54 50 48 46 44 42 40 38 36 34 32 30 29 26 24 22 20 10 8 6 97 95 92 91 81 68 GND GROUND 65 55 49 43 37 35 31 25 23 9 93 45 28 27 RESERVED RESERVED 90 89 GPIO SI GENERAL PURPOSE SERIAL IN OUT
10. an MMC2001 MCU 3 1 1 Using the Picobug Debug Monitor The Picobug debug monitor comes burned into the FLASH memory device of your CMB1200 location U3 Before you start the Picobug monitor make sure that you have RS232 connection between 1200 connector J10 and a serial port of your computer To start the Picobug monitor for use as a standalone debugger 1 2 Make sure that power is not applied to your CMB1200 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 3 1 2 Picobug Sample Session From the File menu select Properties This opens a properties dialog box Click on the Configure button of the dialog box This opens a configuration dialog box Use the configuration dialog box to set the operating speed 19 200 and the correct communications port for example 1 Click the OK button of the dialog box Apply power to the CMB1200 and press the enter key The Picobug monitor starts automatically displaying the command prompt picobug gt To use the Picobug debug 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 ne1p at the command prompt MMCCMB 1200UM D Rev 2 MOTOROLA User s Ma
11. begins A Verify successful message appears at the end of verification If this is the first programming action of this FLASH programmer session the software downloads an algorithm file before verifying FLASH A progress message appears during the downloading of this algorithm file Should the software be unable to find the algorithm file an appropriate error message appears as explained under the program FLASH memory step above e f verification fails an error message specifies the location that did not have the expected contents To recover from a verification failure try programming Flash again to replace the selected download file Rev 2 MMCCMB1200UM D 28 User s Manual Operation Downloading to FLASH Memory NOTE Another possible cause of verification failure is that the link control file of user code specifies SRAM not FLASH as the download destination You must correct such a problem in the user code 10 erase FLASH memory click on the Erase Flash button The programmer erases all contents of the FLASH memory except for sector 0 which contains the system software Erasing takes 20 to 30 seconds If this is the first programming action of this FLASH programmer session the software downloads an algorithm file before erasing FLASH A progress message appears during the downloading of this algorithm file Should the software be unable to find the algorithm file an appropriate error message appear
12. connect the port 1 RS232 cable between CMB1200 connector J9 and the appropriate serial port of your computer If your application will use the OnCE connector connect a OnCE compatible cable between CMB1200 connector P5 and the OnCE interface device of your computer Section 4 Connector Information gives pin assignments and signal descriptions for connector P5 Make sure that your 5 volt power supply is turned off or disconnected from line power Connect the power supply s ground wire to pin 1 black of CMB1200 connector J8 Connect the power supply s power wire to pin 2 red of connector J8 If you have not already done so apply power to your computer Turn on your 5 volt power supply or connect it to line power the green LED DS5 lights to confirm that the EVB is powered Should the 055 LED not light you may need to replace the fuse at location F1 next to power connector J8 Use a BUS GMA 1 5A fuse or compatible Rev 2 MMCCMB1200UM D 18 User s Manual 5 Configuration Performing the CMB1200 Self Test This completes system connections you are ready to perform a CMB1200 self test per the instructions of 2 3 Performing the CMB1200 Self Test below You are ready to begin debugging or other development activities per the instructions of Section 3 Operation Optional For scope observation of specific 1 or interrupt signals you may use connectors P1 through P4 You may clip individual lines to the pins of
13. core operating power 2 VDD LOGIC LOGIC VOLTAGE Transmission line for 3 3 volt CMB1200 logic operating power 1 VSS CORE CORE GROUND Ground line for the MCU core MOTOROLA Rev 2 MMCCMB1200UM D 40 User s Manual MMCCMB1200UM D Rev 2 NC NC GND NC NC GND OE NC NC EB1 EBO NC GND NC NC NC NC NC A20 A18 A16 GND A14 A12 A10 100 98 96 94 92 90 88 86 84 82 80 78 76 74 72 70 68 66 64 62 60 58 56 54 52 99 97 95 93 91 89 87 85 83 81 79 77 75 73 71 69 67 65 63 61 59 57 55 53 51 NC GND CLKOUT GND CS3 CS2 CS1 CS0 GND R W NC NC GND NC NC NC NC NC A21 A19 A17 GND A15 A13 A11 Connector Information MAPI Connectors P1 J1 P2 J2 P3 J3 P4 J4 A8 A6 A4 A2 0 GND NC NC NC NC NC GND NC NC NC D14 D12 GND D10 D8 D6 D4 D2 DO NC 50 48 46 44 42 40 38 36 34 32 30 28 26 24 22 20 18 16 14 49 47 45 43 41 39 37 35 33 81 29 27 25 23 21 19 17 15 13 11 ON A9 A7 A5 A3 A1 GND NC NC NC NC NC GND NC NC NC D15 D13 GND D11 D9 D7 D5 D3 D1 NC Figure 4 4 MAPI Connector P4 J4 Pin Assignments MOTOROLA User s Manual 41 Connector Information Table 4 4 MAPI Connector P4 J4 Signal Descriptions Pin Mnemonic Signal 100 98 94 92 86 NC No connection 84 79 77 74 65 38 29
14. vector in the external chip select 0 device usually the FLASH memory w9 MOD Alternatively you can select the vector in MCU internal ROM To do so remove the jumper from header W9 MOTOROLA Rev 2 MMCCMB1200UM D 16 User s Manual Configuration Setting Jumper Headers 2 1 4 Setting the Serial Port Enable Header W14 Jumper header W14 connects or disconnects serial port UART signals from RS232 transceivers The diagram below shows the factory configuration the seven fabricated jumpers in positions A through G connect the UART signals Fabricated jumpers Table 2 2 lists the serial port signals that correspond to each W14 jumper position To disconnect a signal making it available for other use remove the corresponding jumper Table 2 1 shows such a possible configuration jumpers removed from positions C and disconnecting the port 0 signals Table 2 2 W14 Jumper Signals RXD1 Receive data port 1 UART Signal Jumper Position TXDO Transmit data port 0 A CTSO Clear to send port 0 B TXD1 Transmit data port 1 C RXDO Receive data port 0 D RTSO Reagy to send port 0 E F G Transceiver Standby NOTES 1 Removing the jumper from position G disables RS232 driver and receiver outputs by putting them in a high impedance state Table 2 1 shows an example of such a con figuration To make sure that UART signals of other positions are connecte
15. 26 21 2 1 97 96 93 90 83 76 GND GROUND 75 58 57 40 39 28 27 16 15 95 CLKOUT CLOCK OUTPUT An external clock source LO REFCLK or HI REFCLK 91 89 87 85 53 50 SELECTS lines 3 0 Output lines that provide chip selects to external devices Note that CS3 is active high but the others are active low 88 OE OUTPUT ENABLE Active low signal that indicates that a bus access is a read access enables slave devices to drive the data bus 82 80 EB1 EBO ENABLE BYTES 1 0 Active low outputs active during an operation to corresponding data bits 07 00 for enable byte 1 D15 D8 for enable byte 0 You can configure these bytes to assert for write cycles or for both read and write cycles 81 R W READ WRITE ENABLE Active low signal that indicates whether the current bus access is a read access or write access 64 59 56 41 A20 21 ADDRESS BUS lines 21 0 Output lines for addressing external A18 A19 devices These lines change state only during external memory A16 A17 accesses A14 A15 A12 A13 A10 A11 8 A9 A6 AT A4 A5 A2 0 A1 20 17 14 3 014 015 DATA BUS lines 15 0 Bidirectional data lines for accessing D12 D13 external memory A hardware reset or no external bus activity holds D10 D11 D8 these lines in their previous logic state D9 D6 D7 D4 D5 D2 D3 DO D1 MOTOROLA Rev 2 MMCCMB1200UM D 42 User s Manual Connector Info
16. 8888 3 20888818 20888828 20888838 20888888 20888858 20888868 20888078 20808088 20088090 Figure 3 3 Memory Contents Display If this is the first programming action of this FLASH programmer session the software downloads an algorithm file before displaying FLASH contents A progress message appears during the downloading of this algorithm file Should the software be unable to find the algorithm file an appropriate error message appears as explained under the program FLASH memory step above 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 vertical or horizontal scroll bars e Use the Mode 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 Atthe end of your programming session click on the Exit button MOTOROLA Rev 2 MMCCMB1200UM D 30 User s Manual Operation Controlling CMB1200 LEDs 3 2 2 Restoring System Software If you must overwrite FLASH device sector 0 you subsequently may use the FLASH programmer to restore Picobug and other factory software to sector 0 To do so select the RS232 Mbug monitor communications protocol Then click on the Restore System Software button fthe system software is in your current hard disk directory
17. ART channel 0 clear to send signal 67 RTSO REQUEST TO SEND 0 Active low input that can be programmed as the UART channel 0 request to send signal 27 SPI GP SPI GENERAL PURPOSE OUTPUT Serial peripheral interface module output line a control line for external logic or devices 26 SPI CLK SPI SERIAL CLOCK Serial shift clock line for the serial peripheral interface module 25 SPI EN SPI ENABLE In master mode the peripheral chip select line In slave mode the slave enable line 24 SPI MOSI SPI DATA MASTER OUT SLAVE IN In master mode serial data output line from the serial peripheral interface module of the MCU In slave mode serial data input line to the serial peripheral interface 23 SPI MISO SPI DATA MASTER IN SLAVE OUT In master mode serial data input line to the serial peripheral interface of the MCU In slave mode serial data output line from the serial peripheral interface 10 3 ROW 6 ROW 7 ROW SENSES lines 6 7 4 5 2 3 0 1 Keypad row ROW 4 ROW 5 sense lines On chip 47KQ pull up resistors are connected ROW 2 ROW 3 to these lines the default state upon reset is general purpose ROW 0 ROW 4 input MMCCMB1200UM D Rev 2 MOTOROLA User s Manual 37 Connector Information P3 J3 NC 100 99 NC NC 98 e e 97 GND NC 50 e e 49 GND NC 96 e 95 GND NC 48 e 47 NC NC 94 ee 93 RESERVED NC 46 e e 45 RESERVED GND 92 e 91 GND NC 44 e e 43 GND
18. If low this signal indicates address decoded chip selection of SRAM bank 1 43 SRSIZO SRAM SIZE If low this signal indicates that the CMB1200 has a 256K by 16 SRAM 42 GALBO GAL BANK CHIP SELECT If low this signal indicates address decoded chip selection of SRAM bank 0 38 36 35 33 INT 6 INT 4 EXTERNAL INTERRUPTS lines 6 4 7 5 2 3 0 1 Bidirectional 29 INT 7 INT 5 interrupt lines that form the external interface to the general purpose INT 2 INT module INT 0 INT 1 9 3 1 COL 7 COL 6 COLUMN STROBES lines 7 0 Keypad column strobe lines COL 1 COL open drain selectable via software Default state upon reset is 0 general purpose input MMCCMB1200UM D Rev 2 MOTOROLA User s Manual 35 Connector Information MOTOROLA GND GND GND GND GND GND GND GND GND NC NC NC NC NC NC RXD1 CTS0 RXDO GND NC NC NC NC NC NC 100 98 96 94 92 90 88 86 84 82 80 78 76 74 72 70 68 66 64 62 60 58 56 54 52 P2 J2 e e 99 e o 97 e o 095 e e 93 e e 91 e e 89 e o 87 e 85 e 83 e e 81 e e 79 e 77 e o 75 e 73 e e 71 e e 69 e o 67 e e 65 e e 63 e e 61 e e 59 e 57 e e 55 e e 53 e e 51 Figure 4 2 GND PWM 5 PWM 4 PWM 3 PWM 2 PWM 1 PWM 0 GND GND NC VCC NC NC NC NC TXD1 RTSO TXDO GND NC NC NC NC NC NC NC NC GND NC NC NC NC GND NC NC
19. NC NC NC NC NC NC GND NC NC NC NC NC NC NC NC NC NC NC GFLCS GND GALB1 GALBO GND INT 6 INT 4 GND INT 2 INTO GND GND NC NC NC NC NC NC GND GND COL 6 COL 4 COL 2 GND 50 48 46 44 42 e 49 e 47 e 45 e 43 e 41 e 39 e 37 e 35 e 33 e 31 e 29 e 27 25 23 e 21 e 19 e 17 e 15 e 13 e 11 9 e 7 5 e 3 1 NC SRSIZ2 SRSIZ1 SRSIZO GND NC NC INT 7 INT 5 INT 3 INT 1 NC NC NC NC NC NC GND NC NC COL 7 COL 5 COL 3 COL 1 COL 0 Figure 4 1 MAPI Connector P1 J1 Pin Assignments Rev 2 MMCCMB1200UM D 34 User s Manual Connector Information MAPI Connectors P1 J1 P2 J2 P3 J3 P4 J4 Table 4 1 MAPI Connector P1 J1 Signal Descriptions Pin Mnemonic Signal 100 93 91 NC No connection 88 75 73 72 70 59 57 53 51 49 39 37 27 25 16 14 13 11 92 89 74 71 GND GROUND 58 52 46 41 40 34 28 26 15 12 10 2 90 VCC OPERATING VOLTAGE Transmission line for 5 volt CMB1200 input power 48 GFLCS GAL FLASH CHIP SELECT If low this signal indicates address decoded chip selection of FLASH 47 SRSIZ2 SRAM SIZE If low this signal indicates that the CMB1200 has a 64K by 16 SRAM 45 SRSIZ1 SRAM SIZE If low this signal indicates that the CMB1200 has a 128K by 16 SRAM 44 GALB1 GAL BANK CHIP SELECT
20. ables or disables the serial ports and also configures the CMB1200 for its self test Jumper header W19 applies 3 3 or 2 0 volts to the core power plane 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 CMB1200 are J1 through J4 Connector P5 is the OnCE connector Connector J8 is the power connector Connectors J9 and J10 are the RS232 serial communication connectors Switch S1 is the reset switch Location F1 is for the CMB1200 fuse Yellow LEDs STO through ST3 light to confirm that the CMB1200 passed its self test User programs also can control these LEDs Green LED DS5 lights to confirm that the CMB1200 is receiving 5 volt input power The MMC2001 resident MCU is at location U7 SRAM memory devices are at locations U1 and U3 The FLASH memory device is at location U2 Rev 2 MMCCMB1200UM D 10 User s Manual Introduction CMB1200 Layout Figure 1 1 MMCCMB1200 Computer and Memory Board Table 1 1 lists CMB1200 specifications Table 1 1 MMCCMB1200 Controller and Memory Board Specifications Characteristic Specifications MCU extension ports HCMOS compatible Operating temperature 0 to 40 Storage temperature 40 to 85 C Relative humidity 0 to 90 non condensing Clock 32 MHz 5 volts dc at 250 milliamperes provided from a separate power source Dimensions 5 75 x 6 0 inches 146
21. actory setting W14 SP A D E F G 3 Connects port 0 serial port signals disconnects port 1 serial port signals W14 SP A C D E F G 3 Disables RS232 drivers and receivers but maintains UART signal connections to RS232 transceivers W14 SP D E F G 3 Disconnects all serial port signals W14 SP A D E F G 3 Configures the CMB1200 self test MOTOROLA Rev 2 MMCCMB1200UM D 14 User s Manual Configuration Setting Jumper Headers Table 2 1 Jumper Header Positions Continued Header Core Voltage W19 Position Effect CORE Applies 3 volts to the core power plane uA Factory setting 2 1 CORE W19 H 1 Applies 2 volts to the core power plane 2 1 1 Setting the SRAM FLASH Chip Select Header W1 NOTE MMCCMB1200UM D Rev 2 Jumper header W1 selects chip selects using the generic array logic GAL address decoder The diagram below shows the factory configuration the fabricated jumper at position B specifies that chip select O controls the FLASH memory the fabricated jumper at position C specifies that chip select 1 controls the SRAM W1 SRAM FLASH 1 2 3 Fabricated jumpers Alternatively you can select any other chip select to
22. akpoints enter the Breakpoint br command without any address value picobug br The system responds with the addresses of breakpoints in this case only the breakpoint set in step 8 3000025C Rev 2 MMCCMB1200UM D 24 User s Manual Operation Debugging Embedded Code 10 To start program execution enter the Go g command picobug gt 0 In this instance the breakpoint set during step 8 stops code execution The system responds with this new display of register values At breakpoint 3000025c epc 3000025c fpc 001023000 psr 80000100 epsr 80000100 fpsr 00020000 550 554 badObeef 20000c00 20008000 20010042 00000801 vbr 30005c00 r0 r7 300027 8 00000050 0000ea60 d898f69ab 30005f20 80000000 00000200 00000040 r8 ri5 0010 000 30006658 30006747 30006948 30006714 30006708 10005010 300002a2 11 Toremove 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 br As there are no longer any breakpoints the system responds with the Picobug prompt picobug 13 Tocontinue with this example session enter another appropriate command For example to resume program execution enter the Go g command 14 To end your Picobug session remove pow
23. control the SRAM then select any of the remaining three chip selects to control the FLASH For example to have chip select 2 control the SRAM put the fabricated jumper at W1 position E Then select chip select 0 1 or 3 to control the FLASH by putting the second fabricated jumper at position B D or H respectively 2 4 Memory Maps explains the memory map address range for each chip select Use only two jumpers in header W1 one in position A C E G and the second in one of the three remaining positions of B D F or H MOTOROLA User s Manual 15 Configuration 2 1 2 Setting the FLASH Byte Word Select Headers W3 W6 Jumper headers W3 and W6 determine whether the CMB1200 uses FLASH in word or byte mode The diagram below shows the factory configuration the fabricated jumper at W3 position B and no fabricated jumper in header W6 configures word mode Fabricated BA jumper W3 3 1 WORD BYTE W6 1 BYTE To configure byte mode for the FLASH Reposition the W3 jumper to position A and e Puta jumper in header W6 NOTE Do notput the W3 jumper in position A unless you also put a jumper in header W6 Do not put a jumper in header W6 if you put the W3 jumper in position B 2 1 3 Setting the Startup Vector Select Header W9 Jumper header W9 selects the startup vector that the MCU uses upon power up The diagram below shows the factory configuration the fabricated jumper installed in this header selects the
24. ct 0 to control the this header B FLASH E Factory setting G 10 11 12 wi Uses the U6 GAL address decode circuit SRAMFEASH configures chip select 2 to control the SRAM and chip select 3 to control the FLASH Another of many possible E configurations G 10 11 12 wi Uses the U6 GAL address decode circuit SRAM FLASH configures chip select 0 to control the SRAM and chip select 2 to control the FLASH Another of many possible configurations FLASH Byte Word Select W3 W6 BA WORD BYTE w e e BYTE Configures word mode for FLASH Factory setting MMCCMB 1200UM D Rev 2 MOTOROLA User s Manual 13 Configuration Table 2 1 Jumper Header Positions Continued Header Position Effect FLASH Byte Word BA Configures byte mode for FLASH Select W3 W6 1 continued WORD BYTE Startup Vector Select W9 w9 MOD Upon power up selects the startup vector from the lowest address of the external chip select 0 device Usually this is FLASH memory Correct configuration for CMB1200 self test Factory setting Upon power up selects the startup vector from the lowest address of MCU internal ROM Invokes the Mbug debugger Also the correct setting for the FLASH programmer Serial Port Enable W14 Connects all serial port UART signals to RS232 transceivers F
25. ctor P3 J3 Pin Assignments 38 Figure 4 4 Connector P4 J4 Pin Assignments 41 Figure 4 5 OnCE Connector Pin 43 MMCCMB1200UM D Rev 2 MOTOROLA User s Manual 5 List of Figures MOTOROLA Rev 2 MMCCMB1200UM D 6 User s Manual List of Tables Table 1 1 1200 Controller and Memory Board Specifications 11 Table 2 1 Jumper Header Positions 13 Table 2 2 W14 Jumper Signals 17 Table 2 5 MMC2001 Address Decoded Memory 20 Table 3 1 Picobug Commands 22 Table 3 2 LED Registers and 00 31 Table 4 1 MAPI Connector P1 J1 Signal Descriptions 35 Table 4 2 MAPI Connector P2 J2 Signal Descriptions 37 Table 4 3 Connector P3 J3 Signal Descriptions 39 Table 4 4 MAPI Connector P4 J4 Signal Descriptions 42 Table 4 5 OnCE Connector P5 Signal Descriptions 43 MMCCMB1200UM D Rev 2 MOTOROLA User s Manual 7 List of Tables MOTOROLA Rev 2 MMCCMB1200UM D 8 User s Manual Section 1 Introduction This user s manual explains connection configuration and operation information for the MMCCMB1200 Computer and Memory Board CMB1200 a development tool of Motorola s family As a standalon
26. d to active RS232 transceivers make sure that a jumper is in position G NOTE configure CMB1200 self test remove the jumpers from W14 positions C and D then insert one of the jumpers turned 90 degrees so that the jumper connects W14 pins 5 and 7 At the end of the self test restore W14 to its correct configuration for operation MMCCMB1200UM D Rev 2 MOTOROLA User s Manual 17 Configuration 2 1 5 Setting the Core Voltage Header W19 NOTE Jumper header W19 applies 3 3 or 2 0 volts to the core power plane The diagram below shows the factory configuration the fabricated jumper installed in position A applies 3 3 volts to the core power plane CORE W19 B Fabricated jumper 1 Alternatively you can apply 2 volts to the power plane To do so move the jumper to W19 position B Removing the jumper from header W19 removes power from the power plane so usually is not appropriate An exception would be temporarily replacing the jumper with an ammeter to measure the current 2 2 Making Computer System Connections MOTOROLA When you have configured your CMB1200 you are ready to connect it to your computer system 1 If you will use the Picobug GNU debug monitor software the Motorola FLASH programmer or another application that needs RS232 connection to port 0 connect an RS232 cable between CMB1200 connector J10 and the appropriate serial port of your computer If your application will use port 1
27. demarks of Motorola Inc Motorola Inc 1998 1999 MMCCMB1200UM D 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 ANSI EOS ESD 54 1 All handling of these boards must be in accordance with ANSI EAI 625 MOTOROLA Rev 2 MMCCMB1200UM D 2 User s Manual Table of Contents Section 1 Introduction 1 1 CMB1200 9 1 2 System and User 10 1 37 SOMBI20D ESyDUE IURE eh as 10 tA Foot Placement 2202524 EA AA ad 12 Section 2 Configuration 2 1 Setting Jumper Fleddels cores eiu sew are LES REA EID 13 2 1 1 Setting the SRAM FLASH Chip Select Header W1 15 2 1 2 Setting the FLASH Byte Word Select Headers W3 W6 16 2 1 3 Setting the Startup Vector Select Header W9 16 2 1 4 Setting the Serial Port Enable Header 14 17 2 1 5 Setting the Core Voltage Header 19 18 2 2 Making Computer System 18 2 3 Performing the CMB1200 19 24 Memory
28. e Protocol field to specify the communications protocol e If your computer connects to the CMB1200 through a serial port and the CMB1200 system software is intact specify RS232 Picobug monitor Figure 3 2 illustrates this selection Communications Protocol 5232 Mbug monitor R5232 Mbug monitor R5232 Picobug monitor Port Figure 3 2 Picobug Protocol Selection e If your computer connects to the CMB1200 OnCE connector through an EBDI box specify ESL e If your computer connects to the CMB1200 through a serial port but the CMB1200 system software has been deleted specify RS232 Mbug monitor NOTE f you select the RS232 Mbug monitor protocol a prompt tells you to remove the W9 jumper and reset the CMB1200 Even if you just have reset the CMB1200 you must reset it again after removing the W9 jumper You may set the protocol port and speed only once during each programmer session To make another change in any Communications area setting you must exit then restart the FLASH programmer MMCCMB1200UM D Rev 2 MOTOROLA User s Manual 27 7 Goto the CMB1200 field near the lower center of the main screen Make sure that the field specifies CMB1200 Make sure that the Download Algorithm box is checked This completes the programmer setup You are ready for the programming actions that correspond to the buttons along the right edge of the main screen To program FLASH
29. e and most peripherals This signal does not affect the debug module which the system provides via the TRST line 74 VCC OPERATING VOLTAGE Transmission line for 5 volt CMB1200 input power 58 TEST FACTORY TEST MODE Input signal that selects factory test mode The TEST pin has an internal 100k pulldown resistor MMCCMB1200UM D Rev 2 MOTOROLA User s Manual 39 Connector Information Table 4 3 MAPI Connector P3 J3 Signal Descriptions Continued Pin Mnemonic Signal 41 MOD INITIAL VECTOR SELECT If high selects the initial reset vector from the lowest address of internal ROM If low selects the initial reset vector from the lowest address of chip select 0 then jumps to that address 39 LVRSTIN LOW VOLTAGE RESET IN Active low input signal that starts System reset a reset of the PowerStrike chip and most peripherals This signal also selects the backup power supply source for the RAM array and for the OSC time of day timer This signal does not affect the debug module which the system provides via the TRST line 7 VSS OSC OSCILLATOR GROUND Ground line for the MCU oscillator 5 VDD OSC OSCILLATOR VOLTAGE Transmission line for 3 3 volt MCU oscillator operating power 4 VDD_IO VOLTAGE Transmission line for 3 3 volt MCU I O operating power 3 VDD CORE CORE VOLTAGE Transmission line for 3 3 volt or alternate 2 0 volt MCU
30. e tool the CMB1200 lets you use the Picobug debug monitor through an RS232 connection to your computer In conjunction with the Picobug monitor you may use the GNU source level debugger The CMB1200 also has a connector enabling you to use a debugging application that requires one Motorola s FLASH programmer lets you download your code into the CMB1200 s SRAM for execution or FLASH memory for execution or for storage in non volatile memory Should your application overwrite factory programming in the FLASH memory device you can use the FLASH programmer to restore the factory programming The CMB1200 will combine easily with other optional development boards from Motorola Such optional boards will expand CMB1200 capacity enhance CMB1200 performance or add to CMB1200 features 1 1 CMB1200 Features The CMB1200 features e 512K by 16 FLASH memory at 90 nanoseconds Two 256K by 16 SRAM memories at 12 nanoseconds Two power regulators 3 3 volts and 2 0 volts Power supply that converts line power to 5 volt power Two RS232 channels for serial communications These channels use internal universal asynchronous receiver transmitters UARTS AOnCE connector AMAPI 400 connector interface ring on the top and bottom of the 1200 for easy connection to other compatible development boards Address decoding via a 16V8 generic array logic GAL device Jumper headers for such configuration items a
31. er from the EVB 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 CMB1200 This GNU software works with the Picobug debug monitor to provide source level debugging for your code The CMB1200 software release guide gives the instructions for loading the GNU software and for making any connections different from standalone Picobug connections MMCCMB1200UM D Rev 2 MOTOROLA User s Manual 25 3 2 Downloading to FLASH Memory Motorola s FLASH programmer lets you program your code into FLASH memory verify that FLASH contents match those of a download file display the contents of FLASH memory erase FLASH memory or erase a sector of FLASH memory 3 2 1 Using the FLASH Programmer Follow these steps to use the programmer 1 Ifyou have not already installed the FLASH programmer onto your computer hard disk do so The CMB1200 product release guide includes installation instructions 2 Reset the CMB1200 by pressing switch S1 3 Start the FLASH programmer The main screen Figure 3 1 appears Motorola Flash Programmer v2 1 ES File Documents Drop BosMest foldersbist elf Brows Flash 7 2 Verify Type 0291 800 Bus Width 116 Erase Flash Base Address 024000000 Size 1MB Erase Sector Communications Protocol R5232 Picobug monil y CMB cme1200 Display Port Speed Dow
32. lue specifies the format b bytes the default n half words w words or i instructions mm address value Modify Memory size e With optional value parameter value assigns that value to the address location e Without any value parameter value prompts for a value for the address location then prompts for a new value for the next location To stop modification enter a period instead of a new value e The optional size value specifies the format b bytes the default n half words w words or i instructions nobr address No Breakpoint With optional address value removes the breakpoint from that address e Without any address value removes all the breakpoints reset Reset Resets the CPU and peripherals rd name Register Display With optional name value displays the value of that CPU register e 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 MOTOROLA Rev 2 MMCCMB1200UM D 22 User s Manual Operation Debugging Embedded Code 3 1 2 Picobug Sample Session 1 This sample session begins with the Picobug prompt picobug 2 Toseethe contents of all registers enter the Register Display
33. memory click on the Program button The software downloads the file you specified displaying a progress message A Download successful message appears at the end of downloading you are ready to use the code in FLASH memory If this is the first programming action of this FLASH programmer session the software downloads an algorithm file before downloading the file you specified A progress message appears during the downloading of this algorithm file e 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 programming 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 Program button NOTE Another possible cause of validation failure is that the link control file of user code specifies SRAM not FLASH as the download destination You must correct such a problem in the user code MOTOROLA 9 To verify that the contents of Flash memory match the selected download file click on the Verify button A progress message appears as verification
34. nload Algorithm Restore System Software com 19200 bps Figure 3 1 FLASH Programmer Main Screen NOTE Figure 3 1 shows field values appropriate for using the FLASH programmer with a CMB1200 in standalone mode Except as explained in the instructions below selecting different values for these fields could cause errors 4 Go to the File field at the upper left of the main screen e f you know the full pathname of the file to be programmed enter the pathname in this field MOTOROLA Rev 2 MMCCMB1200UM D 26 User s Manual Operation Downloading to FLASH Memory 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 field 5 Use the Flash area of the main screen to configure the FLASH type bus width and size In the Base Address field enter the FLASH starting address for the chip select you configured via jumper header W1 e For chip select 0 enter base address 0x2d000000 Forchip select 1 enter base address 0 21000000 Forchip select 2 enter base address 0x2e000000 Forchip select 3 enter base address 0x2c000000 6 Inthe Communications area of the main screen use the Port field to specify the PC serial port and use the Speed field to specify the communications rate 19200 bps Use th
35. nual 21 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 With optional address value starts code execution from that address e 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 lo address Download e With optional address value downloads a binary image to that address SRAM Without any address value downloads to SRAM an S record text file md address1 address2 Memory Display size Displays memory contents from the address1 value to the address2 value optional size value specifies the format b bytes the default h half words w words or i instructions mds address size Memory Display Displays 256 bytes of memory contents beginning at the address value The optional size va
36. put signal acknowledges debug mode entry to the external command controller 13 GPIO SO GENERAL PURPOSE SERIAL OUT General purpose output line from the OnCE controller 14 TRST TEST RESET Active low input line for an external reset signal to the OnCE controller MMCCMB1200UM D Rev 2 MOTOROLA User s Manual 43 Connector Information MOTOROLA Rev 2 MMCCMB1200UM D 44 User s Manual CMB1200 foot placement 12 layout 10 11 computer system connections 18 19 configuration 13 20 connections computer system 18 19 connector pin assignments connectors P1 J1 P4 J4 34 36 38 41 OnCE connector P5 43 connector signal descriptions connectors P1 J1 P4 J4 35 37 39 42 OnCE connector P5 43 controlling LEDs 31 32 core voltage jumper header W19 18 D debugging embedded code 21 25 F features 9 10 FLASH byte word select jumper headers W3 W6 16 FLASH programmer restoring system software 31 steps 26 30 foot placement 12 introduction 9 12 J jumper headers positions 13 15 setting 13 18 L layout CMB1200 11 LEDs controlling 32 M memory maps 20 O operation 21 32 P Picobug debug monitor commands 22 sample session 23 25 MMCCMB1200UM D Rev 2 Index using 21 23 pin assignments MAPI connectors P1 J1 P4 J4 34 36 38 41 OnCE connector P5 43 positions jumper headers 13 15 R requirements system user 10 restoring system software 31 S
37. r header W1 determines which chip selects are active Table 2 3 lists the memory map starting and ending addresses for all such possibilities bold type indicates the factory configuration Table 2 3 MMC2001 Address Decoded Memory Map Select Address Address W1Position Resource CS0 0x2D00_0000 0x2D0F_FFFF A SRAM 0x2D00_0000 0x2D0F_FFFF B FLASH CS1 Ox2F00 0000 Ox2FOF FFFF C SRAM 0x2F00_0000 Ox2FOF FFFF D FLASH CS2 0 2 0 0000 0 2 FFFF E SRAM 0 2 00 0000 0 2 FFFF F FLASH CS3 0x2C00_0000 0x2C0F_FFFF G SRAM 0x2C00_0000 0x2C0F_FFFF H FLASH As the table shows the factory configuration for jumper header W1 Puts FLASH memory into the chip select 0 memory space addresses 0x2D00_0000 through 0x2D0F_FFFF and Puts SRAM memory into the chip select 1 memory space addresses 0x2F00_0000 through 0x2F0F_FFFF MOTOROLA Rev 2 MMCCMB1200UM D 20 User s Manual Section 3 Operation This chapter explains how to begin using debugging tools available for your 1 200 Controller and Memory Board as well as how to use Motorola s FLASH programmer 3 1 Debugging Embedded Code With your CMB1200 you may use the Picobug debug monitor as standalone software Optionally you may use the GNU source level debugger with the Picobug monitor Other firms may produce additional software to run test and modify the code you develop for embedding in
38. rmat enter the pc 3000022a psr 80000000 550 554 bad0beef r0 r7 bad0beef r8 r15 00102000 8 MOTOROLA Download lo command without any address value picobug 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 When the file select dialog box disappears press the Enter key of your keyboard Pressing the keyboard Enter key adds a necessary line feed character to the end of the S record file As soon as the download is complete this may take several minutes the Picobug prompt reappears picobug To see the new contents of registers enter the Register Display rd command again without any name value picobug rd The system responds with an updated display which shows that the pc register value reflects the start of the program just downloaded epc 2400108 fpc 001023000 epsr 80070101 fpsr 00020000 20000c00 20008000 20010042 00000801 vbr 30005c00 00000050 00000000 d89f69ab 30005220 80000000 00000200 00000024 300066b8 30006747 30006948 30006714 30006708 300067c8 2d0001c4 To set a breakpoint at address 0x3000025C enter this address as part of the Breakpoint br command picobug br 0x3000025c The Picobug prompt reappears confirming that the system set the breakpoint picobug To see the list of bre
39. rmation OnCE Connector P5 4 2 OnCE Connector P5 Connector P5 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 P5 TDI 1 2 GND TDO 3 e 4 GND TCK 5 e 6 GND GPIO SI 7 e 8 NC RSTIN 9 e 10 TMS VDD IO 11 e e 12 DE GPIO SO 13 e o 14 Figure 4 5 OnCE Connector P5 Pin Assignments Table 4 5 OnCE Connector P5 Signal Descriptions Pin Mnemonic Signal 1 TDI DEBUG SERIAL INPUT Data and command input line to the OnCE controller 2 4 6 GND GROUND 3 TDO DEBUG SERIAL OUTPUT Serial data output line from the OnCE controller 5 DEBUG SERIAL CLOCK Serial clock input line to the OnCE control block 7 GPIO SI GENERAL PURPOSE I O SERIAL IN General purpose input line to the OnCE controller 8 NC No connection 9 RSTIN RESET IN Active low input line to the OnCE controller signalling a reset 10 TMS DEBUG MODE SELECT Input signal that tells the OnCE control block to advance one mode state of the cycle of mode states 11 VDD OPERATING VOLTAGE Transmission line for 3 3 volt MCU operating power 12 DE 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 out
40. s as explained under the program FLASH memory step above 11 To erase a sector of FLASH memory click on the Erase Sector button This brings up the Flash Sector Number dialog box Enter the number of the sector to be erased then click on the OK button If this is the first programming action of this FLASH programmer session the software downloads an algorithm file before erasing the FLASH sector A progress message appears during the downloading of this algorithm file Should the software be unable to find the algorithm file an appropriate error message appears as explained under the program FLASH memory step above e Ifyou specify sector 0 a message reminds you that the system software is in this section Buttons of the message box let you cancel the erasure or proceed with the erasure NOTE The target FLASH has 16 sectors 0 through 15 each of 64 kilobytes Do not erase sector 0 which contains system software unless it is absolutely necessary If you must erase sector 0 you subsequently can restore factory programming by clicking on the Restore System Software button 3 2 2 Restoring System Software gives additional information about restoring sector 0 12 To view the contents of Flash memory click on the Display button This brings up the Memory Contents display Figure 3 3 MMCCMB1200UM D Rev 2 MOTOROLA User s Manual 29 Motorola Flash Programmer Display Memory Address 5111 Hode Byte 2088
41. s power select SRAM and address decode and byte word FLASH configuration Motorola s FLASH programmer e Picobug debug monitor and GNU source level debugger from the Free Software Foundation MMCPFB1200UM D Rev 2 MOTOROLA User s Manual 9 Introduction e Ability to use debugging software from one or more other manufacturers An example is SingleStep debugging software from Software Development Systems 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 CMB1200 you should be an experienced C or MM CORE assembly programmer Your CMB1200 requires 5 volt 0 25 volt input power at 250 milliamperes power supply that comes with your CMB1200 provides 5 volts from line power 1 3 CMB1200 Layout MOTOROLA Figure 1 1 shows the layout of the CMB1200 Jumper header W1 configures the SRAM and FLASH memory chip selects which use generic array logic GAL address decoding Jumper headers W3 and W6 configure byte or word mode for FLASH memory Jumper header W9 selects the startup vector Jumper header W14 en
42. self test performing 19 serial port enable jumper header W14 17 setting jumper headers core voltage W19 18 FLASH byte word select W3 W6 16 positions 13 15 serial port enable W14 17 SRAM FLASH chip select W1 15 startup vector select W9 16 signal descriptions MAPI connectors P1 J1 P4 J4 35 37 39 42 OnCE connector P5 43 specifications 11 SRAM FLASH chip select jumper header W1 15 startup vector jumper header W9 16 system requirements 10 system software restoring 31 U user requirements 10 MOTOROLA User s Manual 45 MOTOROLA Rev 2 MMCCMB1200UM D 46 User s Manual Revision History Revision Number Date Author Summary of Changes Original 1998 MTC Original document P ii New ESD protection caution Pp 3 7 3 14 Explanation of the new FLASH programmer replaced the original manual s explanation of earlier software P 3 Mention of the 5 volt power supply 2 May 1999 MTC DDOC Pp 20 25 Updates to FLASH programmer information including restoring system software 1 Dec 1998 DDOC MMCCMB 1200UM D Rev 2 MOTOROLA User s Manual 47 Revision History This manual is a product of the Motorola Technology Center Design Documentation team Technical writing illustration and production editing performed with Adobe Framemaker running on multiple platforms Printed by Ken Cook Inc in Milwaukee Wisconsin
43. the FLASH programmer automatically restores factory programming to FLASH sector 0 The main screen reappears to confirm successful programming e If you receive a message that the system software does not exist it may be because the software is in a different hard disk directory If so make that directory the active one and click again on the Restore System Software button The CD ROM that comes with your CMB1200 is yet another source of system software files Dev Sys MMC2001 SYSsw FLASHprog monitor elf and Sys MMC2001 SYSsw FLASHprog bist elf 3 3 Controlling CMB1200 LEDs Section 2 Configuration explained how the four yellow CMB1200 LEDs flicker and light as part of the CMB1200 self test Your own code also can control these LEDs which are connected to pins PWMO through PWMS of the microprocessor Table 3 2 lists the control register names and addresses for each LED Table 3 2 LED Registers and Addresses LED Location Register Address STO PWMO 0x10005000 511 1 0x10005008 ST2 2 0x10005010 513 0x10005018 To control an LED your code must assign appropriate values to the LED s control register Your code must 1 Assign the value 1 to the data direction bit bit 6 This makes the microprocessor pin an output pin 2 Assign the value 0 to the mode bit bit 4 This configures general purpose mode 3 Toturn the LED ON assign the value 0 to the data bit
44. x 152 mm Weight 5 0 ounces 142 g Power requirements MMCCMB1200UM D Rev 2 MOTOROLA User s Manual 11 Introduction 1 4 Foot Placement Your CMB1200 comes from the factory ready for use with other compatible development boards For standalone use however you should attach the four rubber feet to the bottom of the CMB1200 Figure 1 2 shows the correct locations Foot Foot Locations Locations Figure 1 2 Foot Locations on Bottom of CMB1200 NOTE The correct locations for the rubber feet are not the extreme corners of the CMB1200 The correct locations do not form a symmetrical pattern MOTOROLA Rev 2 MMCCMB1200UM D 12 User s Manual Section 2 Configuration This chapter explains how to configure your CMB1200 and how to hook it up to your computer system 2 1 Setting Jumper Headers Your CMB1200 has six jumper headers Table 2 1 is a summary of settings for these headers 2 1 1 Setting the SRAM FLASH Chip Select Header W1 through 2 1 5 Setting the Core Voltage Header W19 give additional information NOTE CMB1200 locations W2 W4 W5 W7 W8 W10 W11 W12 W13 W15 W16 W17 and W18 are not populated with jumper headers Table 2 1 Jumper Header Positions 10 11 12 Header Position Effect SRAM FLASH Chip wt Uses the U6 GAL address decode circuit Select W1 configures chip select 1 to control the Only 2 jumpers in SRAM and chip sele
Download Pdf Manuals
Related Search
Related Contents
TXコントローラー アクチュエータ 取扱説明書 ER-A411 ER-A421 "user manual" RF Projection Clock Model: RM939P POLERMO Projection Clock 取扱説明書 - デマンド監視装置など|ピーエルシーサービス Graco PD182092A User's Manual TRENDnet TEG-S2400I User's Manual Fisher-Price B4860 User's Manual Copyright © All rights reserved.
Failed to retrieve file