Topic : programming uPSD3454 without erasing the "xdata" flash

Forum : 8051

Original Post
Post Information Post
July 4, 2007 - 2:42pm
Guest

Hello,
I use a uPSD3454 and a Rlink debugger.
In CAPS I declared the big flash in CODE space, and the smaller in XDATA space.
The trouble is that every time I download a new rel. of firmware, the Rlink wipes out completely both the 2 flashes !
I'd like to download the firmware in the CODE flash, letting unchanged the other (where normally I have many datas already stored).

Please, let me know how to do.

M.Marolda

Replies
Post Information Post
+1
0
-1
July 4, 2007 - 3:32pm
Raisonance Support Team

Hi,

Have you tried using the "regions" selection?

I think what you call the "big flash" and the "small flash" is what CAPS calls "main flash region" and "2nd flash region". And in RIDE, psd_pgm and PSDSoft, they are called "main flash region" and "boot flash region".

Using the regions options, in any of these software, you should be able to select one or the other or both. (and also PLD/ACR and UserCode)

If the hints above don't help, then you'll have to ask the ST support in charge of CAPS.

Best Regards,

Vincent

+1
0
-1
July 4, 2007 - 4:46pm
Guest

In CAPS there is the "region" selection, and it works fine.
But I can't see the same option in RIDE.
Can you tell me how to select a "region" in RIDE ?
thank you

+1
0
-1
July 4, 2007 - 5:05pm
Raisonance Support Team

Sorry, I made a mistake: In RIDE, you can only select (or not) the whole Flash. Only in CAPS, PSDSoft and PSD_pgm can you select them independently.

Vincent

+1
0
-1
July 4, 2007 - 5:10pm
Guest

what a bad new !
Can you try to fix this situation ?
Working with RIDE in this way is really boring.....

+1
0
-1
July 4, 2007 - 5:57pm
Raisonance Support Team

Hi,

Yes, I'll fix that, but I cannot promise I'll be able to do it very soon. :(

In the meantime, you'll have to use CAPS for programming, and unselect erasing and programmation in RIDE. That's a few more clicks at every debug session, but it will do the job.

Best Regards,

Vincent