Forum : ST7/STM8
Original Post
Post Information | Post |
---|---|
November 5, 2007 - 6:12pm
|
Hi, My Rlink programmer is correctly installed. I configured as follows Rflasher : Then I try to read the Flash of the ST7263BK2 of my target board (Programmer->Read) I have no idea of the problem, could someone help me ? Regards Jean-Luc |
Hi,
We will need more information for helping you. Please answer this form:
http://www.raisonance.com/Forum/punbb/viewtopic.php?id=2231
Particularly, from what you say, I think we will need the board's schematic. But the rest too. ;)
Do you have the possibility to try to power the board with an other power source? (the USB current is limited and if your board uses too much power, then that could explain the problem)
Best Regards,
Vincent
Hi Vincent,
Yesterday I filled your form and sent it to you.
Also I made another test : I self powered my board and suppressed the jumper PW-5V on the adaptation board. Th result is the same, the function read fails with the same message :
"Unable to communicate with the built-in monitor for sending RASS keys."
Best regards
Jean-Luc
Hi Vincent,
Today I received the STEVAL-PCC002V1 board from ST.
It is a kind of Starter kit as a USB key with DB9 connector.
I tried it with the Rlink and Rflasher and it works : I can read and program the Flash.
So I looked at the difference in between my design and the ST board. I saw a diffrence : pin 9 of ICP connector is connected to OSCIN in the ST design (not connected in our design).
I made the modification on our design and retested, but the result is the same with the same message as before.
Best regards
Jean-Luc
Hi,
You need one oscillator or quartz on OSCIN. You can take it either from the board or from the RLink, but you should not take it from both: it could damage something! I recommend using the oscillator from the board if there is one. (which is your case)
On your schematic, there are crosses on the OSCIN and OSCOUT pins. What do they mean?
Have you checked (with an oscilloscope) that when you power the board, you see the OSCIN pin oscillating? If not, please do it.
You might want to try to remove one or both capacitors on the reset signal.
We have seen issues related to that on some boards.
If these two hints do not help us understand the problem, then we might have to get the board here to understand the problem. I think you're not very far from us... ;)
Best Regards,
Vincent
Hi Vincent,
How can I choose the quartz from my board or Rlink ?
Seen on the card STEVAL-PCC002V1 board from ST which can be read :
- Oscin is connected (both Rlink and board)
I removed both capacitors on Reset, but it does not work.
I will try to have a card for you.
Best regards
Jean-Luc
Hi,
You choose the OSC source when you design the board, or with jumpers when the board has been designed like that. (on the REva board for example) The ST board is not a good example on this particular point, because it creates electrical conflicts. (which are not very nasty so they usually don't smoke)
On the RLink ADP, you can remove the OSC jumper when using the ST board. It should work the same but without electrical conflicts. Maybe it's not plugged, already?
On your board, just don't connect the pin9 from ICC connector, or remove the OSC jumper on the ADP.
Have you checked the oscillation on your board?
Best Regards,
Vincent
The tests are going slowly but this morning there is an improvement.
Yesterday I removed C24 and C3 but nothing new when I red the Flash.
Now I removed the 12MHz Jumper(Note that I connected the OSCIN to my target yesterday) on the adpatation board and the message changed when I read, now it is :
Wrong device detected:Mismatch of the PID, PID read: 7A0 PID expected: 7B0 Please check target device selection, power and connections.
So I checked device selected is ST7263BK2 , it should be OK.
Best regards
Jean-Luc
Hi,
I checked in the list of PIDs from ST and it looks like 7A0 corresponds to a series of ST72F63B prototypes.
Please tell me everything that is written on the chip. Or, if you can it's better, send me a picture of it.
Then I'll check it with my contacts at ST.
They will tell me if it's a prototype or if it's just RIDE that is not reading the PID correctly.
If it's a prototype, they will also tell me if I can modify RIDE for working with it or if you have to change the chip...
It might be interesting to know how you got this chip. Did you purchase it directly from ST? From a distributor?
You can also tell us the differences in the marking with the chip on the ST board that you manage to program. (or send a picture of it too ;) )
Best Regards,
Vincent
Hi,
I tested with another card and it works fine now. The difference is about the marking : VM markig (PID 7A0) does not work and VP marking can be readden.
So Rflasher works now with VP : Read, Erase, Program ... Ouf !
I remember that ST changes 1 year ago the mass prod and made the difference with the marking. There were no differences about the chip functions, I think it should be better that RIDE supports also the VM marking.
To summary, I configured the adpater : PW-5V:ON, Adapt:ON, 12MHz:OFF
Also I modified my hardware : OSCIN connected to pin9 of ICP connector.
C3 and C24 on Reset Pin removed.
But about this, we followed the recommandations of ST, which value of capacitors do you implement on your design ?
Regards
Jean-Luc
Hi,
I will see with ST if it is possible to handle the PID 7A0.
You should not need the Adapt jumper, which is for a future device, not ST7.
Also, connecting the pin9 of the ICC connector is useless if you remove the "OSC" jumper.
Have you tried to remove only one of the capas? I think it should work. On our board, we put a 1uF capa with a 330Ohm pullup, and a 4.7K serial resistor. But the RLink is connected directly to the chip, not through the serial resistor. See the REva and ST7263B daughterboard schematics for more information. You can also look at the ST board's schematic. And you can probably workaround the problem by soldering a pullup resistor on the reset pin on the RLink ADP. Finally, the next version of RIDE, BN747, which will be issued today or tomorrow, should make RLink more tolerant on this. You might want to give it a try.
Best Regards,
Vincent
Hi Vincent,
I disconnected pin9 of the ICC connector in my board and with OSC jumper removed, it works.
I will try your adaptation of Rlink ADP next week.
While attending, thank's a lot for your help.
Regards
Jean-Luc
Hi Vincent,
I tried to adapt the Rlink ADP with your suggestion becuase we have now a lot a product in the field so we don't have the capability to change our design.
So I made two tests on ADP : 1st solder a 1k pullup in between PW-5V and RST : Fails, 2nd solder a 330 Ohm in between PW-5V and RST : Fails also.
So I would try to load the BN747 from your website but I have to register before, and your registration form does not accept the SN of my Rlink . (SN is dngSTD000002700).
Is it possible that you send me the BN747 or other solutions ?
Thank's for your support.
Best regards
Jean-Luc