cancel
Showing results for 
Search instead for 
Did you mean: 

Save parameters before flashing

vianney
Associate II
Posted on May 21, 2003 at 07:03

Save parameters before flashing

5 REPLIES 5
vianney
Associate II
Posted on May 15, 2003 at 07:16

Hi,

Before flashing my ST72F521, I want to save some parameters from a DIP Switch and 2 analogic values.

I want to know if it is possible to add code in sector 0 of the flash so as to save theese parameters and then flash them with the code?

Has someone ever done something like this?

If you could give me a sample of code it would seriously helps me.

Thanks for answering.

Vianney.
stephanie23
Associate II
Posted on May 16, 2003 at 06:29

I'm not sure to understand, but if you wanna do is IAP, there are some application notes available on this site with the code!

vianney
Associate II
Posted on May 19, 2003 at 11:59

Yes!

Thank you, it's exactly what I was looking for!!

But where can I find the files that will help me (HDFlash.c and HDFlash.h and others if needed)?

Thanks for answering.

Junior

stephanie
Associate II
Posted on May 21, 2003 at 07:00

On this site, in the download part (Software Microcontrollers). Make a search on IAP!

vianney
Associate II
Posted on May 21, 2003 at 07:03

Yes, I've found it.

Thank you.

Junior