Page 1 of 1

PK70 Application Settings Programming Question

Posted: Wed Nov 30, 2011 5:20 am
by EyeStealth
Newbie here.
I am new to embedded programming and wanted to know what is the best way to store application settings in the 5270.
I am writing an application that will have a web interface that will allow the user to set various application settings and I want these settings to be stored in non-volatile memory. If the PK70 is powered down and powered up, the application will start running and obtain the proper settings from this non-volatile area.
I thought about writing the settings to an ini file, but it seems to be that there is probably some better method for handling.

I appreciate your help.

If there are any examples that I can look at that would be best.

Thanks in advance.

Allan

Re: PK70 Application Settings Programming Question

Posted: Fri Dec 02, 2011 2:42 pm
by pbreed
Take a look at the example.
nburn\examples\web\flashform

That uses the Userparam space flash storage to save and retrieve a message that is non-volatile across power cycles.

Re: PK70 Application Settings Programming Question

Posted: Sun Dec 04, 2011 5:20 pm
by EyeStealth
pbreed,
Thanks for giving me some help.