Page 1 of 1
ARM
Posted: 28 Sep 2019, 14:24
by Gwe89
Is there any way to read the flash from an ARM STM32F105 and write it back
Re: ARM
Posted: 30 Sep 2019, 10:52
by Go4IT
Based on what the chip give you access to
Usually, every MCU with own Flash is ment to be erased and programmed only. This is because normally there is no need to read back it's contents, as a developer can always reprogram it.
Most Chipvendors (STM also) have debug-adapters and software to do all those stuff.
And also every MCU has so called "fuses" which may prevent a readback by protocol, even if it exist.
So if the chip is read-protected, there is no way of getting the content in an usual way (even JTAG). You need some security holes to do so. Maybe in hardware maybe in the running program. One could be that you are able to store an own program in the MCUs SRAM which then reads the Flash contents and send it byte by byte out to some common interface (USB, serial, JTAG, an IO-Port, whatever).
To answer you question as short as you wrote it: "NO, there is no easy way to do".
Re: ARM
Posted: 05 Oct 2019, 08:41
by DGAlexandru
Gwe89 wrote: ↑28 Sep 2019, 14:24
Is there any way to read the flash from an ARM STM32F105 and write it back
I've broken 2 UC DS clones tring to read their firmware
What I have started doing is developing my own code to have that STM behave like an UC DS - well at least be recognised by Windows drivers as one.
Next step is making them comunicate with the clone version of software. I can get data to them, but didn't manage to send something back.
If I'm following examples of STM to make it work as a USB to COM adapter it works.
I'm trying to makke UC DS think that I have something real and use its firmware update procedure to get the needed code
Re: ARM
Posted: 07 Oct 2019, 11:24
by Stevebe
That would be super helpful I have broken one trying,