2024-03-05 02:31 AM - edited 2024-03-05 03:08 AM
Hello Everyone,
I am searching for a Standalone STM32 Programmer that can store the Program file inside it and can program the devices without the help of a PC.
we don't want to give the project file to the Production Team, so please suggest to us if there is any other way where we can protect our project file (HEX or BIN) from being misused.
We recently discovered the XStreamPro-Iso, which is a Standalone Programmer that can store HEX files in its memory and perform operations such as Chip protection. However, it supports many controllers like TI, Microchip, Atmel, STM32, etc., which makes it expensive. We're looking for an economical STM32 Dedicated Standalone Flash Programmer and would appreciate any suggestions you might have.
Thank you.
2024-03-05 02:39 AM
Segger has them. I'd imagine you can find some on AliExpress.
You could make a small board with another STM32 that can implement AN3155
You don't have to provide the project source you can use a .BIN or .HEX output by the build process.
2024-03-05 02:45 AM
@Vishnu wrote:we don't want to give the project file to the Production Team
You wouldn't do that anyhow - you'd just give them the .bin or .hex file.
2024-03-05 02:46 AM
Thank You for the reply, it was really helpful.
2024-03-05 02:52 AM - edited 2024-03-05 02:52 AM
Look at the STM32CubeProgrammer:
https://www.st.com/en/development-tools/stm32cubeprog.html
It just needs the .bin or .hex file.
2024-03-05 02:55 AM
2024-03-05 02:57 AM
We usually use this particular method, but I'm worried that if someone clones the hardware and flashes the bin or Hex file into them, it could cause issues. Therefore, it would be helpful if there was a way to track the number of devices that have been flashed using the HEX file, such as a counter. This would make it easier to keep track of everything.
2024-03-05 03:06 AM
But just using a standalone programmer as you described wouldn't help that.
If you are really concerned about this, then you need to be looking at the STM32s with security features
https://www.st.com/content/st_com/en/ecosystems/stm32trust.html
2024-03-05 09:34 AM
> Therefore, it would be helpful if there was a way to track the number of devices that have been flashed using the HEX file, such as a counter.
This is one of features of the ST Secure Firmware Install technology.