Page 3 of 40 FirstFirst 1234513 ... LastLast
Results 31 to 45 of 591

Thread: Decompile .DCB Files

  1. #31
    apriliaforum expert
    Join Date
    Aug 2006
    Location
    Edmonton, Alberta, Canada
    Posts
    1,314
    Quote Originally Posted by williamr
    So if I understand what you're saying the .dcb is essentially an uncompressed archive containing application code as well as data, but not OS code. They also contain the application code for the gameboy?

    Compiled code will be expressible as hex which can be translated directly into assembler once you've managed to remove text and data segments, (and the gameboy code?) but you need to know which cpu is being used so that you know which assembler it is. There may well be no separation between OS and application in the ecu code, in which case all low level instructions for interrupt handling and direct memory control might be present.

    I still have suspicion that when you've sorted it all you'll find that all that actually goes to the ecu from the dcb file is maps and parameters, but maybe not.

    Have fun.

    Rob

    Yes, everything you see on the game boy (menus and messages in 5 languages, graphics, diag software, maps everything) is in that .DCB file, I still think the entire ecu gets flashed by the gameboy, but I can't prove that yet, and can't disassemble it until the processor and memory map of the ECU is known. The hardware of the game boy is well known so I am disassembling the gameboy program now, (it uses a variation of the Z80 processor) but the game boy works with 16KB of rom at a time you get to choose which 16KB out of the rom (in this case 16 banks of 16KB each = 256KB or 2Mb) that you are working with, the .DCB should run in a gameboy emulator, but the bank switch method used in the code is not one of the 5 standard nintendo MBC chips, so the emulator and debugger crashes at the first bank switch.

    The ECU data bus uses the standard KWP2000 protocol which is one of the OBD-II protocols so there is info about that on the net from people developing inexpensive scan tools for cars, but I don't know how they interfaced that to the gameboy, I am going to try to borrow a cartridge if I can, to have a look at it.
    2006 SR50 Factory (morini) Aprilia Black
    ECU V2.82 Derestricted 6.8g rollers
    Bought at 1400km after bearing failure on other bike
    Michelin Pilot Sport SC Tires
    Interstate IB9-B Battery
    Currently over 6800 KM


    2006 SR50 Factory (morini) Orange - Wearing Spiderman 2 Costume
    ECU V2.82 Derestricted, 7.2g rollers, ZMR7AP plug
    One HID Headlight (low beam), Clear LED tail light
    Michelin Pilot Sport SC Tires w/Dynabeeds
    Electric trunk release - way cool!!
    Interstate IB9-B Battery
    ACDelco / Schrader TPMS Sensors (Project In Progress)
    AMSOIL HP Injector oil
    All else is stock - over 32,500 KM
    LEFT MAIN BEARING FAILURE AT 33,000km
    Repairs and upgrades including HEL brake lines in progress

  2. #32
    apriliaforum prov-nov sprdave's Avatar
    Join Date
    Oct 2006
    Location
    Roseville CA
    Posts
    60
    Tell dude on Ebay what you're going to do with the chip. If he's interested he might take it off auction and give it to you, like he should.

  3. #33
    apriliaforum expert THE MAX's Avatar
    Join Date
    Sep 2005
    Location
    Netherlands
    Posts
    3,040
    @ techrat1

    -The ECU you want .....most be working ?

    I can ask around here .....if you want

  4. #34
    apriliaforum expert
    Join Date
    Aug 2006
    Location
    Edmonton, Alberta, Canada
    Posts
    1,314
    Quote Originally Posted by THE MAX
    @ techrat1

    -The ECU you want .....most be working ?

    I can ask around here .....if you want
    It does not have to be working 100% and it can be ANY version, restricted or not. I am effectivly going to destroy it, I need to get at the PCB, that means removing all the glue and housing... Hopefully after doing so the ECU will still work (at least mostly), I don't think one that is totaly fried would be too helpfull, but I would take it if offered, a unit with minor issues, or a partly functional unit would work fine.
    2006 SR50 Factory (morini) Aprilia Black
    ECU V2.82 Derestricted 6.8g rollers
    Bought at 1400km after bearing failure on other bike
    Michelin Pilot Sport SC Tires
    Interstate IB9-B Battery
    Currently over 6800 KM


    2006 SR50 Factory (morini) Orange - Wearing Spiderman 2 Costume
    ECU V2.82 Derestricted, 7.2g rollers, ZMR7AP plug
    One HID Headlight (low beam), Clear LED tail light
    Michelin Pilot Sport SC Tires w/Dynabeeds
    Electric trunk release - way cool!!
    Interstate IB9-B Battery
    ACDelco / Schrader TPMS Sensors (Project In Progress)
    AMSOIL HP Injector oil
    All else is stock - over 32,500 KM
    LEFT MAIN BEARING FAILURE AT 33,000km
    Repairs and upgrades including HEL brake lines in progress

  5. #35
    apriliaforum expert THE MAX's Avatar
    Join Date
    Sep 2005
    Location
    Netherlands
    Posts
    3,040
    Quote Originally Posted by techrat1
    It does not have to be working 100% and it can be ANY version, restricted or not. I am effectivly going to destroy it, I need to get at the PCB, that means removing all the glue and housing... Hopefully after doing so the ECU will still work (at least mostly), I don't think one that is totaly fried would be too helpfull, but I would take it if offered, a unit with minor issues, or a partly functional unit would work fine.
    I'am asking around for you !

    -If I can lay my hands on a broken one I will send it to you for free
    Last edited by THE MAX; 10-22-2006 at 01:59 AM.

  6. #36
    apriliaforum prov-nov sprdave's Avatar
    Join Date
    Oct 2006
    Location
    Roseville CA
    Posts
    60
    What about Ebay guy? Did you tell him what you're gonna do with the chip?

  7. #37
    apriliaforum expert
    Join Date
    Aug 2006
    Location
    Edmonton, Alberta, Canada
    Posts
    1,314
    Quote Originally Posted by sprdave
    What about Ebay guy? Did you tell him what you're gonna do with the chip?
    The guy on ebay is a wrecker parting out several bikes, I don't think he would care what is being done with it, as long as he gets paid. (so, no I did not ask)

    It ends in a few days, see how it goes.
    2006 SR50 Factory (morini) Aprilia Black
    ECU V2.82 Derestricted 6.8g rollers
    Bought at 1400km after bearing failure on other bike
    Michelin Pilot Sport SC Tires
    Interstate IB9-B Battery
    Currently over 6800 KM


    2006 SR50 Factory (morini) Orange - Wearing Spiderman 2 Costume
    ECU V2.82 Derestricted, 7.2g rollers, ZMR7AP plug
    One HID Headlight (low beam), Clear LED tail light
    Michelin Pilot Sport SC Tires w/Dynabeeds
    Electric trunk release - way cool!!
    Interstate IB9-B Battery
    ACDelco / Schrader TPMS Sensors (Project In Progress)
    AMSOIL HP Injector oil
    All else is stock - over 32,500 KM
    LEFT MAIN BEARING FAILURE AT 33,000km
    Repairs and upgrades including HEL brake lines in progress

  8. #38
    apriliaforum expert
    Join Date
    Aug 2006
    Location
    Edmonton, Alberta, Canada
    Posts
    1,314
    Well, I bought an ECU on ebay, (and a spare throttle body)...
    But I had to pay alot more for it than I wanted to...

    Does anyone on here live in Germany? There have been 3-4 ECU's sold on ebay in Germany, but they all refuse to ship outside of Germany and because of that they sell for $10-$20 each.

    I bought one that is in Aberdare, UK... All the ones that will ship to Canada or USA are selling for $100-$125.

    I would like to buy another one, but not at the price I paid for the first one, and I also want to buy one of the LCD digital dashes from a new Factory (for the same reason). I have seen even on this forum a report of at least one factory being totaled so they must be at a breaker yard somewhere? There are other Factory parts on ebay, but no digi dash...
    Last edited by techrat1; 11-05-2006 at 04:05 AM.
    2006 SR50 Factory (morini) Aprilia Black
    ECU V2.82 Derestricted 6.8g rollers
    Bought at 1400km after bearing failure on other bike
    Michelin Pilot Sport SC Tires
    Interstate IB9-B Battery
    Currently over 6800 KM


    2006 SR50 Factory (morini) Orange - Wearing Spiderman 2 Costume
    ECU V2.82 Derestricted, 7.2g rollers, ZMR7AP plug
    One HID Headlight (low beam), Clear LED tail light
    Michelin Pilot Sport SC Tires w/Dynabeeds
    Electric trunk release - way cool!!
    Interstate IB9-B Battery
    ACDelco / Schrader TPMS Sensors (Project In Progress)
    AMSOIL HP Injector oil
    All else is stock - over 32,500 KM
    LEFT MAIN BEARING FAILURE AT 33,000km
    Repairs and upgrades including HEL brake lines in progress

  9. #39
    apriliaforum Junkie
    Join Date
    Mar 2005
    Location
    Denmark
    Posts
    445
    Quote Originally Posted by techrat1
    Well, I bought an ECU on ebay, (and a spare throttle body)...
    But I had to pay alot more for it than I wanted to...

    Does anyone on here live in Germany? There have been 3-4 ECU's sold on ebay in Germany, but they all refuse to ship outside of Germany and because of that they sell for $10-$20 each.

    I bought one that is in Aberdare, UK... All the ones that will ship to Canada or USA are selling for $100-$125.

    I would like to buy another one, but not at the price I paid for the first one, and I also want to buy one of the LCD digital dashes from a new Factory (for the same reason). I have seen even on this forum a report of at least one factory being totaled so they must be at a breaker yard somewhere? There are other Factory parts on ebay, but no digi dash...
    there is a aftermaket digital dashbord for us poor guys
    that only have the analog type

    KOSO makes a didital dash bord for aprilia SR

  10. #40
    apriliaforum expert
    Join Date
    Aug 2006
    Location
    Edmonton, Alberta, Canada
    Posts
    1,314
    Quote Originally Posted by Speedway
    there is a aftermaket digital dashbord for us poor guys
    that only have the analog type

    KOSO makes a didital dash bord for aprilia SR
    My bike already has the new LCD dash, I was figuring that it could also be re-flashed with new software, and since the lcd is graphic, you could turn it into anything you like... changing size, location and style of gauges... but like the ECU I need one to take apart first...
    2006 SR50 Factory (morini) Aprilia Black
    ECU V2.82 Derestricted 6.8g rollers
    Bought at 1400km after bearing failure on other bike
    Michelin Pilot Sport SC Tires
    Interstate IB9-B Battery
    Currently over 6800 KM


    2006 SR50 Factory (morini) Orange - Wearing Spiderman 2 Costume
    ECU V2.82 Derestricted, 7.2g rollers, ZMR7AP plug
    One HID Headlight (low beam), Clear LED tail light
    Michelin Pilot Sport SC Tires w/Dynabeeds
    Electric trunk release - way cool!!
    Interstate IB9-B Battery
    ACDelco / Schrader TPMS Sensors (Project In Progress)
    AMSOIL HP Injector oil
    All else is stock - over 32,500 KM
    LEFT MAIN BEARING FAILURE AT 33,000km
    Repairs and upgrades including HEL brake lines in progress

  11. #41
    apriliaforum expert
    Join Date
    Aug 2006
    Location
    Edmonton, Alberta, Canada
    Posts
    1,314
    Hmm.. no activity in this thread for a while....

    I have some good news and some bad news, some answers and some questions...

    First the ECU I bought on ebay arrived, I believe it is from a 2002, It is sealed with grey silicone conformal coating...
    Good news is that is one of the easiest and safest conformal coatings to remove without damaging what is under it, so I now have an ECU that is naked...

    Bad news is I can't find my memory card reader to post the pictures...

    Some more good news and answers:
    -The ECU is not hard to understand (PCB looks like only 2 layers)
    -All the parts have standard part numbers on them (no house numbered parts)
    -The processor is a motorola microcontroller
    -The operating software and RAM are contained within the microcontroller
    -There is an EEPROM on the PCB, and one in the processor
    -The code space of the microcontroller is FLASH
    -The microcontroller has TONS of features built in, but I don't know if any of them are wired up to anything...
    -The crystal is 8MHz, but motorola micros divide by 4 to get bus speed, so the processor actually runs at 2MHz core speed

    Here are some specs or the ECU:
    -Program memory: FLASH 60KB (that is alot more than I expected)
    -RAM: 2KB
    -EEPROM: 1KB on processor, 2KB on PCB (3KB total)
    -Processor core: Motorola 68HC08
    -Processor speed: 2MHz

    More info, answers and questions to come... Is anyone still interested?
    2006 SR50 Factory (morini) Aprilia Black
    ECU V2.82 Derestricted 6.8g rollers
    Bought at 1400km after bearing failure on other bike
    Michelin Pilot Sport SC Tires
    Interstate IB9-B Battery
    Currently over 6800 KM


    2006 SR50 Factory (morini) Orange - Wearing Spiderman 2 Costume
    ECU V2.82 Derestricted, 7.2g rollers, ZMR7AP plug
    One HID Headlight (low beam), Clear LED tail light
    Michelin Pilot Sport SC Tires w/Dynabeeds
    Electric trunk release - way cool!!
    Interstate IB9-B Battery
    ACDelco / Schrader TPMS Sensors (Project In Progress)
    AMSOIL HP Injector oil
    All else is stock - over 32,500 KM
    LEFT MAIN BEARING FAILURE AT 33,000km
    Repairs and upgrades including HEL brake lines in progress

  12. #42
    apriliaforum expert muchacho's Avatar
    Join Date
    Oct 2005
    Posts
    4,054
    I am wodering if the functions that aprilia uses to determine air/fuel mix are linear or conditional/variable.

    If they are conditional, can what are the variables that the ECU uses to determine the mix, and can additional parameters be added.

    I have a friend who takes physics and he is interested in taking electronic gadgets apart. If you need some help, I can put you in contact with him.

  13. #43
    apriliaforum expert
    Join Date
    Aug 2006
    Location
    Edmonton, Alberta, Canada
    Posts
    1,314
    Well I found my memory card reader...
    So here is a picture...

    Name:  ecu.jpg
