cancel
Showing results for 
Search instead for 
Did you mean: 

Is there STM32 Standalone Programmer which can flash the code without using a PC

Vishnu
Associate II

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.

8 REPLIES 8

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. 

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Andrew Neil
Evangelist III

@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.

 

Thank You for the reply, it was really helpful. 

Andrew Neil
Evangelist III

Look at the STM32CubeProgrammer:

https://www.st.com/en/development-tools/stm32cubeprog.html

It just needs the .bin or .hex file.

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.

 

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 

 

> 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. 

https://www.st.com/resource/en/application_note/dm00355688-overview-secure-firmware-install-sfi-stmicroelectronics.pdf