cancel
Showing results for 
Search instead for 
Did you mean: 

Read .hex file from STM32F072C8T6 then copy to new one

MJama.9
Associate II

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

8 REPLIES 8
Chris1
Senior III

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

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 Venmo
Up vote any posts that you find helpful, it shows what's working..
MJama.9
Associate II

Thanks

Yes, I got a result but it shows

Warning: Device is under Read Out Protection

what is solution please?

>>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 Venmo
Up vote any posts that you find helpful, it shows what's working..
MJama.9
Associate II

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

No!

Piranha
Chief II

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

MJama.9
Associate II

Noted thanks