AnsweredAssumed Answered

how to change internal flash writing address without affecting code

Question asked by sudhakar p on Jun 26, 2015
Latest reply on Jun 30, 2015 by Jorge_Gonzalez

Hi

i am using KDS2.0 and ksdk 1.1.0 example.

     i am facing some problem in internal flash writing. so can you explain following parameter what purpose we are using

FTFx_REG_BASE,

P_FLASH_BASE,

P_FLASH_SIZE,

P_SECTOR_SIZE

 

and also can i change following parameter,

      #define FSL_FEATURE_FLASH_PFLASH_BLOCK_SIZE (524288) to//524288 //1048576

    /* @brief P-Flash sector size. */

    #define FSL_FEATURE_FLASH_PFLASH_BLOCK_SECTOR_SIZE (4096)

    /* @brief P-Flash write unit size. */

    #define FSL_FEATURE_FLASH_PFLASH_BLOCK_WRITE_UNIT_SIZE (8)

if yes how to assign value for that.
actually i studied flash demo code there mention user should initialize following parameter,

ftfxRegBase,P_FLASH_BASE,P_FLASH_SIZE. i tried flash demo project its working fine. but i want to change flash writing address

so for that what are the changes Required.?

 

regards,

sudhakar p

Outcomes