Troubleshooting

ST Visual Programmer

home.gif

Troubleshooting


When I try to read or write to the ST microcontroller the message "Cannot communicate with the device" is displayed:

GENERATE/DOT_S695.gif      Check that the port to which the programming device is connected is correctly configured in STVP.

Note: If you use the LPT port, you must configure this port using Centronics, EPP, ECP or bidirectional modes only. With Windows® NT®, 2000® and XP®, the PARSTM driver must be installed.

GENERATE/DOT_S695.gif      Check that STVP is correctly configured for the programming device in use.

GENERATE/DOT_S695.gif      Check that the ST microcontroller for which STVP is configured is the same as that which is plugged into the programming device.
Refer to Configuring ST Visual Programmer for further information.

When I try to read, program, verify or blank check a ST microcontroller, the message " ... failed at address XXXX" is displayed:

GENERATE/DOT_S695.gif      Check that the correct device is plugged into the socket or that STVP is correctly configured for the device in use.

GENERATE/DOT_S695.gif      Check that the device isn't defective (change the device).

When I open a project file, the message "Data file not found" is displayed:

Check that data files associated with the project file exist or that data files have not been moved

When using the STICK, the message “PC parallel port cable not connected” is displayed:

Most communication failures between the host PC running STVP and the STICK interface board stem from problems in the parallel port connection. To prevent communication problems, when setting up your parallel port connection, ensure that:

GENERATE/DOT_S695.gif      You use the parallel cable provided with your STICK—using a longer parallel cable may cause malfunctions.

GENERATE/DOT_S695.gif      Connect the cable directly between the host PC and STICK interface board— the insertion of additional cables or switch boxes between the host PC and the interface board may cause malfunctions.

GENERATE/DOT_S695.gif      You remove any parallel port dongles.

GENERATE/DOT_S695.gif      Ensure LPT1 address is in the range 03BC-03BF or 0378-037F or 0278-027F.

GENERATE/DOT_S695.gif      Ensure that “printer port LPT1” is not disabled in your PC. For example, in the IBM® ThinkPad, you can select “infrared printing (LPT) port on”.

When using the STICK, the message “Problem on supply voltages” is displayed:

When you have supply voltage problems the green LED will not come on. To find the cause of the problem:

GENERATE/DOT_S695.gif      Check that the AC/DC power supply adaptor is firmly connected to both the main power supply and to the STICK interface board. To check that the main power supply is on, disconnect ICC cable and measure the voltage at test pin 2 at location TP1. This pin should have unregulated DC value in the range 18 V to 21 V. (Ground is on TP1 pin 1 which has a white dot mark.)

GENERATE/DOT_S695.gif      Check that the W1 jumper is set on one of the three positions outlined in the STICK User Manual. If it is set on the “VDD” position, check that the ICC cable is connected properly and that your application’s VDD is connected to ICC connector pin 7. Your application VDD must be in the range 2.4 V to 5 V. On test pin 4 at location TP1, you must have the same voltage value that you selected with the W1 jumper.

GENERATE/DOT_S695.gif      Check that there is 5 V on test pin 3 at location TP1.

If you have made all of these checks and you still get the “Problem on supply voltages” message, contact your ST distributor or sales office in order to have your STICK repaired.

When using the STICK, the message “Cannot communicate with the device” is displayed:

Check that:

GENERATE/DOT_S695.gif      The ICC cable is well connected.

GENERATE/DOT_S695.gif      You have selected the right ST7 device.

GENERATE/DOT_S695.gif      The ICC signals are clear and within the following ranges:

ICCDATA:            This application signal must not drive more than 1 mA.
ICCCLK:            This application must not drive more than 1 mA.
ICCRESET:            This application must not drive more than 5 mA.
ICCSEL_VPP:      The pull-down resistor must not be lower than 10 kOhm.

GENERATE/DOT_S695.gif      You have selected the right programming mode in the main menu Configure window > programming mode list . Remember that if you use:

GENERATE/SQUAR_SM.gif      ICP OPT Enable mode, check that your application clock circuitry does match the CLOCK SOURCE and OSCTYPE options already programmed in ST7 Flash microcontroller option byte. For devices out of factory you have to check these values in datasheet. If you don’t know these values you have to select ICP OPT Disable.

GENERATE/SQUAR_SM.gif      ICP OPT Disable mode, ensure that external source clock is a square wave signal from 0 V to VDD. If not, you have to connect ICCOSC safe clock (ICC connector pin 9) to the OSC1 pin of the ST7Flash microcontroller in your application.

Other frequently asked questions:

How can I find out which STVP and Hardware configuration file versions I'm using?



prev.gif disnext.gif