I am working at test jig for low-volume production. The purpose is both flashing firmware and testing PCBA with STM32 MCU. I am considering few options for testing PCBA functionality:
- Testing on "production" firmware emulating "real-life" inputs (pressing buttons, emulating signals from analog sensors and digital interfaces etc.)
- Uploading "testing" firmware to control & readback data from MCU via external serial interface
- Controlling MCU GPIOs via SWD interface
I am strongly interesed in 3rd option. I have found guidance from Nordic semiconductor Controlling GPIO pins with SWD, but have not found anything like this from STMicro. So my question is: is it possible to do the same with STM32? Are there any appnotes or guidance from STMicro? Could you share your experience or thoughts, please.