STM32WB programming time during production
Hello,
I developed an application to automate the programming of the STM32B55xx, since I have a batch of more than 10000 parts. I used the documents AN5185 and UM2237 as a basis. For this product, I am using FUS version v1.2.0 and the "stm32wb5x_BLE_Stack_full_fw.bin" stack version v1.14.0.
However, the programming time takes more than 60 seconds when it is necessary to update the FUS, program the stack and the application firmware. I implemented a verification to detect the FUS version so that there is no need to update if the version is already the desired one, but it still takes more than 45 seconds to program the stack and the application firmware. The application uses less than 100kB of flash, and I noticed that what takes the most time are the various core resets that FUS performs during its update and stack programming. Therefore, I believe that migrating from a ST-LINK V2 to a ST-LINK V3 would not help in this case.
In production, I perform two steps. The first is to program the FUS, stack and production test firmware. After the test in production, I perform a new check if the FUS and the stack are correct and then I program the firmware of the final application to perform burn-in. Given the need for both steps, you can see that it will take me a long time to program all the parts. Therefore, I have two questions:
1. How to check if the stack that is programmed is the correct one, since other BLE stacks have the same version (v1.14.0.5)? Is there a way to identify which stack is programmed (besides checking the version)? That way I could shorten the second production stage.
2. How to update FUS and program the stack faster?
Thanks in advance!