AR# 926


Programmers - HW-130: Installation and Debugging tips (PC platforms)


This solution provides HW-130 installation and debugging tips.


Note: The HW-130 has been discontinued. Please see the Product Discontinuation Notice at:

First, ensure that the HW-130 programmer powers up properly before being connected to the PC COM port. The "power on" LED indicator light located above the FAIL light should be blinking initially while the programmer performs its Power On Self-Test (POST); it should then stop blinking and remain lit.

If the power-on LED does not blink initially, or the FAIL light goes on and stays on, the programmer is probably defective, as it has either failed to initiate the self-check sequence, or the self-check has failed.

A typical PC installation would involve the following steps:

- Insert the disk in the floppy drive and "cd" to that drive.

- From the DOS PROMPT, type "install" and follow the on-screen instructions.

- After installing the software, "cd" to the target directory.

- Hook up the programmer to the PC's serial port, and power the programmer up. After the power is on, ensure that the "FAIL" LED on the programmer is NOT flashing longer than 3-4 seconds. If it does (usually 4 flashes), this means that the programmer

failed the Power On Self-Test (POST) and should be returned to the factory. If you have an adapter plugged into the programmer, make sure there is no device in the socket adapter.

- Type "hw130" to launch the application.

The software will search for the programmer through all available COM ports of the PC and negotiate the highest BAUD rate after resetting the programmer. The programmer's power LED will flash for about 4 seconds during the reset.

- Once communication has been established, you can select a device and use the programmer.

If these steps have been followed without success, the following things may solve the problem:

- Make sure you are NOT running out of a DOS window in Windows. HW-130 is a "DOS-only" program.

- Make sure there is NOT an "hw130.ini" file in the working directory. If there is one, delete it.

- Make sure the programmer passes the Power On Self-Test (POST) and that the "Fail" LED is not flashing.

- Make sure there is enough conventional memory to launch the program. 470 kB of base memory must be available. From the DOS prompt, type "mem" and look for the line "Largest executable program size ...Kbyte." If there is not enough memory, unload some device drivers from in the config.sys or autoexec.bat files and restart the PC.

- The software assumes the following default addresses and IRQ settings on the COM ports:


Addr: 03F8 02F8 03E8 02E8

IRQ: 4 3 4 3

- Run "msd" (Microsoft diagnostics) from the DOS prompt, type in "C" for COM ports, and ensure that TWO COM ports are available (two 16550 UART Chips). (The additional port is required to support your mouse.) The other COM port settings, such as baud rate, data bits, etc., do NOT matter (the HW-130 software takes care of this).

Make sure the address used for the COM ports is correct. To see the IRQ settings on the PC, type "Q" from the main MSD menu. Ensure that IRQ3 points to COM 2 and 4, and that IRQ4 points to COM 1 and 3.

- If all else fails, reboot the PC and enter the CMOS setup by hitting the Delete button while the PC reboots. Search for the COM ports, and try swapping them (i.e., use a different UART for the programmer); point COM 1 to COM 2 and COM 2 to COM 1. If

there is only one COM port, point it to COM 1 instead of 2 (or vice-versa). Exit, saving the CMOS setup, and try again.

Once you have established communications with the programmer, lower the baud rate in the communications dialog down to about 9600 baud (leaving the COM port set to "AUTO"). Once communication with the programmer has been re-established,

select "Save Settings" from the Options menu. This will create an hw130.ini file and save the baud rate. The next time the programmer software is used, communications will only take place at 9600 baud (or whatever rate you saved to the .ini file).

Ensure that you are using a standard serial cable and/or 9-25 or 25-9 pin cable adapters. Null modem cables will not work.

If you're getting a message that indicates the adapter you are using is incorrect, make sure you that have the latest software. Please see "File Archive: sw_programmer" at the following location:

AR# 926
Date 12/15/2012
Status Active
Type General Article
People Also Viewed