AnsweredAssumed Answered

i want frdmk64fn1m0vll12  data flash write API function

Question asked by sudhakar p on Apr 29, 2015
Latest reply on May 8, 2015 by soledad

Hi,

     using KSDK 1.1.0 flash demo project i tried to write some data on flash but i am getting error response. i dnt know

why. can you give any solution.

     in "frdmk64fn1m0vll12" EEPROM is not there..?


here is my code..

TRIED METHOD-1:


uint8_t sudha_data[]="hi";

 

   destination = flashSSDConfig.PFlashBase + PFLASH_IFR;

   ret = FlashProgram(&flashSSDConfig, destination, sizeof(sudha_data), sudha_data, g_FlashLaunchCommand);

 

TRIED METHOD-2:

    ret =FlashProgramOnce(&flashSSDConfig,0x1,sudha_data,g_FlashLaunchCommand);

         if (FTFx_OK != ret)

         {

             ErrorTrap(ret);

         }

         else

         {

             printf("\n\rsudha ERROR");

         }

 

  thanks and regards,

sudhakar p

Outcomes