title: STM32 in app programming (IAP), custom bootloader
body: <p>I have attached all my codes in the link below; please review.</p>
  
  <p>There Two programs Program <strong>A</strong> and <strong>B</strong>;
  Prog A  is the <strong>Application Image</strong>
  Prog B suppost be <strong>bootload program</strong></p>
  
  <p>Prog A has Memory address assigned to <strong>0x08004000</strong> </p>
  
  <p>After reset, when Button is <strong>Pressed</strong> MCU goes in Prog B (at <strong>0x08000 000</strong>) and toggles LED at <strong>1s</strong> </p>
  
  <p>However when button is <strong>not pressed</strong>, MCU doesn't seems to be running program 
  Please check the debug log in attachments.
  Anything I'm missing here?</p>