Skip to main content
vianney
Associate III
May 21, 2003
Question

Save parameters before flashing

  • May 21, 2003
  • 5 replies
  • 999 views
Posted on May 21, 2003 at 07:03

Save parameters before flashing

This topic has been closed for replies.

5 replies

vianney
vianneyAuthor
Associate III
May 15, 2003
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
Visitor II
May 16, 2003
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
vianneyAuthor
Associate III
May 19, 2003
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
Visitor II
May 21, 2003
Posted on May 21, 2003 at 07:00

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

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

Yes, I've found it.

Thank you.

Junior