hi,
try add afio mapping in boardInit method
/*
* Board-specific initialization code.
*/
void boardInit(void)
{
//JTAG-DP Disabled and SW-DP Enabled
AFIO->MAPR |= AFIO_MAPR_SWJ_CFG_JTAGDISABLE;
}
Search found 2 matches
- Tue Jan 12, 2016 1:54 pm
- Forum: STM32 Support
- Topic: STM32F1 and JTAG disable
- Replies: 2
- Views: 5929
- Tue Jan 12, 2016 1:03 pm
- Forum: STM32 Support
- Topic: Chibios and emBlocks Nightmare!
- Replies: 2
- Views: 2123
Re: Chibios and emBlocks Nightmare!
here the template file:
EmBitz_ChibiOS_stm32_blink_template.zip
detailed steps:
Startup files.
-----------------------------------------
reference:
$(CHIBIOS)/os/common/ports/ARMCMx/compilers/GCC/mk/startup_stm32f1xx.mk
source files:
$(CHIBIOS)/os/common/ports/ARMCMx/compilers/GCC/crt1.c ...
EmBitz_ChibiOS_stm32_blink_template.zip
detailed steps:
Startup files.
-----------------------------------------
reference:
$(CHIBIOS)/os/common/ports/ARMCMx/compilers/GCC/mk/startup_stm32f1xx.mk
source files:
$(CHIBIOS)/os/common/ports/ARMCMx/compilers/GCC/crt1.c ...