Top Banner
Using and Installing: HCS12C32 Board, HCS12C128 Board, USB-to-Serial port driver, and HyperTerminal CMPEN 472, Spring 2013, Kyusun Choi Download from the PSU Angel cmpen472 page, the USB-to-Serial port driver and HyperTerminal program, and install them. First, install the USB-to-Serial port driver. My computer is Windows 8, so I choose ‘PL-2303 Vista Windows 7 Driver Installer.exe’ file. Double click the file to run the Installer. (If you have Windows XP computer, choose ‘PL-2303 Driver Installer.exe’ file.)
29

Guide: USB, driver, HyperTerminal, HCS12 board

Feb 11, 2022

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Guide: USB, driver, HyperTerminal, HCS12 board

Using and Installing: HCS12C32 Board, HCS12C128 Board, USB-to-Serial port driver, and HyperTerminal CMPEN 472, Spring 2013, Kyusun Choi Download from the PSU Angel cmpen472 page, the USB-to-Serial port driver and HyperTerminal program, and install them. First, install the USB-to-Serial port driver. My computer is Windows 8, so I choose ‘PL-2303 Vista Windows 7 Driver Installer.exe’ file. Double click the file to run the Installer. (If you have Windows XP computer, choose ‘PL-2303 Driver Installer.exe’ file.)

Page 2: Guide: USB, driver, HyperTerminal, HCS12 board
Page 3: Guide: USB, driver, HyperTerminal, HCS12 board

Now Restart your computer! Open ‘Control Panel’ and click on ‘Hardware and Sound’ option.

Page 4: Guide: USB, driver, HyperTerminal, HCS12 board

Select ‘Device Manager.’

Page 5: Guide: USB, driver, HyperTerminal, HCS12 board

Please follow the procedures outlined below carefully. Now power-up your HCS12 board with the DC power plug or the USB type B plug. Then connect the USB-to-Serial port cable to your HCS12 board (serial port side). Plug-in the USB-to-Serial port cable (USB port side) into your computer’s USB port.

Page 6: Guide: USB, driver, HyperTerminal, HCS12 board

Right click on the ‘Prolific USB-to-Serial Comm Port (COM3).’ The ‘COM3’ may be different on your computer. Then select ‘Update Driver Software…’ option.

Click on ‘Browse my computer for driver software’ option.

Page 7: Guide: USB, driver, HyperTerminal, HCS12 board

Select ‘Let me pick from a list of device drivers on my computer’ option.

Select ‘Prolific USB-to-Serial Comm Port Version: 3.0.1.0 [2/12/2007]’ option.

Page 8: Guide: USB, driver, HyperTerminal, HCS12 board

Restart your computer again.

You may click ‘Yes’ if you are ready to restart your computer. Click ‘No’ if you need to close any other applications before the restart. Be sure to restart your computer before proceeding to your CodeWarrior project.

Page 9: Guide: USB, driver, HyperTerminal, HCS12 board

After you restart your computer, you can check to see if your USB-to-Serial port driver is correctly installed. Open ‘Control Panel’ and click on ‘Hardware and Sound’ option. Open the ‘Device Manager’ window. Plug-in the USB-to-Serial port cable into your computer’s USB port. If your USB-to-Serial port driver IS correctly installed, you will still see in the Device Manager window the ‘Prolific USB-to-Serial Comm Port (COM3)’ device WITHOUT the yellow exclamation mark as shown below.

If your USB-to-Serial port driver is NOT correctly installed, you will see in the Device Manager window the ‘Prolific USB-to-Serial Comm Port (COM3)’ device with the yellow exclamation mark as shown below. Just in case if you still have problem, you can redo the USB-to-Serial port driver installation by following steps.

Page 10: Guide: USB, driver, HyperTerminal, HCS12 board

Right click on the ‘Prolific USB-to-Serial Comm Port (COM3)’ device with the yellow exclamation mark, and select the ‘Uninstall’ option.

And un-plug the USB-to-Serial port cable from your computer’s USB port. Now go to the top of this document, follow the USB-to-Serial port driver installation procedure.

Page 11: Guide: USB, driver, HyperTerminal, HCS12 board

HyperTerminal Program Installation: Next task is to install the HyperTerminal program. (If you have Windows XP computer, the HyperTerminal is already installed as part of the Windows XP.) Double click on the ‘htpe63.exe’ file.

Page 12: Guide: USB, driver, HyperTerminal, HCS12 board
Page 13: Guide: USB, driver, HyperTerminal, HCS12 board
Page 14: Guide: USB, driver, HyperTerminal, HCS12 board
Page 15: Guide: USB, driver, HyperTerminal, HCS12 board
Page 16: Guide: USB, driver, HyperTerminal, HCS12 board

Communicating HCS12 Board with HyperTerminal on your computer: Now you are ready to use your HCS12 board to do the homework! Again, please follow the procedures outlined below carefully. Now power-up your HCS12 board with the DC power plug or the USB type B plug. Then connect the USB-to-Serial port cable to your HCS12 board (serial port side). Plug-in the USB-to-Serial port cable (USB port side) into your computer’s USB port. Start the HyperTerminal (HyperTerminal Private Edition) program, from the Start Menu or from Metro menu.

Page 17: Guide: USB, driver, HyperTerminal, HCS12 board
Page 18: Guide: USB, driver, HyperTerminal, HCS12 board
Page 19: Guide: USB, driver, HyperTerminal, HCS12 board
Page 20: Guide: USB, driver, HyperTerminal, HCS12 board

Press the Reset button on your HCS12 board.

Hit a return key to start the monitor program on the HCS12 board.

Page 21: Guide: USB, driver, HyperTerminal, HCS12 board
Page 22: Guide: USB, driver, HyperTerminal, HCS12 board

Now you can test run the HW2 program on the HCS12 board.

Page 23: Guide: USB, driver, HyperTerminal, HCS12 board

Change the ‘Counter2’ constant from $0002 to $0020, longer delay (running the program on the HCS12 board with 24MHz bus clock is about 16 times faster than the program simulation on your computer).

Page 24: Guide: USB, driver, HyperTerminal, HCS12 board

Type ‘load’ command and hit the return key.

Left click the ‘Transfer’ menu, and select the ‘Send Text File’ option.

Page 25: Guide: USB, driver, HyperTerminal, HCS12 board

Find the ‘bin’ folder of your HW2 CodeWarrior project.

Page 26: Guide: USB, driver, HyperTerminal, HCS12 board
Page 27: Guide: USB, driver, HyperTerminal, HCS12 board
Page 28: Guide: USB, driver, HyperTerminal, HCS12 board

Type ‘go 3900’ command.

Page 29: Guide: USB, driver, HyperTerminal, HCS12 board

Now you should see the blinking light, of the LED2 on the HCS12C32 board or of the LED1 on the HCS12C128 board. Congratulations! This completes this guide.