Not sure if this is the right category but here it goes:
I was working on a way to automatically program ESP32 based boards for production, decided to create something similar for RP series microcontrollers. I published the code and wrote a blog post on it. Maybe it’ll be useful for BPv5/BPv6 production as well.
I think something similar can be used for testing as well: After flashing the firmware, BP will have a new PID, so you detect that and run the self-test command.