How do I download default configurations to flash?


#1

How do I download default configurations to flash?

I used Siemens TCxx for a very very long time. I just want to find a second solution.
However, for me, Wavecom flash architecture is weired.
Hope you guys can help me out.

My framework is as below:
I have two configuration files (in fact, many different config files), I hope there is only one firmware and different configuration files. Different configurations make firmware different ACTION.
For different user or country, I only need to download different default configurations and firmware will working properly.

[ex1]
APN=MyAPN
UserName=User1
Password=Pass2
action1=1111
action2=enabled
action3=0

[ex2]
APN=internet
UserName=xxx
Password=ooo
action1=wwww
action2=disabled
action3=1

I wavecom, with flash ID, how to ? How to download default values to flash before firmware starts?


#2

Nobody knows?
How do you guys ship your products? :confused:


#3

Ok, a very very very … very simple question. Although reality is more complex.

If you have 3 customers.
One day CustA ask you to ship your product with default APN buit in as “APNa”, and
CustB ask you to ship your product with default APN buit in as “APNb”, and
CustC ask you to ship your product with default APN buit in as “APNc”
How do you do that? 0.0

To buid 3 different firmware ? Different version management?
Or you choose only write default configuration value into flash? (Like an ini file)
if you choose scenario II, how do u write config value into falsh with a weird FLASH ID.


#4

i think u can develop some aplication with open at
it contain different config
u can give the customer different APLICATION for customer‘s different requirement
it is available?


#5

Yes, that is precisely what you need to do!

Clearly, that application needs to provide 2 things:

  1. Some means to enter the configuration parameters;
  2. Some means to store those parameters in Flash, abd retrieve them from Flash

Many of the Samples included in the SDK illustrate setting & storing configuration parameters in Flash.

See also: viewtopic.php?f=34&t=2970&p=10863#p10863