Posted on October 25, 2014 at 22:32Hi,I tried and failed, now I'm asking here If someone please could provide. I use STM32F030. I want to use SWD pins (SWDIO and SWCLK) as I/O pins. But SWDIO always logic 1, SWCLK 0.My code: RCC->AHB1ENR |= 0x000...
Posted on October 26, 2014 at 21:14thanks Clive1 for answer.Found the problem.first must GPIO->MODER register reset.True code: GPIOA->MODER &= 0xC3FFFFFF; //A13(SWDIO) ve A14(SWCLK) reset GPIOA->MODER |= 0x14000000; //A13 ve A14 output GP...