两种 一.JTAG调试(5针), 二.SWD调试(2针), 在JTAG/SWD模式设置库函数 (在文件stm32f10x_gpio.c中): void GPIO_PinRemapConfig(uint32_t GPIO_Remap, FunctionalState NewState) setup设置 1.Debug: use j-link cortex. run to main 2.Utilities: use Debug Driver Update Target before Debuggin…