Skip to main content
ÖÇoba.1
Associate
November 11, 2020
Question

Stm32 code reading

  • November 11, 2020
  • 4 replies
  • 1795 views

I have a Stm32 which was coded by my friend. I want to reach this code and I want to change some thing. How can I do it.(note: code doesnt have reading protection)

This topic has been closed for replies.

4 replies

Peter BENSCH
Technical Moderator
November 11, 2020

This will depend on your time you want to spent and other resources, as changing a binary or even decompiling a binary file into a readable form is an extremely demanding task.

Good luck!

/Peter

ÖÇoba.1
ÖÇoba.1Author
Associate
November 11, 2020

İt is easy for pic programing or others . Are you pozitive that there is not any way to read stm code .

Tesla DeLorean
Guru
November 11, 2020

Read it how?

The STM32 Cube Programmer can easily dump the code to a .BIN or .HEX

What you do after that is up to you.

You can disassemble and patch it as you would most any other MCU code.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
ÖÇoba.1
ÖÇoba.1Author
Associate
November 11, 2020

Thank you for helping. By the way is there any example or source to take the Hex code with Cube programmer ?

TDK
Super User
November 11, 2020

> I have a Stm32 which was coded by my friend. I want to reach this code and I want to change some thing. How can I do it.

The simplest solution is to ask your friend for the source code and change it there.

"If you feel a post has answered your question, please click ""Accept as Solution""."