<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code doesnt run after &amp;#39;write flash&amp;#39; stm32f4</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/36384/code-doesnt-run-after-write-flash-stm32f4</link><description> 
I have a strange situation, code works fine in st link debugger
mode. But when i press f8 which means write code to flash, and reset
the device - seems like code not running. i use stm32f407 discovery
board with st link debugger. what it can be? please</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Code doesnt run after 'write flash' stm32f4</title><link>https://community.arm.com/thread/86378?ContentTypeID=1</link><pubDate>Tue, 24 Jul 2018 06:14:44 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:f53abfb5-627f-46f2-9ea4-0854c8976add</guid><dc:creator>Westonsupermare Pier</dc:creator><description>&lt;p&gt;&lt;p&gt;
On other boards might worry about BOOT0.&lt;br /&gt;
Chances here is that the board/chip is running, but stuck in a
timeout or error loop.&lt;br /&gt;
Try instrumenting the code so you know how deep it got. Try not using
HSE/PLL and just run from 16 MHz HSI which the processor starts with.
Loop and Error_Handler() and Hardfault_Handler() routines, output
details if you hit either point, or any other while(1) loops you have
in your code.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>