Hi,
There may be an issue with the SRAM init and/or MMU init upon startup.
Attached you can find an “MPC5668G-PinToggleStationery” project, which work well as standalone application too.
You may use it as a base project for your development.
Hope it helps.
Best Regards,
Petr