Motorola MC9S12DP256, CML12S-DP256 manual Installing the Software, Board Startup, Support Software

Page 4

C M L 1 2 S D P 2 5 6

0 7 / 1 7 / 0 2

Follow the steps in this section to get started quickly and verify everything is working correctly.

Installing the Software

1.Insert the Axiom 68HC12 support CD in your PC. If the setup program does not start, run the file called "SETUP.EXE" on the disk.

2.Follow the instructions on screen to install the support software onto your PC. You should at minimum install the AxIDE for Windows software.

3.The programming utility “AxIDE” requires you to specify your board. You should select "CML12SDP256" version of your development board.

Board Startup

Follow these steps to connect and power on the board for the default Monitor operation. This assumes you're using the provided AxIDE utility (installed in the previous section) or a similar communications terminal program on your PC. If you're using a different terminal program than the one provided, set it's parameters to 9600 baud, N,8,1.

1.Set the CML12Sxxx board Option jumpers to default positions:

MEM-EN = IN, ECS = IN, JP1 = IN, NOAUTO (SPARE) = IN

MODC = Out, JP2 = do not care, see COM Ports.

2.Connect one end of the supplied 9-pin serial cable to an available serial COM port on your PC. Connect the other end of the cable to the P-COM port on the CML12Sxxx board.

3.Apply power to the board by plugging in the power adapter that came with the system.

4.If everything is working properly, you should see a message to “PRESS KEY TO START MONITOR…” in your terminal window. Press the ENTER key and you should see:

Axiom MON12 - HC12 Monitor / Debugger V256.x Type "Help" for commands…

> _

5.Your board is now ready to use! If you do not see this message prompt, or if the text is garbage, see the TROUBLESHOOTING section at the end of this manual.

Support Software

There are many programs and documents on the included HC12 support CD you can use with the CML12Sxxx board. You should install what you want from the main menu then browse the disk and copy what you like to your hard drive.

4

Image 4
Contents CML12S-DP256 Contents Getting Started Installing the Software Board StartupSupport Software Modc = Out, JP2 = do not care, see COM PortsSoftware Development TutorialCreating Source Code Assembling source code AS12 HELLO.ASM -L HelloRunning your application Programming HCS12 Flash EEprom AutoMON12 Operation MON12 operation notesMON12 Interrupt Support Mon12 Monitor CommandsMovw #IRQSRV,VIRQ Noice Operation MON12 and Noice Memory MapAutostart BDM OperationClock frequency = 24MHz Memen ECSModc Auto OFF / spareMode OscselPorts and Connectors TB1 and J1 PowerJP1 and JP2 CUT-AWAY Options 1Mcuport Analog PortBusport Keypad / Port HPCOM1 and PCOM2 6 connected and 7,8 connectedCan Port PCOM2 pin connectionsCAN-H CAN-LP1 P4 HCS12 Header Ring Lcdport ConnectorLcdport BDM Port Test PointsSee the HC12 Technical Reference Manual for complete Documentation of the BDMTroubleshooting Tips and Suggestions Command LCD Command and Character CodesCode Delay MON12 Interrupt Table