Demonstration board for freescale microcontroller (18 pages)
Summary of Contents for Axiom CML-5485
Page 1
D O C - 0 3 4 7 - 0 1 0 R E V . CML-5485 Application Board for Freescale MCF5485 MCU Hardware User Manual Axiom Manufacturing • 2813 Industrial Lane • Garland, TX 75041 Email: Web: Sales@axman.com http://www.axman.com...
FEATURES....................................4 GETTING STARTED................................5 ...............................5 OFTWARE EVELOPMENT ..............................5 EFERENCE OCUMENTATION CML-5485 S ................................6 TARTUP CML-5485 HARDWARE CONFIGURATION AND OPTIONS ..................6 POWER SUPPLY ...................................7 RESET RESET_SW ................................7 INDICATORS ..................................7 ABORT S ..................................7 WITCH SYSTEM CLOCK ...................................8 MEMORY ....................................8 COMMUNICATION PERIPHERALS ...........................8 CML-5485 PORTS AND CONNECTORS ..........................8 PWR - P .................................8...
Page 3
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0 0 6 / 2 2 / 0 5 GT - E ..............................30 XECUTE DDRESS IRD - I ............................31 NTERNAL EGISTER ISPLAY...
1) Electrostatic Discharge (ESD) prevention measures should be applied whenever handling this product. ESD damage is not a warranty repair item. 2) Axiom Manufacturing reserves the right to make changes without further notice to any products to improve reliability, function or design. Axiom Manufacturing does not assume any liability arising out of the application or use of any product or circuit described herein;...
0 6 / 2 2 / 0 5 FEATURES CML-5485 is a low cost development kit for the Freescale MCF5485 ColdFire® microcontroller. Application development is quick and easy with the included Axiom CML-5485 evaluation / application board, DB9 serial cable, Ethernet cable, BDM Cable, and GNU Software Tool Package that includes C compiler and source level debug utilities.
0 6 / 2 2 / 0 5 GETTING STARTED The CML-5485 single board computer is a fully assembled, fully functional application board for the Freescale MCF5485 microcontroller. Provided with wall plug power supply, Ethernet cable, and serial cable. Support software provided for this development board is for Windows 95/98/NT/2000/XP operating systems.
Use the AxIDE ‘√’ tool bar button to configure the COM port on the PC. 3) Connect the CML-5485 board COM1 serial port connector to the host PC COM port with the provided 9 pin serial cable.
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0 0 6 / 2 2 / 0 5 POWER SUPPLY Input power is applied by external connection to the PWR power jack. The input supply is provided to the 3.3V primary supply regulator VR1 and the PCI +5V regulator VR5.
BDM or JTAG tools are applied. COMMUNICATION PERIPHERALS The CML-5485 provides 7 conditioned communication ports, 2 x 10/100TX Ethernet, 2 x RS232 Serial COM, 2 x CAN, and a USB port. User should refer to the respective manual chapter for details of operation and connection of each port.
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0 0 6 / 2 2 / 0 5 COM1 and COM2 Ports The COM1 and 2 ports provide standard 9 pin serial connection with RS232 type interface to the MCF5485 UART0 and UART1 peripherals respectfully.
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0 0 6 / 2 2 / 0 5 CAN Port The CAN port provides two physical interface layers for the two channels of MCF5485 FlexCAN Controller Area Network version 2.0B peripheral.
1) These signals have peripheral connection on the CML-5485 board CAN Port. 2) These signals have peripheral connection on the CML-5485 board COM2 Port. 3) These signals have peripheral connection on the CML-5485 board COM1 Port. 4) This signal has peripheral connection on the CML-5485 board J1 PCI Port.
The BUS PORT provides access to the MCF5485 FLEX Bus data and control signals. Most signals on the BUS PORT have a peripheral connection on the CML-5485 board. The FBCS0* chip select is dedicated to the on board flash memory. The board must boot from the on board flash.
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0 0 6 / 2 2 / 0 5 ADDRESS_PORT The ADDRESS PORT provides access to the MCF5485 FLEX Bus latched address signals. This port may be applied for bus expansion.
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0 0 6 / 2 2 / 0 5 BDM /JTAG Port Connection BKPT* DSCLK TCLK (Note 1) RSTI* +3.3V 9 10 DSO GND 11 12 PST3...
Page 16
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0 0 6 / 2 2 / 0 5 J1 PCI Bus Connector Notes PCI Signal J1 PIN Number PCI Signal Notes From -12V TP connection...
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0 0 6 / 2 2 / 0 5 TROUBLESHOOTING The CML5485 is fully tested and operational before shipping. If it fails to function properly, inspect the board for obvious physical damage first.
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0 0 6 / 2 2 / 0 5 dBUG MONITOR OPERATION dBUG is a firmware resident development environment operated by the MCF5485 as a primary control program.
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0 0 6 / 2 2 / 0 5 The Vector Base Register, VBR, points to the dBUG Flash memory space. However, a copy of the exception table is made at address $00000000 in SDRAM memory space.
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0 0 6 / 2 2 / 0 5 dBUG Commands After the system initialization, the dBUG waits for a command-line input from the user terminal. When a proper command is entered, the operation continues in one of the two basic modes.
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0 0 6 / 2 2 / 0 5 When no <width> option is provided, the default width is “W”, 16-bit. The core ColdFire register set is maintained by dBUG.
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0 0 6 / 2 2 / 0 5 Client IP: ___.___.___.___ (IP address of the board) Server IP: ___.___.___.___ (IP address of the TFTP server) Gateway: ___.___.___.___ (IP address of the gateway) Netmask: ___.___.___.___ (Network netmask) Configuring dBUG Network Parameters...
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0 0 6 / 2 2 / 0 5 Continuing with the above example, the Coldfire C compiler produces an executable COFF file, ‘example.out’.
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0 0 6 / 2 2 / 0 5 BC - Block Compare Usage: BC addr1 addr2 length The BC command compares two contiguous blocks of memory on a byte by byte basis. The first block starts at address addr1 and the second starts at address addr2, both of length bytes.
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0 0 6 / 2 2 / 0 5 To zero out the BSS section of the target code (defined by the symbols bss_start and bss_end), the command is: bf bss_start bss_end 0 To fill a block of memory starting at 0x2_0000 and ending at 0x4_0000 with data that...
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0 0 6 / 2 2 / 0 5 Each time a breakpoint is encountered during the execution of target code, the count value is compared against the trigger value.
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0 0 6 / 2 2 / 0 5 Examples: To search for the 32-bit value 0x1234_5678 in the memory block starting at 0x4_0000 and ending at 0x7_0000: bs.l 40000 70000 12345678 This reads the 32-bit word located at 0x0004_0000 and compares it against the 32-bit value...
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0 0 6 / 2 2 / 0 5 Wherever possible, the disassembler will use information from the symbol table to produce a more meaningful disassembly.
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0 0 6 / 2 2 / 0 5 After the DL command is invoked, the user should select file transfer or upload and send the S-record file form the host.
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0 0 6 / 2 2 / 0 5 srec.out To download a COFF file with the name “coff.out”, the command is: coff.out To download a file using the default file type with the name “bench.out”, the command is: bench.out...
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0 0 6 / 2 2 / 0 5 1000 = 4K bytes, 2000 = 8K bytes, 8000 = 32K bytes, 10000 = 64 K bytes. To erase the complete internal flash, the command is: fl erase F0000000 80000 To erase all user sectors of the external flash, the command is:...
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0 0 6 / 2 2 / 0 5 encounters a breakpoint, illegal instruction, or an exception which causes control to be handed back to dBUG.
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0 0 6 / 2 2 / 0 5 Refer to the MCF5485 user’s manual for more information on these modules and the registers they contain.
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0 0 6 / 2 2 / 0 5 To continually write the data 0x1234_5678 to address 0x0002_0000, the command is: lw.l 20000 12345678 Note that the following command writes 0x78 into memory: lw.b 20000 78...
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0 0 6 / 2 2 / 0 5 MM - Memory Modify Usage: MM<width> addr <data> The MM command modifies memory at the address addr. The value for addr may be an absolute address specified as a hexadecimal value, or a symbol name.
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0 0 6 / 2 2 / 0 5 Protected Start ----------------------------------------------------------------- dBUG code 0xFFE00000 0xFFE3FFFF dBUG data 0x00000400 0x0000FFFF Chip Selects -----------------...
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0 0 6 / 2 2 / 0 5 Example: To change program counter to contain the value 0x2000_8000, the command is: rm pc 20008000 RESET - Reset the Board and dBUG Usage:...
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0 0 6 / 2 2 / 0 5 STEP - Step Over Usage: STEP The STEP command can be used to “step over” a subroutine call, rather than tracing every instruction in the subroutine.
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0 0 6 / 2 2 / 0 5 symbol -r junk To see how full the symbol table is, the command is: symbol -s To display the symbol table, the command is: symbol –l...
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0 0 6 / 2 2 / 0 5 VERSION - Display dBUG Version Usage: VERSION The VERSION command displays the version information for dBUG. The dBUG version, build number and build date are all given.
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0 0 6 / 2 2 / 0 5 asm (“ move.l #0x0013,d0”); /* select the function */ asm (“ trap #15”); /* make the call */ /* UNLK a6 -- produced by C compiler */...
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0 0 6 / 2 2 / 0 5 move.l #$0014,d0 Select the function trap Make the call, d0 contains the response (yes/no). C example: int board_char_present (void) asm (“...
Need help?
Do you have a question about the CML-5485 and is the answer not in the manual?
Questions and answers