Hey, we’d need to know which part this is:

Hopefully its some kind of MCU we support, then you can probably use SimpleFOC.
Often the markings can be seen in different light / at different angles, but if they’ve really be scratched off, you may be able to ID the chip using STM32CubeProgrammer (if is a STM32 MCU).
Driver is a FD6288Q and the sensor a MagnTek 681x - maybe 6816? Can’t quite see.
Visually, I would not say is the way to do it. Use your multimeter in “beep mode”. Choose a target pin of interest (let’s say the LIN1 pin of the driver) and touch it gently but firmly with one probe of the multimeter. Then touch the other probe to pins of the MCU until you hear the beep.
Once you get some practice this becomes quite easy, and if your multimeter is good (low delay until the beep) you can even “drag” the other probe around (gently!!) to quickly find the pins you’re looking for.
All this becomes considerably harder if you have to map the pins from one side of the board to the other, but its basically a physical problem of having to keep the board steady and the probe firmly in place.
First we need to identify the chip that is on there.
Once we know, then we know which type of programmer and software we need to talk to it via SWD.
At that point we can just try to flash it, but there can be several reasons why it will fail:
- custom boot loader
- memory protection / boot loader protection
- chip locked down
Some of these things can be corrected by “setting fuses”, depending on the MCU type, but if the MCU supports locking and they have locked it against changes then you might also be out of luck.
Another possible outcome is that the chip is fine to program it, but only has a low amount of flash memory. In that case, depending on MCU type and how much it has, SimpleFOC + Arduino won’t fit on it.
I look forward to hearing more, because I actually have one of these RMD motors somewhere in my collection, and it would be cool to suddenly learn I can run SimpleFOC on it 