hi
I think SSD C55 FlashProgram () max size is 0x800.(source_end 0x40005800 - source_start 0x40005000)
but flash wrote size only 0x80. so I change size from 0x800 to 0x80.
MPC5748G Internal Flash write success.
I think FlashProgram() size 0x800 is supported.
so i try your MPC5748G-Flash_RW-SSD_GHS614 project used T32.
The results were the same.
What is the SSD C55 FlashProgram() maximun size?
I hope this is the last question.......^^;;
Hi,
I found out that I didn't initialize these pointers in my example (this is copied from c:\Program Files (x86)\Freescale\Standard Software Driver v1.1.0\MPC57xx\Demos\Demo_code\common\demo.c):
/* set up function pointers in context data */
pgmCtxData.pReqCompletionFn = pFlashProgram;
bcCtxData.pReqCompletionFn = pBlankCheck;
pvCtxData.pReqCompletionFn = pProgramVerify;
csCtxData.pReqCompletionFn = pCheckSum;
The pointers are used by FlashCheckStatus function to call the functions.
I simply added the initialization like this:
and then it works as expected.
Thanks for pointing this out, I will update the example next week.
Regards,
Lukas