 If the project doesn't automatically connect to your discovery board to actually download the project, it means that the IR environment couldn't get hold of the target board because the target board is already in a low power mode. If this happens, you are probably best to use the ST-Link utility as you saw earlier on in the examples so that you can connect using the ST-Link so the ST-Link will always be able to connect to the target board whereas the ID sometimes will miss and then you'll load the binary as you did with the SRAM example earlier and download it into the microcontroller. When you're doing it to download directly into the flash, you don't change any of the settings. The default setting will always be 800,000 hex, which is the main flash and then that helps you get around when your IAR environment cannot connect to your target device because of low power modes.