I refered MPC5748G-Flash_RW-SSD_GHS614 source.
first time i wrote at 0x00fb8000. it is ok
i tested erase all internal flash. but it is not work.
so retry first time test.
0x00fb8000 address data cannot read. so I cannot write other firmware at mpc5748g(T32 Write)
????
help me.
Hi,
be aware that you are allowed aligned double word (64bits) only if it is fully erased (all bytes are 0xFF). If you over-program non-erased double word, it leads (most likely) to double bit ECC error. That's what you can see in the debugger - '??' means that the access was terminated due to bus error (ECC error). The solution is to erase affected block. If you access data or fetch code from flash which is corrupted by ECC error, exception is triggered.
If you still can't make it working, could you share your project?
Regards,
Lukas
That is my bug.
I know that SSD_C55_CONFIG struct get information after FlashInit().
but My code SetLock(), GetLock(), FlashErase(),... re-configured before FlashInit().
Thank you.