Views: 1872
Size:  101.6 KB

    Is anyone interested in more hardware details? or would it be waste of time to post it?
    2006 SR50 Factory (morini) Aprilia Black
    ECU V2.82 Derestricted 6.8g rollers
    Bought at 1400km after bearing failure on other bike
    Michelin Pilot Sport SC Tires
    Interstate IB9-B Battery
    Currently over 6800 KM


    2006 SR50 Factory (morini) Orange - Wearing Spiderman 2 Costume
    ECU V2.82 Derestricted, 7.2g rollers, ZMR7AP plug
    One HID Headlight (low beam), Clear LED tail light
    Michelin Pilot Sport SC Tires w/Dynabeeds
    Electric trunk release - way cool!!
    Interstate IB9-B Battery
    ACDelco / Schrader TPMS Sensors (Project In Progress)
    AMSOIL HP Injector oil
    All else is stock - over 32,500 KM
    LEFT MAIN BEARING FAILURE AT 33,000km
    Repairs and upgrades including HEL brake lines in progress

  14. #44
    apriliaforum expert muchacho's Avatar
    Join Date
    Oct 2005
    Posts
    4,054
    post it! post it!

  15. #45
    apriliaforum expert
    Join Date
    Aug 2006
    Location
    Edmonton, Alberta, Canada
    Posts
    1,314
    Here is a little more info...

    ECU pin-out
    1 Ground (high current)
    2 Oil pump - 1.5Amp negative solenoid driver
    3 Fuel injector - 12Amp negative high current output
    4 unused - this is a 0.75Amp negative solenoid/relay driver
    5 unused - this is a 0.75Amp negative solenoid/relay driver
    6 unused - internally connected but I can't tell to what yet
    7 TPS sensor 1 (0-5V) analog input
    8 Baro pressure sensor (0-5V) analog input (optional)
    9 Coolant temp sensor (Voltage divider) analog input
    10 TPS sensor 2 (0-5V) analog input
    11 unused - this is an input - type not yet known
    12 Ignition coil - 10Amp negative high current driver
    13 Air injector - 12Amp negative high current output
    14 Fuel pump - so far unknown Amp negative solenoid driver
    15 +12V power from EFI relay (ECU high current power in)
    16 sensor ground (low current)
    17 +12v input from engine stop switch (ECU low current power in)
    18 +5v Sensor power/ref output
    19 Permanent magnet generator pickup (crank sensor) AC input
    20 Permanent magnet generator pickup (crank sensor) AC input
    21 K-line Data Bus
    22 unused - this is an input - type not yet known

    As you can see here, the 5 extra pins (6 if you count the baro sensor) that are not connected on the SR50 some are medium current drivers and some are inputs, they are not used, but they are internally connected, so custom software could make then do what ever you want...
    2006 SR50 Factory (morini) Aprilia Black
    ECU V2.82 Derestricted 6.8g rollers
    Bought at 1400km after bearing failure on other bike
    Michelin Pilot Sport SC Tires
    Interstate IB9-B Battery
    Currently over 6800 KM


    2006 SR50 Factory (morini) Orange - Wearing Spiderman 2 Costume
    ECU V2.82 Derestricted, 7.2g rollers, ZMR7AP plug
    One HID Headlight (low beam), Clear LED tail light
    Michelin Pilot Sport SC Tires w/Dynabeeds
    Electric trunk release - way cool!!
    Interstate IB9-B Battery
    ACDelco / Schrader TPMS Sensors (Project In Progress)
    AMSOIL HP Injector oil
    All else is stock - over 32,500 KM
    LEFT MAIN BEARING FAILURE AT 33,000km
    Repairs and upgrades including HEL brake lines in progress

Page 3 of 40 FirstFirst 1234513 ... LastLast

Posting Permissions

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