Results 1 to 15 of 37

Thread: Project: 'ECU'

Hybrid View

  1. #1
    apriliaforum expert clsmooth's Avatar
    Join Date
    Aug 2007
    Location
    Vancouver, BC
    Posts
    1,013

    Project: 'ECU'

    This is the other project I'd like to do to the bike; the part finally showed up today! Here again, with my experiment reasons...

    Theory: There's no point in doing other mods if you can't control/adjust the fuel and/or ignition.

    Reason: Cause it needs to be hacked, damn it!

    I found a spare ECU for 30 GBP shipped, from a guy in the UK who was parting out an SR50 via eBay.



    I've read the other posts on other people's plans on hacking the ECU. I've also shown this and the Aprilia Gameboy cartridge to my friend J, the smartest man I know. We tune fuel injected cars all the time, so this can't be that much more difficult. My own car as well is running on a Link+ stand alone engine management that we've tuned.

    http://www.linkecu.com

    I downloaded the service manual and showed him the wiring schematic for the DiTech, that due to the amount of sensors (or lack thereof) we agreed that the SR50 is considered "Just barely fuel injected"

    So I showed J the Aprilia Gameboy cartridge...

    Me: So this is what's used to connect to the ECU *pointing to the screen*
    J: What the hell is that?
    Me: For whatever reason, you need a Gameboy for it.
    J: So... what exactly does it do?
    Me: It can scan error codes and clear them... and load pre-done factory maps if you have a Gameboy you can connect USB.
    J: So... it's a scantool ... ?
    Me: Yes...
    J: ...and how much is it?
    Me: 230 Euro...
    J: Well... fuck that shit.

    So our motto now is, 'Fuck the Gameboy!' We're gonna do this Honda style. If it's 'barely' fuel injected, it should be a very simple design, with average to low-end computer components in the ECU.

    By Honda style, we're going to de-saulder the main chip and saulder in a socket in its place. Our chip burner not only burns data onto chips but also reads data off of it. We're gonna make several copies of whatever maps' on there, and I also have the newer versions downloaded to, and see if we can make anything from the data.

    Now... the hard part, where to find software that turns a fuel and ignition map into a .DCB file... hmmm...

    Oh, and here's a side of the ECU no one shows. There's a rubbery cover siliconed (or something) to the casing to keep debris out. I predict it will not be fun, nor clean, taking that off.
    Last edited by clsmooth; 04-09-2008 at 12:20 AM.
    '07 Aprilia Black SR50F "Sammie" R.I.P.
    Outside: De-badged | Foot spoilers | Blue calipers | Flap-less | Blacked-out signals | "Real" Sport windshield | Blue spring | Innova camo tires | Dual Crystal White headlights | Blue LED city lights | Gold-less front fork | Aprilia Racing blue bar ends | LED tail light bulb | V-less grill
    Inside: Chevron 94 | Maxima ScooterPRO 2T| De-restricted 2.8.0 ECU | De-restricted variator | NGK CR7EIX | Leo Vince 6.8g | Malossi Fly clutch | Malossi white spring w/slider | ceramic coated Leo Vince ZX/S | Malossi X Special belt | Ferrodo brake pads | Dynabeads | Fiamm 132dB horn | K&N filter

  2. #2
    apriliaforum expert THE MAX's Avatar
    Join Date
    Sep 2005
    Location
    Netherlands
    Posts
    3,040
    Quote Originally Posted by clsmooth View Post

    Theory: There's no point in doing other mods if you can't control/adjust the fuel and/or ignition.
    Thats no theorie but a fact .......but as long that aint happend we are stucked with the mod's

    Quote Originally Posted by clsmooth View Post
    .

    Oh, and here's a side of the ECU no one shows. There's a rubbery cover siliconed (or something) to the casing to keep debris out. I predict it will not be fun, nor clean, taking that off.
    Did you actually read the 'techrat topic' ??
    Attached Images Attached Images   
    Last edited by THE MAX; 04-09-2008 at 01:52 AM.

  3. #3
    apriliaforum expert clsmooth's Avatar
    Join Date
    Aug 2007
    Location
    Vancouver, BC
    Posts
    1,013
    Quote Originally Posted by THE MAX View Post
    Did you actually read the 'techrat topic' ??
    I haven't actually. I'm going to attack this with a clean slate...
    But by the looks of that pic, I can tell that I'll be removing #8
    '07 Aprilia Black SR50F "Sammie" R.I.P.
    Outside: De-badged | Foot spoilers | Blue calipers | Flap-less | Blacked-out signals | "Real" Sport windshield | Blue spring | Innova camo tires | Dual Crystal White headlights | Blue LED city lights | Gold-less front fork | Aprilia Racing blue bar ends | LED tail light bulb | V-less grill
    Inside: Chevron 94 | Maxima ScooterPRO 2T| De-restricted 2.8.0 ECU | De-restricted variator | NGK CR7EIX | Leo Vince 6.8g | Malossi Fly clutch | Malossi white spring w/slider | ceramic coated Leo Vince ZX/S | Malossi X Special belt | Ferrodo brake pads | Dynabeads | Fiamm 132dB horn | K&N filter

  4. #4
    apriliaforum expert clsmooth's Avatar
    Join Date
    Aug 2007
    Location
    Vancouver, BC
    Posts
    1,013
    I was able to bring the ECU itself by to that friend of mine today. And in the spirit of staying away from the Gameboy route, we did some searching.

    Turns out the chip that we thought would be the one that holds the ROM wasn't. It's not the one refered to above, but actually the 4-side chip of doom that says Motorola on it. That chip can't be sauldered out...

    So... how to write to the chip with it still in there... well, the Gameboy does it (with 3 wires), so it is possible.

    We searched online, and found the datasheet for that chip. Although there are several variations of the chip, it's part of Motorola's 908 type design. The chip itself being MC58HC908AZ followed by a G or C. It's basically an 8-bit, 32kb chip. I joked saying that the ECU is based on cell phone technology and about as powerful as one

    After more searching, we actually came across 2 devices that can program this chip. We found this first:

    http://www.madeinchina.com/2743643/t...ogrammer.shtml

    These things connect via the LPT1 port on your computer, and found one that was a serial connection, but ended up being useless. The socketed portion of that writer is too large for the chip in the ECU. The chip must first be sauldered or socketed onto a larger piece of circuit board. The writer's socketed part for the chip is about one inch sqaure and the chip in the ECU's about one centimeter square.

    The other device, which I can't seem to find the link for at the moment was a box about the size of a VHS tape. My friend searched at his place and I'm back home now. I'll find out tomorrow or so how he found it. Some site name Vektor? Victer? Can't remember...

    On one end of the box was an output for a 3-wire connector (like the Gameboy), and on the other was a serial cable. This box also came with software and claimed that the decompilers for these chips are available off Motorola's website for download. You could also buy this box off their site for about $60 USD and they were located somewhere in California, I think.

    The software that came with it though, was very basic. So much so, it didn't do anything else but transfer information from computer to chip and back. It basically could send and write whatever data you choose to send to it, and read whatever's on it. You still need some soft of software to format your data correctly before sending it to the chip.

    I showed J the updated firmwares that you can download and their different versions. They were all 256 KB in size. Not all the data could even fit on the 32 KB chip in the ECU. The rest of the data in those firmware files must be for the Gameboy. The key would be to isolate what's on the chip itself.

    We based our theory on how Honda car's have been hacked. The first time the data was pulled off a Honda ECU, no one knew what to make of the data. Even when ran through a Hex reader (turning everything into that 1001FF801 type of data) people went through the process of trial-and-error until each part of the ROM was decifered. Thing is, that's only do-able now cause there's been 100 or so people working at it, worldwide, for that past 10 years or so. There's also quite a bit of a market for Honda's too.

    For SR50's... not so much, and 32 KB of data is still a lot of text to go through. To do this on a trail-and-error basis would take an extremely long time. Even if the data was pulled straight off the chip, we wouldn't know what anyone would be looking at. If we changed something from, say 1001FF801 to 1001FF901 not knowing what it'd do, it might start, might not idle, might not run, who knows. He had a good point too, if we changed something and then the oil injector stopped injecting...

    I brought up the question of how Molassi did it for their 70cc kit and we're pretty sure they didn't. They most likely have a deal with Aprilia to do it for them and paid them a lot of money, or have to pay them with each sale.

    Personally, within a span of 30 minutes, I lost all motivation to continue on with this project. It's probably for the best as I don't feel like doing anything to this bike that would cause it to not be on the road. My ultimate goal in the future is a comfortable, 2-seater scooter I can safely take on the highway. I'm thinkin Piaggio MP3... but until the car's paid off the SR50's an excellent, quick gas saver. I might do some basic, bolt-on mods down the road and some cosmetic stuff, but I don't think I'll be doing anything requiring cracking the engine open to warrant modding the ECU. Oh well... more time to devote to Project: 'Exhaust' instead...

    Conclusion: This method can only be accomplished by potentially risky trial-and-error, or breaking into Aprilia's manfacturing facility in Italy and acquiring their in-house created software that writes all this. Other options are a stand-alone or piggy-back engine management system... if you can find out for single cylinder 2-strokes...

    Anyone want an ECU? The rubber's already off ...
    Last edited by clsmooth; 04-14-2008 at 01:44 AM.
    '07 Aprilia Black SR50F "Sammie" R.I.P.
    Outside: De-badged | Foot spoilers | Blue calipers | Flap-less | Blacked-out signals | "Real" Sport windshield | Blue spring | Innova camo tires | Dual Crystal White headlights | Blue LED city lights | Gold-less front fork | Aprilia Racing blue bar ends | LED tail light bulb | V-less grill
    Inside: Chevron 94 | Maxima ScooterPRO 2T| De-restricted 2.8.0 ECU | De-restricted variator | NGK CR7EIX | Leo Vince 6.8g | Malossi Fly clutch | Malossi white spring w/slider | ceramic coated Leo Vince ZX/S | Malossi X Special belt | Ferrodo brake pads | Dynabeads | Fiamm 132dB horn | K&N filter

  5. #5
    apriliaforum expert muchacho's Avatar
    Join Date
    Oct 2005
    Posts
    4,054
    Can you get the data/programming of the ECU and pass it to me?

  6. #6
    apriliaforum expert clsmooth's Avatar
    Join Date
    Aug 2007
    Location
    Vancouver, BC
    Posts
    1,013
    Quote Originally Posted by muchacho View Post
    Can you get the data/programming of the ECU and pass it to me?
    The data off the chip?
    '07 Aprilia Black SR50F "Sammie" R.I.P.
    Outside: De-badged | Foot spoilers | Blue calipers | Flap-less | Blacked-out signals | "Real" Sport windshield | Blue spring | Innova camo tires | Dual Crystal White headlights | Blue LED city lights | Gold-less front fork | Aprilia Racing blue bar ends | LED tail light bulb | V-less grill
    Inside: Chevron 94 | Maxima ScooterPRO 2T| De-restricted 2.8.0 ECU | De-restricted variator | NGK CR7EIX | Leo Vince 6.8g | Malossi Fly clutch | Malossi white spring w/slider | ceramic coated Leo Vince ZX/S | Malossi X Special belt | Ferrodo brake pads | Dynabeads | Fiamm 132dB horn | K&N filter

  7. #7
    Aprilia Forum Moderator High-Gain SR50's Avatar
    Join Date
    Jun 2008
    Location
    Parker Colorado
    Posts
    11,859
    The CDI race ECU's are up and running but still working out some bugs on the 24-1 ECU.
    2007 SR50 R Factory Ditech Diablo Black & HGT Orange







    26mm BING Throttle Body / Airsal T6 Racing 70cc BBK = 64.9cc displacement / Malossi ECU / Malossi HPC Full Circle Crankshaft / Malossi Multivar 2000 / Malossi Special belt / 4.0gr Dr. Pulley / Malossi White Contra Spring / Malossi Delta Race Clutch / Malossi MHR VL14 Reed Block / Engine Block Matched Ported and Polished

  8. #8
    apriliaforum prov-nov Lawless's Avatar
    Join Date
    Jul 2011
    Location
    Tempe, AZ
    Posts
    37
    Can anyone tell me what MCU is in a 2002 ECU?

  9. #9
    apriliaforum newb
    Join Date
    Apr 2012
    Location
    Atlanta Suburbs
    Posts
    19
    An interesting thread.
    First, I should introduce myself. I work for a competitor of the semiconductor company Freescale, the new name of Motorola Semiconductors.

    I don't have an ECU, but I'm sure if the '908 is where the ROM data is stored, and they've not encrypted or 'protected' the device, finding out how the program works is not as difficult as looking at all the ones and zeros and making random changes.

    http://www.freescale.com/webapp/sps/...-MCU10&tid=CWH Download this. In Post #4, it was mentioned that the part was a MC58HC908AZ C or G. So CLOSE!! It's a MC68HC908AZ32. http://www.freescale.com/webapp/sps/...01624684497663
    I'm SURE the profile is held in EEPROM, of which this chip has only 1K.

    With the two links I've provided, if you were able to read the chip, you would not need to figure out what the machine code is. CodeWarrior would 'disassemble' the machine code into assembler. It wouldn't be easy to read, because any variables would be referenced by their location, not their names, but it would be possible to figure out what exactly the program is doing and when it uses data from any tables (in EEPROM).
    Rather than unsoldering the chip, an easier way would be to read the datasheet, find the MC68HC908 Programming Specification document, determine which pins are used to serially program (and read) the chip, then get your data. Then use an ohmmeter to determine which of the leads out connect DIRECTLY to those pins, and connect your serial programmer to those leads. Presto! You've got access to the inside of the chip. But, Memory Protect is as simple as flipping a 'configuration bit' while in development, so I would bet big money that you won't be able to read the program. You may be able to read (and change) EEPROM contents. I'd direct energy there.

    Every semiconductor company uses a slightly different means of programming their chips. I used to know exactly how Freescale/Motorola did it, but I've long since moved on to other ventures.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •