Troubleshooting - ST Visual Programmer Documentation (2024)

previous page next page

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

Troubleshooting - ST Visual Programmer Documentation (2)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.

Troubleshooting - ST Visual Programmer Documentation (3)Check that STVP is correctly configured for the programming device in use.

Troubleshooting - ST Visual Programmer Documentation (4)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:

Troubleshooting - ST Visual Programmer Documentation (5)Check that the correct device is plugged into the socket or that STVP is correctly configured for the device in use.

Troubleshooting - ST Visual Programmer Documentation (6)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:

Troubleshooting - ST Visual Programmer Documentation (7)You use the parallel cable provided with your STICK—using a longer parallel cable may cause malfunctions.

Troubleshooting - ST Visual Programmer Documentation (8)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.

Troubleshooting - ST Visual Programmer Documentation (9)You remove any parallel port dongles.

Troubleshooting - ST Visual Programmer Documentation (10)Ensure LPT1 address is in the range 03BC-03BF or 0378-037F or 0278-027F.

Troubleshooting - ST Visual Programmer Documentation (11)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:

Troubleshooting - ST Visual Programmer Documentation (12)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 18V to 21V. (Ground is on TP1 pin 1 which has a white dot mark.)

Troubleshooting - ST Visual Programmer Documentation (13)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.4V to 5V. On test pin 4 at location TP1, you must have the same voltage value that you selected with the W1 jumper.

Troubleshooting - ST Visual Programmer Documentation (14)Check that there is 5V 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:

Troubleshooting - ST Visual Programmer Documentation (15)The ICC cable is well connected.

Troubleshooting - ST Visual Programmer Documentation (16)You have selected the right ST7 device.

Troubleshooting - ST Visual Programmer Documentation (17)The ICC signals are clear and within the following ranges:

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

Troubleshooting - ST Visual Programmer Documentation (18)You have selected the right programming mode in the main menu Configurewindow > programming mode list . Remember that if you use:

Troubleshooting - ST Visual Programmer Documentation (19)ICPOPTEnable mode, check that your application clock circuitry does match the CLOCK SOURCE and OSCTYPE options already programmed in ST7Flash 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 ICPOPTDisable.

Troubleshooting - ST Visual Programmer Documentation (20)ICPOPTDisable 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?


Troubleshooting - ST Visual Programmer Documentation (22)
Troubleshooting - ST Visual Programmer Documentation (2024)

References

Top Articles
Latest Posts
Article information

Author: Sen. Emmett Berge

Last Updated:

Views: 5996

Rating: 5 / 5 (80 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Sen. Emmett Berge

Birthday: 1993-06-17

Address: 787 Elvis Divide, Port Brice, OH 24507-6802

Phone: +9779049645255

Job: Senior Healthcare Specialist

Hobby: Cycling, Model building, Kitesurfing, Origami, Lapidary, Dance, Basketball

Introduction: My name is Sen. Emmett Berge, I am a funny, vast, charming, courageous, enthusiastic, jolly, famous person who loves writing and wants to share my knowledge and understanding with you.