AnsweredAssumed Answered

How can I read out the Program Flash 1 IFR

Question asked by jmag99 on May 22, 2014
Latest reply on May 29, 2014 by Kan_Li

I would like to read out the Program Flash 1 IFR to get the Swap Field data.  I think I can do this using the ReadResource flash command, but the values I am getting back are not correct.  I am using the following commands to read out 16 bytes starting at address 0.  Any idea what I am doing wrong?

 

returnCode = FlashReadResource(&ftflCfg, (PFLASH_BLOCK_BASE + PFLASH_IFR_OFFSET + 0), dataReadback, FlashCommandSequence);
returnCode = FlashReadResource(&ftflCfg, (PFLASH_BLOCK_BASE + PFLASH_IFR_OFFSET + 8), dataReadback, FlashCommandSequence);

Outcomes