Can i set a LED output register on DISCOVERY board with SWD.
Hi,
i wondered if i can use the &sharpSWD in &sharpST-Link on the STM32F407G-DISCO1 Board to set individual IO registers during runtime?
According to
https://www.arm.com/products/processors/serial-wire-debug.php
it can be used as AMBA bus master to manipulate IO registers...So consider the simple test case: I want to switch on the red onboard LED (PD14) on the DISCOVERY board with SWD during runtime. How do i do it? What client software would you recommend?
I tried SW4STM32 but couldnt write the IO registers during runtime, no idea why it did not work.
I also used ST-LINK CLI and read memory address 0x40020C00 - 0x40020FFF (GPIO D memory area) but i only got zeros....
Am i using the SWD in the wrong way? Please help!
Patrick
#swd #stm32f4 #st-link