Home
MMCEVB1200PV Evaluation Board (EVB) User`s Manual
Contents
1. Revision Page Number Summary of Changes 1 0 ii ESD protection caution not in the original version of this manual 10 3 7 through Explanation of the new FLASH programmer replaced the original manual s 3 14 explanation of earlier software 20 All Entire document has been reformatted to conform to new documentation styles 2 0 9 12 13 25 26 Includes information on the new breadboard 2 0 32 36 37 Reflects changes to the FLASH programmer MMCEVB1200UM D Revision 2 MOTOROLA User s Manual For More Information On This Product Go to www freescale com 49 Freescale Semiconductor Inc This manual is a product of the Motorola MeCORE 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 MOTOROLA Revision 2 MMCEVB1200UM D 50 For More Information On This Product Go to www freescale com User s Manual
2. Spare Spare Spare Spare Spare DO DO g g o Breadboard Area o P2B P1 P2A J3 J2 J1 Figure 1 2 EVBPROTO Breadboard Connector J1 connects to EVB connector P1 via a ribbon cable This makes EVB P1 signals available at the mounting holes of the EVBPROTO P1 header pad Connector J2 connects to EVB connector P2A via a ribbon cable This makes EVB P2A signals available at the mounting holes of the EVBPROTO P2A header pad Connector J3 connects to EVB connector P2B via a ribbon cable This makes EVB P2B signals available at the mounting holes of the EVBPROTO P2B header pad The main breadboard area is at the center of the board Ground GND and 5 volt power VCC5V connection points are identified at the edges of this area The seven spare pads are in three sizes e 50 mils pitch by 220 mils width e 25 6 mils pitch by 254 mils width and e 50 mils pitch by 380 mils width MOTOROLA Revision 2 MMCEVB1200UM D For More Information On This Product Users M Go to www freescale com Sers Wiehe 12 Freescale Semiconductor Inc Introduction Breadboard Layout Table 1 2 lists EVBPROTO specifications Table 1 2 EVBPROTO Breadboard Specifications Characteristic Specifications MCU extension VO ports HCMOS compatible
3. 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 VO mode 3 To turn the LED ON assign the value 0 to the data bit bit 7 or 4 To turn the LED OFF assign the value 1 to the data bit bit 7 For example this line of C code will turn ON LED DS1 unsigned short 0x10005000 0x0040 This line of code will turn OFF LED DS3 unsigned short 0x10005010 0Ox00CO MMCEVB1200UM D Revision 2 MOTOROLA For More Information On This Product User s Manual Go to www freescale com 37 Freescale Semiconductor Inc MOTOROLA Revision 2 MMCEVB1200UM D For More Information On This Product 38 Go to www freescale com User s Manual Freescale Semiconductor Inc Section 4 Connector Information This chapter consists of pin assignments and signal descriptions for EVB connectors P1 P2A P2B and P5 This chapter does not cover the standard connectors J8 J9 or J10 4 1 VO and Interrupt Connectors P1 P2A P2B Connectors P1 P2A and P2B all 2 by 20 pin connectors are the EVB I O and interrupt connectors Figure 4 1 Figure 4 2 and Figure 4 3 respectively give the pin assignments for these connectors Table 4 1 Table 4 2 and Table 4 3
4. 22 2 2 Making Computer System Connections 0 23 23 Performing the EVB Self Test vs ose EE EE be tee EED 24 2 4 Using the Breadboard Optional 00 2ee ee ee 25 25 Memory MEDE is canoe teas i ogi EE IE NE EE Boe eee 26 Section 3 Operation 3 1 Debugging Embedded Code SS SS ees 27 3 1 1 Using the Picobug Debug Monitor 2 0005 27 3 1 2 Picobug Sample Session 4 2 EE PERE ere date ea ee eS SY GO ees 29 3 1 3 Using the GNU Source Level Debugger 31 3 2 Downloading to FLASH Memory 200002 eee eee ee 32 3 2 1 Using the FLASH Programmer 0002000 cee eee 32 3 2 2 Restoring Factory Programming 00 200000 36 3 3 Controlling EVB LEDS EERS ES EE Me Ee epee 37 Section 4 Connector Information 4 1 VO and Interrupt Connectors P1 P2A P2B 39 4 2 ONCE Connector BE Eer eek EO tarde elec 46 MMCEVB1200UM D Revision 2 MOTOROLA For More Information On This Product User s Manual Go to www freescale com 3 Freescale Semiconductor Inc Table of Contents Index Revision History MOTOROLA Revision 2 MMCEVB1200UM D For More Information On This Product 4 Go to www freescale com User s Manual Freescale Semiconductor Inc List of Figures Figure 1 1 MMCEVB1200PV Evaluation Board 10 Figure 1 2 EVBPROTO Breadboard 2000e eee eae 12 Figu
5. Operating temperature 0 to 40 C Storage temperature 40 to 85 C Relative humidity 0 to 90 non condensing Power requirements 5 volts dc from an MMCEVB1200PV Dimensions 5 38 x 3 88 inches 136 x 98 mm MMCEVB1200UM D Revision 2 MOTOROLA User s Manual For More Information On This Product Go to www freescale com 13 Freescale Semiconductor Inc Introduction MOTOROLA Revision 2 MMCEVB1200UM D For More Information On This Product 14 Go to www freescale com User s Manual Freescale Semiconductor Inc Section 2 Configuration This chapter explains how to configure your EVB and how to hook it up to your computer system 2 1 Setting Jumper Headers Your EVB has seven jumper headers numbered from W2 through W14 Table 2 1 is asummary of settings for these headers 2 1 1 Setting the SRAM Bank 1 Header W2 through 2 1 6 Setting the Serial Port Enable Header W14 give additional information NOTE The EVB does not use jumper header numbers W1 W4 W5 W7 W10 W11 or W13 Table 2 1 Jumper Header Positions Header Position Effect SRAM Bank 1 Select W2 w2 SRAM 1 Only 1 jumper in this header do not use position A Selects chip select 0 to control SRAM bank 1 Selects chip select 1 to control SRAM bank 1 Factory setting Selects chip select 2 to control SRAM bank 1 BYTE FLASH By
6. 13 14 16 25 27 37 39 NC No connection INT1 INTO EXTERNAL INTERRUPTS lines 1 0 3 2 5 7 4 6 29 33 35 INT3 INT2 Bidirectional interrupt lines that form the external interface to 36 38 INT5 INT7 the general purpose I O module Except for INT3 all are INT4 INT6 active low MMCEVB1200UM D Revision 2 MOTOROLA User s Manual For More Information On This Product Go to www freescale com 41 Connector Information Freescale Semiconductor Inc GND ROW 1 ROW 3 ROW 5 ROW 7 NC NC GND GND NC NC SPI_MISO SPI_EN SPI GP NC NC GND NC NC NC P2A OAN 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 NC ROW 0 ROW 2 ROW 4 ROW 6 NC NC NC GND NC NC SPI_MOSI SPI_CLK NC NC NC NC GND NC NC Figure 4 2 Connector P2A Pin Assignments NOTE The same signal assignments apply to the P2A header pad of the EVBPROTO breadboard provided that a ribbon cable runs between breadboard connector J2 and EVB connector P2A The red striped wire of the cable must be at the pin 1 pin 2 ends of both connectors MOTOROLA Revision 2 MMCEVB1200UM D 42 For More Information On This Product Go to www freescale com User s Manual Freescale Semiconductor Inc Connector Information VO and Interrupt Connectors P1 P2A P2B Table 4 2 Connector P2A Signal Descriptions Pin M
7. 39 P2B OAN 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 NC GND RDXO CTSO RDX1 NC NC NC NC NC NC GND GND GND GND GND GND GND GND GND Figure 4 3 Connector P2B Pin Assignments NOTE The same signal assignments apply to the P2B header pad of the EVBPROTO breadboard provided that a ribbon cable runs between breadboard connector J3 and EVB connector P2B The unstriped wire of the cable must be at the pin 39 pin 40 ends of both connectors That is for EVB connector P2B the unstriped wire of the cable must be at the end with the silkscreen markings 99 and MOTOROLA 100 Revision 2 MMCEVB1200UM D 44 For More Information On This Product Go to www freescale com User s Manual Freescale Semiconductor Inc oe EA VO and Interrupt Connectors P1 P2A P2B Table 4 3 Connector P2B Signal Descriptions Pin Mnemonic Signal 1 2 11 18 20 22 NC No connection 3 4 23 26 28 30 32 34 36 38 40 AOR GROUND 5 9 TXDO TXD1 TRANSMIT DATA lines 0 1 Output data transmission lines for UART channels 0 and 1 RECEIVE DATA lines 0 1 Input data receive lines for UART onl FO DI channels 0 and 1 7 RTSO REQUEST TO SEND 0 F Active low input line that can be programmed as the request to send signal for UART channel 0 8 CTS0 CLEAR TO SEND 0 Active low output line that can be programmed as the clear to send signal for
8. Operation Downloading to FLASH Memory 4 Goto the File field at the upper left of the main screen 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 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 W12 e For chip select 0 enter base address 0x2d000000 e For chip select 1 enter base address 0x2f000000 e For chip select 2 enter base address 0x2e000000 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 the Protocol field to specify the communications protocol e If your computer connects to the EVB through a serial port and the EVB system software is intact specify RS232 Picobug monitor Figure 3 2 illustrates this selection Communications Protocol R5232 Mbug monitor 7 ESL R5232 Mbug monitor R5232 Picobug monitor Port Figure 3 2 Picobug Protocol Selection e If your computer connects to the EVB OnCE
9. OK button of the dialog box 6 The Picobug monitor starts automatically as soon as you apply power to the EVB Note 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 help at the command prompt MMCEVB1200UM D Revision 2 MOTOROLA For More Information On This Product User s Manual Go to www freescale com 27 Freescale Semiconductor Inc 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 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
10. P2A P2B 40 42 44 OnCE P5 46 debug monitor Picobug 27 31 programming steps FLASH programmer 32 36 debugger GNU source level 31 debugging embedded code 27 32 R E requirements system user 10 restoring factory programming 36 37 EVB features 9 10 S layout 10 11 self test 24 sample session Picobug debugger 29 31 specifications 11 self test 24 serial port enable jumper header W14 22 F setting jumper headers FLASH byte word select W3 W6 19 features 9 10 FLASH chip select W12 21 FLASH byte word select jumper headers W3 W6 19 positions 15 18 FLASH chip select jumper header W12 21 serial port enable W14 22 FLASH programmer SRAM bank 0 W8 20 programming steps 32 37 SRAM bank 1 W2 18 restoring factory programming 36 37 startup vector select W9 20 signal descriptions G I O interrupt P1 P2A P2B 41 43 45 OnCE P5 46 GNU source level debugger 31 specifications breadboard 13 l EVB 11 SRAM bank 0 jumper header W8 20 introduction 9 13 SRAM bank 1 jumper header W2 18 system J connections 23 requirements 10 jumper headers positions 15 18 MMCEVB1200UM D Revision 2 MOTOROLA User s Manual For More information On This Product 47 Go to www freescale com Freescale Semiconductor Inc U user requirements 10 MOTOROLA Revision 2 MMCEVB1200UM D For More Information On This Product 48 Go to www freescale com User s Manual Freescale Semiconductor Inc Revision History
11. Product Go to www freescale com 17 Freescale Semiconductor Inc Configuration 2 1 1 Setting the SRAM Bank 1 Header W2 NOTE CAUTION MOTOROLA Jumper header W2 selects one of three chip selects for SRAM bank 1 The diagram below shows the factory configuration the fabricated jumper at position C selects chip select 1 GB1 CS0 CS1 CS2 7 Fabricated jumper Alternatively you may select chip selects 0 or 2 For either of these selections reposition the W2 fabricated jumper to position B or D respectively You must use jumper headers W2 W8 and W12 to configure chip selects 0 1 and 2 Although any of these jumper headers can configure any chip select there must not be any duplication all three chip selects must be configured There must be one and only one jumper in header W2 in position B C or D Having a jumper in position A having multiple jumpers or having no jumpers could damage the EVB Revision 2 MMCEVB1200UM D 18 For More Information On This Product Users M Go to www freescale com Sers viene Freescale Semiconductor Inc Configuration Setting Jumper Headers 2 1 2 Setting the FLASH Byte Word Select Headers W3 W6 Jumper headers W3 and W6 determine whether the EVB 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 B A
12. a 2 by 20 pin header in place at the pad This lets you use small clips or wire wraps to access any of the signals Motorola ships 2 by 20 pin headers with your EVB To add your own component to the main breadboard area insert the component s leads through the holes in the board then solder the leads in place Run appropriate wires from the component to power and ground locations You may add surface mount components to spare pads similarly The three pad sizes are 50 mils pitch by 220 mils width 25 6 mils pitch by 254 mils width and 50 mils pitch by 380 mils width MMCEVB1200UM D Revision 2 MOTOROLA User s Manual For More Information On This Product 25 Go to www freescale com Freescale Semiconductor Inc Configuration Solder the component s leads to the appropriate solder bars to hold he component in position Then run appropriate wires from the small adjacent vias to board power ground or signal locations NOTE Ifyou do add components in the breadboard or spare pad areas make sure that their current draw does not exceed the EVB power supply limits 2 5 Memory Maps The configuration of jumper headers W2 W8 and W12 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 Memory amper Header Chip S
13. case w for word may be part of the command picobug gt md 0x30001000 w The system responds with a display such as this 30001000 BEFOB37E 5 To see the contents of a memory 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 0x30000000 0x30000010 b The system responds with a display such as this 30000000 BE FO 00 00 55 55 55 55 OE 22 9E E8 03 20 OD 20 OE UUUU 30000010 F7 MMCEVB1200UM D Revision 2 MOTOROLA For More Information On This Product 29 User s Manual Go to www freescale com Freescale Semiconductor Inc pe psr ss0O ss4 rO r7 r8 r15 6 3000022a 80000000 badO0beef badO0beef 0010a000 8 MOTOROLA To download into SRAM a program executable in S record format enter the Download lo command without any address value picobug gt lo The system waits for you to send the program executable file To do so open the Transfer menu and select Send Text File This opens a file select dialog box Use this dialog box to specify the appropriate S record file then click on the 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 sev
14. 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 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 Revision 2 MMCEVB1200UM D 20 For More Information On This Product Go to www freescale com Users Manual Freescale Semiconductor Inc Configuration Setting Jumper Headers 2 1 5 Setting the FLASH Chip Select Header W12 NOTE CAUTION Jumper header W12 selects one of three chip selects for FLASH memory The diagram below shows the factory configuration the fabricated jumper at position B selects chip select 0 This is the only correct configuration if you will boot up with the Picobug monitor W12 FLASH 1 2 A GFCS B cso Fabricated CS1 jumper D CS2 7 8 Alternatively you may select chip selects 1 or 2 For either of these selections reposition the W12 fabricated jumper to position C or D respectively You must use jumper headers W2 W8 and W12 to configure chip selects 0 1 and 2 Although any of these jumper headers can configure any chip select there must not be any duplication all three chip selects must be configured There must be one and only one jumper in header W12 in position B C or D Having a jumper in position A hav
15. stops at the breakpoint lo address Download e With optional address value downloads a binary image to that address in SRAM e Without any address value downloads to SRAM an S record text file md addressl address2 size Memory Display Displays memory contents from the address value to the address2 value The 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 value specifies the format b bytes the default h half words w words or i instructions mm address value size Modify Memory e With optional va ue 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 h half words w words or i instructions nobr address No Breakpoint e 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 e With optional name value displays the value of that CPU register e W
16. 0100 epsr 80000100 fpsr 00020000 ss0 ss4 badObeef 20000c00 20008000 20010042 00000801 vbr 30005c00 r0 r7 300027 8 00000050 0000ea60 q89f69ab 30005 20 80000000 00000200 00000040 r8 r15 0010a000 300066b8 300067d7 30006948 30006714 30006708 10005010 300002a2 11 To remove all breakpoints enter the No Breakpoint nobr command without any address value picobug gt nobr The Picobug prompt reappears confirming that the system has removed the breakpoints picobug gt 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 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 power 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 EVB This GNU software works with the Picobug debug monitor to provide source level debugging for your code MMCEVB1200UM D Revision 2 MOTOROLA For More Information On This Product 31 User s Manual Go to www freescale com Freescale Semiconductor Inc The EVB product release guide gives the instructions for loading the GNU software and for making any connections different fr
17. 1 14 2D 66 61 14 2D 66 61 14 2D 66 6114 2D6806046 18 61 18 72 71 49 72 49 92 01 71 49 72 HA 92 G1 2D660656 71 4A 72 48 92 61 18 72 71 49 12 16 16 61 66 71 2D000060 25 F 24 BA 66 64 16 O5 10 46 10 27 18 58 16 39 ss 20688678 16 7A 16 8B 16 9 18 AD 7E 42 71 42 12 1F 66 75 20006686 71 42 32 74 91 GE 28 3E 61 B4 E7 FC 7E 3D 71 AF 20406894 91 GE 71 3F 91 AE 72 3F 83 02 71 3A BF 31 E8 3A Close Figure 3 3 Memory Contents Display Ifthis 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 step 8 program FLASH memory above e The Address field shows the first address of the value display One way to change the display is to enter a different address in this field e Another way to change the value display is to use the vertical or horizontal scroll bars e 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 At the end of your programming session click on the Exit button 3 2 2 Restoring Factory Programming If you must overwrite FLASH device sector 0 you subsequently may use the FLASH programmer to rest
18. Freescale Semiconductor Inc MMCEVB1200PV Evaluation Board EVB 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 M are registered trademarks of Motorola Inc Motorola Inc is an Equal Opportunity Affirmative Action Employer The MeCORE name and logotype and the OnCE name are trade
19. Operation This chapter explains how to begin using debugging tools available for your MMCEVB1200PV Evaluation Board as well as how to use Motorola s FLASH programmer 3 1 Debugging Embedded Code With your EVB 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 still additional software to run test and modify the code you develop for embedding in an MMC2001 MCU 3 1 1 Using the Picobug Debug Monitor The Picobug debug monitor comes burned into the FLASH memory device of your EVB location U3 Before you start the Picobug monitor make sure that you have an RS232 connection between EVB connector J10 and a serial port of your computer To start the Picobug monitor for use as a standalone debugger 1 Make sure that power is not applied to your EVB 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 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 5 Use the configuration dialog box to set the operating speed 19 200 and the correct communications port for example COM1 Click the
20. UART channel 0 19 VCC5V OPERATING VOLAGE Transmission line for 5 volt MCU operating power PWMO PULSE WIDTH MODULATOR lines 0 5 External interface lines for 27 29 31 33 35 37 the pulse width modulator block Default state upon reset is PWM 5 general purpose input MMCEVB1200UM D Revision 2 MOTOROLA For More Information On This Product Go to www freescale com 45 User s Manual Freescale Semiconductor Inc Connector Information 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 4 and Table 4 4 give the pin assignments and signal descriptions for this connector P5 TDI 1 e e 2 GND TDO 3 e 0 4 GND TCK 5 e o 6 GND GPIO SI 7 e o 8 NC RSTIN 9 e o 10 TMS VDD_IO 11 e o 12 DE GPIO_SO 13 e e 14 TRST Figure 4 4 OnCE Connector P5 Pin Assignments Table 4 4 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 DEBUG SERIAL CLOCK Serial clock input line to the OnCE control 5 TCK block GENERAL PURPOSE VO SERIAL IN General purpose input line to 7 GPIO SI the OnCE controller 8 NC No connection 9 RSTIN RESET IN Active low input li
21. bug monitor you also need Hyperterminal or a comparable terminal emulation program To get the most from your EVB you should be an experienced C or MeCORE assembly programmer Your EVB requires 5 volt 0 25 volt input power at 250 milliamperes The power supply that comes with your EVB provides this power from line power 1 3 EVB Layout Figure 1 1 shows the layout of the EVB Figure 1 1 MMCEVB1200PV Evaluation Board MOTOROLA Revision 2 MMCEVB1200UM D For More Information On This Product Users M Go to www freescale com Sers viene 10 Freescale Semiconductor Inc Introduction EVB Layout Jumper header W2 selects the SRAM bank 1 chip select Jumper headers W3 and W6 configure byte or word mode for FLASH memory Jumper header W8 selects the SRAM bank 0 chip select Jumper header W9 selects the startup vector Jumper header W12 selects the FLASH chip select Jumper header W14 enables or disables the serial ports and also configures the EVB for its self test Connectors P1 P2A and P2B are the I O and interrupt connectors Connector P5 is the OnCE connector Connector J8 is the power connector Connectors J9 and J10 are the RS232 serial communication connectors J9 is for user applications that do not require control signals J10 is for system software or other applications that do use control signals Switch S1 is the reset switch Location F1 is for the EVB fuse Yellow LEDs DS1 through DS4 light to confir
22. connector through an EBDI box specify ESL e lf your computer connects to the EVB through a serial port but the EVB system software has been deleted specify RS232 Mbug monitor NOTE Ifyou select the RS232 Mbug monitor protocol a prompt tells you to remove the W9 jumper and reset the EVB Even if you just have reset the EVB 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 MMCEVB1200UM D Revision 2 MOTOROLA For More Information On This Product 33 User s Manual Go to www freescale com Freescale Semiconductor Inc 7 Go to the CMB field near the lower center of the main screen Make sure that the field specifies EVB1200 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 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 ef this is the first programming action of this FLASH programmer session the software downloads an algorithm file before downloading the file you specified A
23. der W14 Turn one of these jumpers 90 degrees then reinsert it so that it connects W14 pins 5 and 7 Optional Activate Hyperterminal and connect it to EVB connector J10 From the Hyperterminal File menu select Properties Click on the Configure button of the properties dialog box Use the configure dialog box to set 19200 baud 8 data bits no parity 1 stop bit and no flow control Apply power to the EVB The green LED DS5 comes on to confirm power The EVB automatically begins its self test The four yellow LEDs DS1 through DS4 flicker during the self test approximately one minute then light without flickering to confirm that the EVB passed the self test If at the end of the self test any of the yellow LEDs does not light without flickering the EVB fails the self test If you have activated Hyperterminal per step 4 your computer monitor displays a failure message that will help you find and correct the problem After you correct the problem repeat the self test Should the failure persist you may need to contact Motorola customer support for assistance When the EVB passes the self test disconnect power restore jumper header W14 to its operating configuration then restore power This completes the self test Revision 2 MMCEVB1200UM D 24 For More Information On This Product Go to www freescale com Users Manual Freescale Semiconductor Inc Coatiguraiion Using the Breadboard Optional 2 4 Using t
24. eral minutes the Picobug prompt reappears picobug gt To see the new contents of registers enter the Register Display rd command again without any name value picobug gt rd The system responds with an updated display which shows that the pc register value reflects the start of the program just downloaded epc 2d00108a fpc 0010a000 epsr 80070101 fpsr 00020000 20000c00 20008000 20010042 00000801 vbr 30005c00 00000050 00000000 d89f69ab 30005f20 80000000 00000200 00000024 300066b8 300067d7 30006948 30006714 30006708 300067c8 2d0001c4 To set a breakpoint at address 0x3000025C enter this address as part of the Breakpoint br command picobug gt br 0x3000025c The Picobug prompt reappears confirming that the system set the breakpoint picobug gt To see 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 3000025C Revision 2 MMCEVB1200UM D 30 For More Information On This Product Go to www freescale com Users Manual Freescale Semiconductor Inc Operation Debugging Embedded Code 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 3000025c epc 3000025c fpc 0010a000 psr 8000
25. he Breadboard Optional Use the three ribbon cables that come with the EVBPROTO beadboard to connect it to your EVB 1 Run one cable from breadboard connector J1 to EVB connector P1 Make sure that the red striped wire of the cable is at the pin 1 pin 2 end of both connectors With regard to Figure 1 1 the red striped wire should be at the bottom connector end Run another cable from breadboard connector J2 to EVB connector P2A Make sure that the red striped wire of the cable is at the pin 1 pin 2 end of both connectors With regard to Figure 1 1 the red striped wire should be at the left connector end Run the third cable from breadboard connector J3 to EVB connector P2B For the breadboard connection the red striped wire of the cable should be at the pin 1 pin 2 end of the connector For the EVB connection the unstriped wire of the cable should be at the pin 99 pin 100 end of the connector according to the silk screen markings With regard to Figure 1 1 the red striped wire should be at the left connector end the unstriped cable wire should be at the right connector end This completes cable connections Instead of accessing a signal at one of the three EVB connectors you may access the signal at the corresponding header pad of the breadboard You may solder a wire in the appropriate hole You may solder a post in the appropriate hole This lets you use a small clip or wire wrap to access the signal You may solder
26. ined under step 8 program FLASH memory above e If verification fails an error message specifies the location that did not have the expected contents e To recover from a verification failure try programming Flash again to replace the selected download file Revision 2 MMCEVB1200UM D 34 For More Information On This Product Go to www freescale com Users Manual Freescale Semiconductor Inc 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 To 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 appears as explained under step 8 program FLASH memory 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 e Ifthis is the first programming acti
27. ing multiple jumpers or having no jumpers could damage the EVB MMCEVB1200UM D Revision 2 MOTOROLA User s Manual For More Information On This Product Go to www freescale com 21 Freescale Semiconductor Inc Configuration 2 1 6 Setting the Serial Port Enable Header W14 NOTE MOTOROLA 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 W14 SP ENA A B COD EF G 2 14 1 AV 13 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 F disconnecting the port 0 signals Table 2 2 W14 Jumper Signals UART Signal Jumper Position TXDO Transmit data port 0 A CTSO Clear to send port 0 TXD1 Transmit data port 1 RXDO Receive data port 0 RTSO Ready to send port 0 RXD1 Receive data port 1 O Tm m ol o w Transceiver Standby NOTES 1 Removing the jumper from position G puts driver and receiver outputs in a high impedance state To make sure that UART signals of other positions are connected to RS232 transceivers make sure that a ju
28. ip Select W12 wie Selects chip select 0 to control FLASH Only 1 jumper in this header do not i TRER 5 memory use position A j GFCS Factory setting B CSO Cc CS1 D CS2 7 8 wi2 Selects chip select 1 to control FLASH EE memory AI GFcs B cso C cs1 DI cs2 7 8 MOTOROLA Revision 2 MMCEVB1200UM D 16 For More Information On This Product Go to www freescale com User s Manual Freescale Semiconductor Inc Table 2 1 Jumper Header Positions Continued Configuration Setting Jumper Headers Position Effect FLASH Chip Select W12 continued Only 1 jumper in this header do not memory Selects chip select 2 to control FLASH use position A Serial Port Enable W14 Connects all serial port UART signals to RS232 transceivers 14 Factory setting Disables the RS232 driver buffer W14 Connects port 0 serial port signals SP ENA disconnects port 1 serial port signals 1 13 Disconnects port 0 serial port signals Wi connects port 1 serial port signals wi4 Disconnects all serial port signals wi4 Configures the EVB self test MMCEVB1200UM D Revision 2 MOTOROLA User s Manual For More Information On This
29. ithout any name value displays the values of all CPU registers rm name value Register Modify Assigns the va ue parameter value to the name CPU register t Trace Step Single steps one instruction identical to the s command s Step Trace Single steps one instruction identical to the t command MOTOROLA Revision 2 MMCEVB1200UM D 28 For More Information On This Product User s Manual Go to www freescale com Freescale Semiconductor Inc Operation Debugging Embedded Code 3 1 2 Picobug Sample Session 1 This sample session begins with the Picobug prompt picobug 2 To seethe 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 pce 30000286 epc 30000286 fpc 0010a000 psr 80000100 epsr 80000100 fpsr 00020000 ss0 ss4 bad0beef 20000c00 20008000 20010042 00000801 vbr 30005c00 r0 r7 300027f8 00000050 0000ea60 30005f94 30006708 80070101 00000200 00000040 r8 r15 0010a000 00020000 20000c00 300067c0 00000000 30005f94 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 gt rd epc The system responds with a display such as this epc 30000286 4 To seethe contents of a specific memory location enter the Memory Display md command with the location address An optional size value in this
30. jumper W3 3 1 WORD BYTE le el BYTE To configure byte mode for the FLASH e 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 MMCEVB1200UM D Revision 2 MOTOROLA For More Information On This Product 19 User s Manual Go to www freescale com Freescale Semiconductor Inc Configuration 2 1 3 Setting the SRAM Bank 0 Header W8 NOTE CAUTION Jumper header W8 selects one of three chip selects for SRAM bank 0 The diagram below shows the factory configuration the fabricated jumper at position D selects chip select 2 W8 SRAM 0 1 2 A GBO Fabricated 5 i jumper C CS1 D N cs2 7 8 Alternatively you may select chip selects 0 or 1 For either of these selections reposition the W8 fabricated jumper to position B or C respectively You must use jumper headers W2 W8 and W12 to configure chip selects 0 1 and 2 Although any of these jumper headers can configure any chip select there must not be any duplication all three chip selects must be configured There must be one and only one jumper in header W8 in position B C or D Having a jumper in position A having multiple jumpers or having no jumpers could damage the EVB 2 1 4 Setting the Startup Vector Select Header W9 MOTOROLA Jumper header W9
31. m that the EVB passed its self test Green LED DS5 lights to confirm that the EVB 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 Some unpopulated EVB locations are available for users who want to add optional extra functionality For example specific users may want to install a backup battery connector at location P6 between connector P5 and jumper header W9 Other specific users may want to install low frequency and high frequency external coaxial oscillator input connectors at locations J5 and J6 respectively These locations are below and to the right of jumper header W9 Table 1 1 lists EVB specifications Table 1 1 MMCEVB1200PV Evaluation Board Specifications Characteristic Specifications MCU extension I O ports HCMOS compatible Operating temperature 0 to 40 C Storage temperature 40 to 85 C Relative humidity 0 to 90 non condensing Clock 32 MHz Power requirements 5 volts dc from a separate power source Dimensions 5 75 x 6 0 inches 146 x 152 mm Weight 4 5 ounces 128 g MMCEVB1200UM D Revision 2 MOTOROLA User s Manual For More information On This Product 11 Go to www freescale com Freescale Semiconductor Inc Introduction 1 4 Breadboard Layout Figure 1 2 shows the layout of the EVBPROTO breadboard
32. marks of Motorola Inc Motorola Inc 1999 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc 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 in ANSI EOS ESD S6 1 and ANSI EOS ESD S4 1 All handling of these boards must be in accordance with ANSI EAI 625 MOTOROLA MMCEVB1200UM D For More Information On This Product 2 Go to www freescale com i Users Manual Freescale Semiconductor Inc Table of Contents Section 1 Introduction ES Es ER AE nt avd sda RE ON ET A 9 12 System and User Redguirements EE EE EE ee Ee ee 10 T37 EVB LaVOUI sas is N ESE Baars ne eet ed OE EG ass AD de 10 14 BreadboardLayOUt si EER EE ER ee EE Re ee 12 Section 2 Configuration 2 1 Setting Jumper Headers RS AE HEEN ED EE ee ig Wace 15 2 1 1 Setting the SRAM Bank 1 Header W2 055 18 2 1 2 Setting the FLASH Byte Word Select Headers W3 W6 19 2 1 3 Setting the SRAM Bank 0 Header W8 055 20 2 1 4 Setting the Startup Vector Select Header W9 20 2 1 5 Setting the FLASH Chip Select Header W12 21 2 1 6 Setting the Serial Port Enable Header W14
33. mper is in position G To configure an EVB 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 Revision 2 MMCEVB1200UM D 22 For More Information On This Product Users M i Go to www freescale com Sers Manda Freescale Semiconductor Inc Configuration Making Computer System Connections 2 2 Making Computer System Connections When you have configured your EVB 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 EVB connector J10 and the appropriate serial port of your computer If your application will use port 1 connect the port 1 RS232 cable between EVB connector J9 and the appropriate serial port of your computer If your application will use the OnCE connector connect a OnCE compatible cable between EVB connector P5 and the appropriate connector 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 EVB connector J8 Connect the power supply s powe
34. nanoseconds e Two 64K by 16 SRAM memories at 70 nanoseconds e 3 3 volt power regulator e Power supply that converts line power to 5 volt power e Two RS232 channels for serial communication These channels use internal universal asynchronous receiver transmitters UARTs e 14 pin JTAG OnCE debug connector e Three 40 pin I O and interrupt connectors e Separate breadboard printed circuit board with three ribbon cables and extra 2 by 20 pin headers e Address decoding direct chip select from the processor e Jumper headers for such configuration items as FLASH byte word use e Motorola s FLASH programmer e Picobug debug monitor and GNU source level debugger from the Free Software Foundation MMCEVB1200UM D Revision 2 MOTOROLA For More Information On This Product Go to www freescale com 9 User s Manual Freescale Semiconductor Inc 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 You also need a C compiler an MeCORE assembler and an M CORE linker To use the Picobug de
35. ne 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 10 OPERATING VOLTAGE Transmission line for 5 volt MCU operating power DEBUG EVENT Active low debug mode control line for the OnCE 12 DE 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 13 GPIO SO GENERAL PURPOSE VO SERIAL OUT General purpose output line from the OnCE controller A TEST RESET Active low input line for an external reset signal to the 14 TRST OnCE controller MOTOROLA Revision 2 MMCEVB1200UM D 46 For More Information On This Product Go to www freescale com User s Manual Freescale Semiconductor Inc Index B setting 15 23 breadboard L layout 12 specifications 13 layout using 25 breadboard 12 EVB 10 11 C LEDs controlling 37 code debugging M GNU source level debugger 31 Picobug debug monitor 27 29 memory maps 26 Picobug sample session 29 31 commands Picobug 28 O configuration 15 26 connections operation 27 37 computer system 23 connector information 39 46 P connector pin assignments I O interrupt P1 P2A P2B 39 42 44 Picobug OnCE P5 46 commands 28 controlling LEDs 37 sample session 29 31 pin assignments D I O interrupt P1
36. nemonic Signal 1 15 17 18 33 36 GND GROUND 2 11 14 16 19 22 28 32 34 35 NC No connection 37 40 BOW BOWS ROW SENSES lines 1 0 3 2 5 4 7 6 Keypad row sense lines ROW 3 ROW 2 EG 3 10 On chip 47KQ pull up resistors are connected to these lines the ROW SOM A default state upon reset is general purpose input ROW 7 ROW 6 P g ae dr De SPI DATA MASTER IN SLAVE OUT In master mode serial data input 23 SPI_MISO line to the serial peripheral interface of the MCU In slave mode serial data output line from the serial peripheral interface SPI DATA MASTER OUT SLAVE IN In master mode serial data 24 SPI_MOSI output line from the serial peripheral interface module of the MCU In slave mode serial data input line to the serial peripheral interface SPI ENABLE In master mode the peripheral chip select line In slave 25 SPI_EN mode the slave enable line 26 SPI_CLK SPI SERIAL CLOCK Serial shift clock line for the serial peripheral interface module SPI GENERAL PURPOSE OUTPUT Serial peripheral interface 27 SPI_GP eae module output line a control line for external logic or devices MMCEVB1200UM D Revision 2 MOTOROLA Users Manual For More Information On This Product Go to www freescale com 43 Connector Information Freescale Semiconductor Inc NC GND TXDO RTSO TXD1 NC NC NC NC VCC5V NC GND GND PWM 0 PWM 1 PWM 2 PWM 3 PWM 4 PWM 5 GND 35 37
37. ns 45 Table 4 4 ONCE Connector P5 Signal Descriptions 46 MMCEVB1200UM D Revision 2 MOTOROLA User s Manual For More information On This Product 7 Go to www freescale com Freescale Semiconductor Inc List of Tables MOTOROLA Revision 2 MMCEVB1200UM D For More Information On This Product 8 Go to www freescale com User s Manual Freescale Semiconductor Inc Section 1 Introduction This user s manual explains connection configuration and operation information for the MMCEVB1200PV Evaluation Board EVB a standalone development tool of Motorola s M CORETM family The EVB 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 EVB also has a OnCE connector enabling you to use a debugging application that requires one Motorola s FLASH programmer lets you download your code into the EVB s SRAM for execution or FLASH memory for storage in non volatile memory Should your application overwrite system software in the FLASH memory device you can use the FLASH programmer to restore the system software A separate EVBPROTO breadboard comes with your EVB enabling you to add your own components to EVB circuitry The power supply that comes with your EVB converts line power to 5 volt power 1 1 EVB Features The EVB features e 512K by 16 FLASH memory at 90
38. om standalone Picobug connections 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 If you have not already installed the FLASH programmer onto your computer hard disk do so The EVB product release guide includes installation instructions Reset the EVB by pressing switch S1 Start the FLASH programmer The main screen Figure 3 1 appears Motorola Flash Programmer 2 1 Iof x File C AWINNT Profiles yen D esktop test folder cmb1200_fstl Browse m Flash Verify Type AM D23LVE00 v Bus Width 16 Erase Flash Base Address ox2a000000 Size 1MB Erase Sector m Communications Protocol AS232 Picobug monil CMB Eve1200 z Diy Port Speed M Download Algorithm Restore System Software com 7 18200 bps 7 Figure 3 1 FLASH Programmer Main Screen NOTE Figure 3 1shows field values appropriate for using the FLASH programmer with an EVB Except as explained in the instructions below selecting different values for these fields could cause errors MOTOROLA Revision 2 MMCEVB1200UM D For More Information On This Product 32 Go to www freescale com User s Manual Freescale Semiconductor Inc
39. on 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 step 8 program FLASH memory 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 device 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 Factory Programming 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 MMCEVB1200UM D Revision 2 MOTOROLA For More Information On This Product User s Manual Go to www freescale com 35 Freescale Semiconductor Inc Motorola Flash Programmer Display Memory Address PET Hode Byte 2D666666 2D 66 66 46 2D 66 61 14 2D 66 61 14 2D 66 61 14 E 20006814 2D 66 61 14 2D 66 61 14 2D 66 61 14 2D 66 6114 20666626 2D 66 61 14 2D 66 66 46 2D 66 61 14 2D 66 6114 20608836 2D 66 6
40. ore 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 MOTOROLA Revision 2 MMCEVB1200UM D For More Information On This Product 36 Go to www freescale com Users Manual Freescale Semiconductor Inc persion Controlling EVB LEDs e Ifthe system software is in your current hard disk directory the FLASH programmer automatically restores factory programming to FLASH sector 0 The main screen reappears to confirm successful programming e lf 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 e The CD ROM that comes with your EVB is yet another source of system software files Dev_Sys MMC2001 SYSsw_FLASHprog mon elf and Dev_Sys MMC2001 SYSsw_FLASHprog bist elf 3 3 Controlling EVB LEDs Section 2 Configuration explained how the four yellow EVB LEDs flicker and light as part of the EVB self test Your own code also can control these LEDs which are connected to pins PWMO through PWM3 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 DS1 PWMO 0x10005000 DS2 PWM1 0x10005008 DS3 PWM2 0x10005010 DS4 PWM3 0x10005018
41. progress message appears during the downloading of this algorithm file e Ifthe software cannot find the algorithm file an appropriate error message identifies the file Click on the message s OK button to bring up a file select dialog box then use this dialog box to specify the location of the algorithm file If necessary recopy the file from the transmittal CD ROM Click on the OK button to resume programming FLASH memory e 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 begins A Verify successful message appears at the end of verification e Ifthis 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 expla
42. r 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 DS5 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 This completes system connections you are ready to perform an EVB self test per the instructions of 2 3 Performing the EVB 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 I O or interrupt signals you may use connectors P1 P2A or P2B You may clip individual lines to the pins of these connectors or use appropriate connectors Section 4 Connector Information gives pin assignments and signal descriptions for these connectors MMCEVB1200UM D Revision 2 MOTOROLA User s Manual For More Information On This Product 23 Go to www freescale com Freescale Semiconductor Inc Configuration 2 3 Performing the EVB Self Test Once you have configured your EVB you can perform a self test of EVB components 1 MOTOROLA If your EVB 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 hea
43. re 3 1 FLASH Programmer Main Screen 05 32 Figure 3 2 Picobug Protocol Selection 000 e ee 33 Figure 3 3 Memory Contents Display 200 36 Figure 4 1 Connector P1 Pin Assignments is EE ee dee 40 Figure 4 2 Connector P2A Pin Assignment S iii EE ee dee 42 Figure 4 3 Connector P2B Pin Assignments 0585 44 Figure 4 4 ONCE Connector P5 Pin Assignments 46 MMCEVB1200UM D Revision 2 MOTOROLA For More Information On This Product User s Manual Go to www freescale com 5 Freescale Semiconductor Inc List of Figures MOTOROLA Revision 2 MMCEVB1200UM D For More Information On This Product 6 Go to www freescale com User s Manual Freescale Semiconductor Inc List of Tables Table 1 1 MMCEVB1200PV Evaluation Board Specifications 11 Table 1 2 EVBPROTO Breadboard Specifications 13 Table 2 1 Jumper Header Positions iss ss ss se ss ee ee ee ee 15 Table 2 2 W14 Jumper Signals EE EE EE ER ee ke ee ee 22 Table 2 3 MMC2001 Address Decoded Memory Map 26 Table 3 1 Picobug Commands ss ss ss ss se ee ee ee 28 Table 3 2 LED Registers and AddresseS nnana SS SS SS ee ee 37 Table 4 1 Connector P1 Signal Descriptions 41 Table 4 2 Connector P2A Signal Descriptions 43 Table 4 3 Connector P2B Signal Descriptio
44. respectively give the signal descriptions for these connectors MMCEVB1200UM D Revision 2 MOTOROLA For More Information On This Product User s Manual Go to www freescale com 39 Freescale Semiconductor Inc Connector Information COL 0 COL 1 COL 3 COL 5 COL 7 NC NC GND NC NC NC NC NC NC INT 1 INT3 INT5 INT 7 NC NC Noo 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 ie OAN 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 GND COL 2 COL 4 COL 6 GND GND NC NC NC NC NC NC GND GND INTO INT2 GND INT4 INT6 GND Figure 4 1 Connector P1 Pin Assignments NOTE The same signal assignments apply to the P1 header pad of the EVBPROTO breadboard provided that a ribbon cable runs between breadboard connector J1 and EVB connector P1 The red striped wire of the cable must be at the pin 1 pin 2 MOTOROLA ends of both connectors Revision 2 MMCEVB1200UM D 40 For More Information On This Product Go to www freescale com User s Manual Freescale Semiconductor Inc VO and Interrupt Connectors P1 P2A P2B Connector Information Table 4 1 Connector P1 Signal Descriptions Pin Mnemonic Signal COLUMN STROBES lines 0 7 Keypad column strobe lines 1 3 9 COL 0 COL 7 open drain selectable via software Default state upon reset is general purpose input 2 10 12 15 26 28 34 40 GND GROUND 11
45. tarting Ending umper Position Select Address Address FLASH W12 B cso 0x2D00_0000 0x2D0F_FFFF W12 C CS1 0x2F00_0000 Ox2FOF_FFFF W12 D CS2 OX2E00 0000 Ox2EOF_FFFF SRAM Bank 0 W8 B CSO 0x2D00_0000 Ox2DOF_FFFF W8 G CS1 0x2F00_0000 Ox2FOF_FFFF w8 D CS2 0x2E00_0000 0x2E0F_FFFF SRAM Bank 1 W2 B CSO Ox2D00_0000 Ox2DOF_FFFF W2 C CS1 0x2F00_0000 OX2FOF FFFF W2 D CS2 OX2E00 0000 Ox2EOF_FFFF As the table shows the factory configuration e Puts FLASH memory into the chip select 0 memory space addresses 0x2D00_0000 through 0x2D0F_FFFF e Puts SRAM bank 0 memory into the chip select 2 memory space addresses 0x2E00_0000 through OX2EOF FFEF and e Puts SRAM bank 1 memory into the chip select 1 memory space addresses 0x2F00_0000 through Ox2FOF_FFFF NOTE Each SRAM bank occupies 64 kilobytes of memory one eighth of the megabyte a chip select reserves Accordingly the EVB mirrors SRAM contents That is it puts eight copies of the data into the megabyte of memory This makes memory contents contiguous despite the smaller size of an SRAM bank The MMC2001 resident MCU is at EVB location U7 The first 12 kilobytes of this MCU s internal RAM starting address 0x3000_0000 is reserved for the Mbug Picobug and FLASH programmer algorithms MOTOROLA Revision 2 MMCEVB1200UM D For More Information On This Product 26 Go to www freescale com Users Manual Freescale Semiconductor Inc Section 3
46. te Word Select W3 W6 BA Configures word mode for FLASH memory w3 3 Factory setting WORD BYTE wel MMCEVB1200UM D Revision 2 MOTOROLA For More Information On This Product User s Manual Go to www freescale com 15 Freescale Semiconductor Inc Configuration Table 2 1 Jumper Header Positions Continued Header Position Effect FLASH Byte Word Select W3 W6 B A Configures byte mode for FLASH memory continued ws 3 WORD BYTE we 1 BYTE SRAM Bank 0 Chip Select W8 w8 Selects chip select 0 to control SRAM bank 0 Only 1 jumper in this header do not Eike use position A al ceo B cso cI csi D cs 7 8 we Selects chip select 1 to control SRAM bank 0 RAM 1 2 AI ceo BI cso c cs1 DI cs 7 8 Selects chip select 2 to control SRAM bank 0 SRAM 0 Factory setting AI GBo BI cso CI csi D l cs2 7 8 Startup Vector Select W9 Upon power up selects the startup vector 1 from the lowest address of the external wo chip select 0 device Usually this is FLASH MOD memory Correct configuration for EVB self test Factory setting Upon power up selects the startup vector from the lowest address of MCU internal BoD ROM Invokes the Mbug debugger Also the correct setting for the FLASH programmer FLASH Ch
Download Pdf Manuals
Related Search
Related Contents
ImmunoCAP Total IgE SWE-1000 Cadex C5100 Battery Tester Features - HY-LINE Fujitsu UTB-UUB User's Manual Copyright © All rights reserved.
Failed to retrieve file