106
NXPTM M522XX, KINETIS and i.MX RT / Using Parameter Block
« on: January 16, 2009, 03:52:53 PM »
Hi Mark,
The only parts of the parameter block we use in this current project is the NETWORK_PARAMETERS. We plan to use the flash memory to save/load this information. These network parameter block will only be modified with a direct connection to the unit, and not remotely. As this is the case , I cant see the benefit of having a swap parameter block, as the values are verified after being written.
A couple of things I want to check with yourself:
1. Looking at the application task there is a fnGetOurParameters() command. Does this check if there is a set of parameters in flash, and if valid will use these? Does this overwrite the default values at the top of the file (static const NETWORK_PARAMETERS network_default = {) ?
2. After the valid parameters are loaded, or default used how do I gain access to active values, is it through pointer temp_pars?
3. When it comes to change the NETWORK_PARAMETERS values, can I simply place new values in these, and call fnSaveNewPars(SAVE_NEW_PARAMETERS); ?
4.The does the processor have to be reset for new values to take place?
Many Thanks
Neil
The only parts of the parameter block we use in this current project is the NETWORK_PARAMETERS. We plan to use the flash memory to save/load this information. These network parameter block will only be modified with a direct connection to the unit, and not remotely. As this is the case , I cant see the benefit of having a swap parameter block, as the values are verified after being written.
A couple of things I want to check with yourself:
1. Looking at the application task there is a fnGetOurParameters() command. Does this check if there is a set of parameters in flash, and if valid will use these? Does this overwrite the default values at the top of the file (static const NETWORK_PARAMETERS network_default = {) ?
2. After the valid parameters are loaded, or default used how do I gain access to active values, is it through pointer temp_pars?
3. When it comes to change the NETWORK_PARAMETERS values, can I simply place new values in these, and call fnSaveNewPars(SAVE_NEW_PARAMETERS); ?
4.The does the processor have to be reset for new values to take place?
Many Thanks
Neil