Multiple SSP tests on a single STM32MP135 device
Factory flashing of the STM32MP135 will be part of some device testing (probably ICT) during production at an external manufacturer. So, SSP will play a part in this. Testing and flashing the device will be automated as much as possible with a custom app (GUI or CLI) running on a PC. This app will execute STM32CubeProgrammer_CLI with corresponding arguments in the background.
As I understand it, once the whole SSP process has finished, it cannot be done on the same device again. I need a way to test the automation app numerous times before giving the whole package to the manufacturer. I didn't find a clear solution to this, and I don't want to buy many STM32MP135 development boards or HSM cards for it. For the HSM part: I read in the forum that the licence file can be extracted from the smart card and then use it with the STM32CubeProgrammer but I'm not 100% sure about that.
So, my questions are:
- What is the recommended way to test flashing with SSP on a single device?
- Can a licence file extracted from the HSM be used to do multiple flashing process without the counter being decremented?
- How can I verify if the whole process was successful?
Thanks for your answers and have a nice day.
