SSD C55 FlashProgram() max size?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SSD C55 FlashProgram() max size?

1,021 Views
kimyoungsu
Contributor III

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.......^^;;

 

174632_174632.pngcode.png

 

174633_174633.pngSSD_EX_1.png

174634_174634.pngSSD_EX_2.png

174635_174635.pngSSD_EX_3.png

Labels (1)
0 Kudos
1 Reply

817 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

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:

pastedImage_1.png

and then it works as expected.

Thanks for pointing this out, I will update the example next week.

Regards,

Lukas

0 Kudos