added one time prog load and mem init for multi-core arch
fixed static init error