Topic : RLINK Crashing WinXP computer

Forum : ST7/STM8

Original Post
Post Information Post
January 27, 2010 - 8:44pm
Guest

Has anyone experienced this? I have a hard crash in windows (reboot, not bluescreen) that occurs after a program in either STVD or Flalsher. I'm using the latest Jungo driver on the Rlink. I have uninstalled and reloaded the driver and software and even some other USB devices I thought might be offensive. Any ideas?

Replies
Post Information Post
+1
0
-1
January 28, 2010 - 9:50am
Raisonance Support Team

Hi,

I never had reports of PCs rebooting because of the RLink.
Blue screen yes, but never before a full reboot.

Which Windows Service Pack have you installed?

Which Ride kits have you installed and which versions?

Which version of STVD have you installed?

Please also tell us the version of the windrvr6.sys file that is in Windows\System32\Drivers.

Software problems usually result in blue screen, not reboot. So the problem might be electrical...
I will probably need the board's reference or schematic.
And also the reference of the power supply you are using. Is it isolated from mains?

Moreover, software issues usually make problems at the start of the connection, not after the programming. So the problem might also be related to the content of the flash that you are writing...
Maybe your application when it executes configures some IOs that conflict with the RLink or something like this, and if your PC's USB is not enough protected it might meddle with the PC's power.
Does the PC reboot just after writing the flash, or when you launch the execution of the target application?
It would also be interesting to know if the problem appears when you program a simple while(1) application in the board.
And also if you could try the same hardware and software on another PC, that would give us useful information.

Best Regards,

Vincent

+1
0
-1
January 28, 2010 - 6:25pm
Guest

Which Windows Service Pack have you installed? Service Pack 3 (see SystemSummary.txt)

Which Ride kits have you installed and which versions? RKit-STM8_2.26.09.0317

Which version of STVD have you installed? (see stvd_pm.log)

Please also tell us the version of the windrvr6.sys file that is in Windows\System32\Drivers. Version 10.1.0.0

Software problems usually result in blue screen, not reboot. So the problem might be electrical...
I will probably need the board's reference or schematic. The PC also crashes with the STM8/128-EVAL board
And also the reference of the power supply you are using. Is it isolated from mains? I’m not sure how to answer this one. For the eval board, it has it’s own power supply which is plugged into a power strip separate from the PC. The prototype target board uses a lab DC power supply also plugged into a separate power strip.

Moreover, software issues usually make problems at the start of the connection, not after the programming. So the problem might also be related to the content of the flash that you are writing... Very doubtful. Merely reading any memory tab and then programming the same data causes the crash. Sometimes the crash happens after doing nothing more than switching the configuration from say STMS208MB to STMS105x4 or visa versa. Sometimes just quitting ST Visual Programmer causes the crash. So I doubt very much that it’s the actual data being downloaded.
Maybe your application when it executes configures some IOs that conflict with the RLink or something like this, and if your PC's USB is not enough protected it might meddle with the PC's power. We tried various USB ports including ones from a separate isolated hub.
Does the PC reboot just after writing the flash, or when you launch the execution of the target application? At various times (see one of my answers above).
It would also be interesting to know if the problem appears when you program a simple while(1) application in the board. I don’t think the program data is relevant.
And also if you could try the same hardware and software on another PC, that would give us useful information. The same software and hardware runs without problems on both mine and the FAE's laptop.

Vincent, I've submitted a request into your support for this. Can you email me direclty so I can send you the attached files? thank you! Jeff

+1
0
-1
January 29, 2010 - 10:20am
Raisonance Support Team

Hi,

From what you describe, the crash happens when the software disconnects from the USB driver.

Your windrvr6.sys is more recent that the one that we install (we install version 7.0.0) I think that this can be the source of the problem. It was probably installed by some other software. Did you install AVR studio? Or did you install the Jungo Windriver DDK?

Could you please send us your windrvr6.sys file? (email to )

In the meantime, the short-term solution would be to uninstall the driver and replace it with the one from the Raisonance installation CD. But then that might prevent the other software from working. (the one who installed the newer version of the driver)

Best Regards,

Vincent