User Activity

Hi,I have STM32f407G-DISC1 board. My problem is, when i give the power my micro controller with usb(with pc) than i can go in main less than 1 sec. but when i give the power from 5V pin than it takes more than 2 sec. How can i make this time shorter.