AnsweredAssumed Answered

What peripherals can we control with SWD?

Question asked by Patrick Morwald on Mar 29, 2018
Latest reply on Mar 29, 2018 by Clive One



for debugging our systems in production where the firmware is not yet flashed on the chip, we want to control attached peripheral devices only with SWD. 


So far we can switch GPIOs successfully with SWD. This gives us the ability to control ON/OFF type peripheral devices via SWD. 


Now we want to control PWM (STM32 timer) and I2C devices directly via SWD. Is that even possible and if so, how is it done?


We also need a scripting system to automate such peripheral tests via SWD. What solution is there?


Best regards,