Skip to main content
MJama.9
Associate
August 30, 2019
Question

Read .hex file from STM32F072C8T6 then copy to new one

  • August 30, 2019
  • 5 replies
  • 3244 views

Hi

I want to read hex file of a STM32F072C8T6 which is installed in a PCB, the board has micro USB port I could connect it and the driver came to device manager it updated with internet automatically, but I need a software to read the hex file then write on new one.

please someone help!!

thanks

This topic has been closed for replies.

5 replies

Chris1
Associate II
August 30, 2019

Well, one possibility is "STM32CubeProgrammer (STM32CubeProg) is an all-in-one multi-OS software tool for programming STM32 products."

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

Tesla DeLorean
Guru
August 30, 2019

Yes, if the part has an accessible BOOT pin and ROM firmware supporting USB/DFU mode, you should be able to read/write via STM32 Cube Programmer

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
MJama.9
MJama.9Author
Associate
August 31, 2019

Thanks

Yes, I got a result but it shows

Warning: Device is under Read Out Protection

what is solution please?

Tesla DeLorean
Guru
August 31, 2019

>>what is solution please?

Pay the developer for the firmware? The device is copy protected, and presumably not yours.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
MJama.9
MJama.9Author
Associate
August 31, 2019

the board is damaged because of damaged MCU I need only change the MCU so I need the program hex file, is there anyway to unlock the protection???

Piranha
Principal III
August 31, 2019

No!

Piranha
Principal III
August 31, 2019

Ask the device developer for a pre-programmed replacement chip or module.

MJama.9
MJama.9Author
Associate
September 8, 2019

Noted thanks