Topic : adaptor ST7 broken

Forum : ST7/STM8

Original Post
Post Information Post
April 3, 2009 - 2:43pm
Guest

Hi,
I have a problem related to RLINK ADP ST/-STM8V1.2, because is already second time that I broke it during the programming operation. I used, the Rlink version V3.4, to update the microprocessor type ST72F32.

I used a PC notebook together with the programmer (RLINK) connected to the same line voltage, while the line voltage of the micro ST72F32 was gained by an insulation transformer.

I operated, with adaptor shaped with jumper Jswim and PW_5V opened and jumper 12Mhz and Adapt closed, according to the following steps:

• I Connected the RLINK adaptor to the micro ST72F32 by ICC ST port
• I Switched on the supply to the micro ST72F32;
• I updated the software the micro ST72F32;
• I disconnected the micro ST72F32;
• I disconnected the RLINK adaptor.

After 20 items programmed I found, by two different times, the adaptor failure while I found the micro ST72F32 functioning perfectly. The message, shown on PC, after the found failure of the adaptor was
“ Error: cannot communicate with the device! optionBytees are Disabled on the device. Check the ICC cable connection and check all the needed pin connections on the ICP connector. Clock is ‘external source’ in this ICP mode. On application, connect OSC pin from ICP connector or an oscillator or a logic clock”

I've checked the five points show on the picture, and the values are correct.

Best regard
Fabio

Replies
Post Information Post
+1
0
-1
April 6, 2009 - 2:10pm
Raisonance Support Team

Hi,

First, for ST7 you don't need the Adapt jumper. This jumper should be used when connecting to STM8 at very low power. That's probably not related to your problem but still you'd rather remove it.

Now, I would need more information on your problem...

How do you know that the adaptor is broken and not the RLink?
You said it broke twice... have you been able to repair it the first time?
Or do you have other adaptors to test the RLink?
Do you know which part of the adaptor is broken?

You wrote about 'the five points on the picture'... Are you talking about this other thread?
http://raisonance-forum.xsalto.com/viewtopic.php?pid=9411#p9411
If yes, please note that these checks are for people whose BUSY LED of the RLink does not turn ON when they plug the USB. That would be a problem in the RLink, not the adaptor. Do you see the BUSY LED turning ON when you plug it? And then do you see it turning OFF a few seconds later when Windows has finished the enumeration? Are you able to read the RLink Serial Number?

I don't know if it's related, but I usually connect things in a different order than yours:
Power target board, connect RLink to target board, connect RLink USB to host PC, program or debug or whatever, disconnect RLink USB from host PC, disconnect RLink from target board, unpower target board. That prevents any peak that might occur when powering the target board to be transfered to the RLink. Maybe we should inquire towards the regulation of the power on your board... Can you send me the schematic? (support@raisonance.com)

Best Regards,

Vincent

+1
0
-1
April 16, 2009 - 3:40pm
Guest

Hi,
I try now to give you more details.
I bought a new RLink and I used the new adaptor with old programmer. In this way I carried-out the upload of 20 ST7 micro when the new adaptor was broken. Unfortunately I don’t know which part of the adaptor was broken.

When the USB is connected, the PWR LED is normally switch on. When I try to upload the program the BUSY LED switch on, only for a second, after that I find the error message.

Which kind of checks Can I carry out in order to identify the adaptor component broken ?
Is it possible to buy, only, the adaptor ? and whether the answer is yes, where ?

Best regards
Fabio

+1
0
-1
April 17, 2009 - 12:04pm
Raisonance Support Team

Hi,

Here is what you can test if you have an oscilloscope:

1. Power the target board. (use one of the boards that you managed to program)

2. Plug the RLink's ICC on the target board.

3. Plug the RLink's USB on the host PC, check that the BUSY LED turns ON and then OFF.

4. With a scope, check the signals on the ICC connector:
...Pins 1,3,5,10 should be at zero.
...Pins 2,4,6,7 should be at VCC.
...Pin 8 should be at 5V.
...Pin 9 should be cleanly oscillating between 0 and VCC at 12MHz.

If any of these tests is not true, please tell it to me. Please also confirm that there is no crystal or oscillator on your target board, that would interfere with the 12MHz from RLink.

5. Very shortly after you ask the software to communicate with the ST7 (reading the option bytes, for example), the signals on pins 2,4,6 should show some activity. Please check that with the scope.

If any of these signals does not move when you ask Ride to read the option bytes, then probably the associated transistor is burned. See the schematic of the adapter here:
http://raisonance-forum.xsalto.com/viewtopic.php?id=2449

Best Regards,

Vincent

+1
0
-1
May 14, 2009 - 8:21am
Guest

Hi,
These are the results of the carried out tests:
With a scope, the signals on the ICC connector:
...Pins 1,3,5,10: 0V.
...Pins 2,4,6,7 : 3.56V-3.62V-3.7V-3.46V
...Pin 8 :4.65 V
...Pin 9 :oscillating between 0 and VCC at 12MHz.
To connect the ICC connector at the micro ST7, I used a cable that moved on the pcb the following pin: 1,3,5,7,2,4,6,8.

Best Regads
Fabio