So I need some help here. This is my 5th year of working with electronics and 2nd with Arduino stuff. So I am still fairly new to Arduino IDE.
I have a Traxxas transmitter (RC car remote), I am using the internal wireless parts to make a wireless TIG Welder pedal. Now I had everything set up, it work pretty darn well. The dumb mistake I made wile mounting the PCB board is accidentally frying the (ST) micro processor IC in the transmitter. Now I can get a new IC, of course it wont have the initial program on it, rendering a new IC useless.
On the bottom of these remotes, inside the battery compartment is an 8 pin (4x4) male connection. It looks just like an ISP connector but with 2 more pins. Now is this a programing plug? A friend of mine has the same remote, I was wondering if I could use Arduino IDE and pull the program off my friends remote? If not Is there a safe way too? I dont want to ruin his remote as well and then be 2 100$ remotes in the hole.
The micro processor IC Is: STM8S105K6T6 Mouser.com has one under STM8S105C6T6 that I think is close enough to work.
Just to simplify my objective here. I want to copy a program off an existing Micro processor, then upload that exact code to another. I dont care at all to convert it to C. Can someone please help I just spent 5 days making this and now I just screwed myself.
I am reading everywhere that you can pull the code off any micro processor. As long as the Security Fuse isnt set. Although the information you obtain is in machine or .HEX code. That I don't care about. I'm reading you use AVRDUDE. I have installed WINAVR but I dont know the first thing on how to work it let alone pull a program off something.
Different micro controllers use different machine code instruction sets. Any one who writes you can just pull code off any controller and put it into an other is an idiot.
Even if the instruction set is the same then the architecture is not. I think you have misunderstood what you have read.
I think that ebay thing will work. I do know what all the pins on the IC and Plug are. One thing I came across wile reading the datasheet on that STM8S105K I came across this.
Read-out protection (ROP)
The read-out protection blocks reading and writing the Flash program memory and data
EEPROM memory in ICP mode (and debug mode). Once the read-out protection is
activated, any attempt to toggle its status triggers a global erase of the program and data
memory. Even if no protection can be considered as totally unbreakable, the feature
provides a very high level of protection for a general purpose microcontroller.
So that answers my question. If they enabled this "ROP",then I'll end up buying my friend a new controller as well.. UGH I hope the manufacture can just send me a new PCB.