/*
 * startup.h
 *
 *  Created on: Nov 15, 2016
 *      Author: RoyerAriel
 */

#ifndef STARTUP_C_
#define STARTUP_C_
#include "Timer.h"

void startup()
{
  //Start Systick Timer at 1ms
  Systick_Startup();
  AFIO->MAPR |= AFIO_MAPR_SWJ_CFG_JTAGDISABLE; //0x‭2000000‬disable jtag 

}

#endif /* STARTUP_C_ */

/*
 * startup.h
 *
 *  Created on: Nov 15, 2016
 *      Author: RoyerAriel
 */

#ifndef STARTUP_C_
#define STARTUP_C_
#include "Timer.h"

void startup()
{
  //Start Systick Timer at 1ms
  Systick_Startup();
  AFIO->MAPR |= AFIO_MAPR_SWJ_CFG_JTAGDISABLE; //0x‭2000000‬

}

#endif /* STARTUP_C_ */

--- 
+++ 
@@ -13,7 +13,7 @@
 {
   //Start Systick Timer at 1ms
   Systick_Startup();
-  AFIO->MAPR |= AFIO_MAPR_SWJ_CFG_JTAGDISABLE; //0x‭2000000‬
+  AFIO->MAPR |= AFIO_MAPR_SWJ_CFG_JTAGDISABLE; //0x‭2000000‬disable jtag 
 
 }
 
Disable Jtag came enable by default 

Disable Jtag came enable by default and use GPIOB P04,P03 and P05