Topic : Programming STRF912FAW426

Forum : ARM

Original Post
Post Information Post
October 22, 2008 - 10:58am
Guest

I try to program flash in STRF912FAW42X6 by RLINK/RIDE7/RFLASHER7 and I can not.
I get message "secure bits in device is set" but it is not true. I can not erase whole flash too.
If I do the same with STRF912FW42X6 (without "A"), everything is OK.

Temporaly I using other progamming/debuging system and run the program in RAM then write flash.
So, this solution is not acceptable under production.

Where the problem is?

Replies
Post Information Post
+1
0
-1
October 22, 2008 - 11:47am
Raisonance Support Team

Hi,

We will need to know which version of the RIDE and ARM kits you are using.

Please click 'help'->'About' and tell us what you see there.

Best Regards,

Vincent

+1
0
-1
October 22, 2008 - 1:12pm
Guest

RLink: serial number: dngStd004001347
This Rlink can be used for STRx. Starter kit limitation applies:
Debug limited to 32Kb, in Flash and RAM modes.
Flash programming is not limited.

Ride 7 IDE 7.10.0000
RKit-ARM for Ride 7 1.10.0000

+1
0
-1
October 22, 2008 - 1:52pm
Raisonance Support Team

Hi,

It should work with these versions. I just tried with a STR912FAW44 and everything was fine.

I will have to contact ST and ask them if there is something special with the STR912FAW42, and maybe they'll have to send one to me.

That might take a few days...

Best Regards,

Vincent

+1
0
-1
October 22, 2008 - 2:00pm
Raisonance Support Team

Hi,

I called my contact at ST and he thinks it could be related to the revision of the chip, more than to the '44/42'.

Can you please tell me everything that is written on the chip. (especially the letter after 'ARM')

Or send a picture of it to 'support@raisonance.com'.

Best Regards,

Vincent

+1
0
-1
October 22, 2008 - 4:11pm
Guest

ARM G
STR912FA
W42X6
HPAKC VG
KOR HP 742
ST e3

+1
0
-1
October 22, 2008 - 5:07pm
Raisonance Support Team

Hi,

Thanks for the information.

This is strange, because your version is newer than the ones I have, and there should be no differences, according to the spec.
I will ask ST to send me a few chips identical to yours.

In the meantime, I would like to check some other potential sources of error. (board, connections, etc.)
Please fill this form in:
http://www.raisonance.com/Forum/punbb/viewtopic.php?id=2231

Are the two devices you mention (the 'A' and the 'non-A') soldered on identical boards?
If not, then I will need the schematics of the two boards.
And also the name and version of the other programmer that you use.

Best Regards,

Vincent

+1
0
-1
October 27, 2008 - 3:49pm
Raisonance Support Team

Hi,

I received some recent STR9 devices from ST this morning. (they did not have exactly the same batch as yours, but they are certain it's the same behavior and I believe them ;) )

I could connect to the STR9FAs without problem using the current official version of RIDE (Ride7 kit version 7.10.0000 and RKit-ARM version 1.10.0000, same as you). I managed to program the flash, debug, set and clear the security bit, etc.

You said that you could not erase the flash.
What command in RIDE are you using for trying that?
Can you please try to do it using the "Erase Full Chip Now!" button in the "STR9-specific" options?
If that does not work, please give me the complete and exact error message you receive from the software.
(you can make a screenshot and email it to me at 'support@raisonance.com')

Best Regards,

Vincent

+1
0
-1
October 28, 2008 - 1:45pm
Guest

So, I resolved this problem. When I compared the board with STR912FAW and the board with STR912FW (as you suggested), I found one difference: signal TRST was connected to processor thru serial resistor. This resistor was not assembled on the board with STR912FW (becouse of mistake during assembly!). When I removed this resistor from board with STR912FAW, everything was worked properly.
But I red in STR912FAW documentation that JTAG interface is compatible with IEEE 1149 standard. Is it not true?

Best Regards,

Zdzich

+1
0
-1
October 28, 2008 - 2:37pm
Raisonance Support Team

Hi,

I'm glad you got it working, and most of all I'm glad to hear it was a problem on the board. ;)

But this is very strange indeed:
The STR9 should not be usable with RLink if the TRST is not connected from RLink to the STR9.
What you describe is the opposite behavior... :/

Or maybe this resistor was connecting TRST to RST?
That would explain the problem, as this must not ever be done.
(and no spec says to do that)

If not, I will need you to send me your board's schematic.

Best Regards,

Vincent