Chaitanya,Assuming that the flash is correctly integrated, a common software fault that results in hardfault being entered almost immediately is not having the LSB of the second word set, i.e. the LSB of the reset vector must be one.hths.
View all questions in Cortex-M / M-Profile forum