This was working fine on a development board, download to flash is also enabled. I started a new project the same way, only difference is really that I'm now using dedicated ST-LINK/V2 programmer, firmware is up-to-date. When I go to debug, I can only step through assembly code. Looks like it never enters main. I can't even get a breakpoint to catch in Reset_Handler, LDR R0, =SystemInit
Strangely trying the same thing in system workbench works just fine.
Btw. it would help if this forum would let me upload some screenshots.
Check the address it is presenting you, if 0x1FFF0000 or something other than 0x08000000 based may be executing from ROM, make sure BOOT0 pin is pulled LOW on your board.
Make sure the check boxes to download/verify Check "Load Application at Startup" Check "Update Target before Debugging"
Hello Pascal,
Have you seen this article?
http://www.keil.com/support/docs/3614.htm
It sounds like it may solve the issues you are having.
@Westonsupermare Pier, you're awesome :) Pulled BOOT0 low and all is good - THANKS!